Automatic migration to the new eo_add syntax.

This commit is contained in:
Tom Hacohen 2016-03-09 16:31:15 +00:00
parent 088df1425e
commit 1c99584bcb
114 changed files with 169 additions and 169 deletions

View File

@ -8,7 +8,7 @@ _setup(void)
Evas_Object *o;
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas);
efl_gfx_position_set(o, 10, 40);
efl_gfx_size_set(o, win_w - 20, win_h - 50);
efl_gfx_visible_set(o, EINA_TRUE);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("bar.png"), NULL);
evas_obj_image_border_set(o, 6, 6, 6, 6);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_color_set(o, 64, 64, 64, 255);

View File

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
efl_file_set(o, build_path("logo.png"), NULL);

View File

@ -25,7 +25,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < MANYNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
n = rnd() % 100;
w = 3 + ((n * (60 - 3)) / 100);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 0);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 0);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 0);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 0);

View File

@ -24,7 +24,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{

View File

@ -24,7 +24,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{

View File

@ -24,7 +24,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{

View File

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 1);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 1);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 1);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 1);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("frame.png"), NULL);
evas_obj_image_border_set(o, 8, 8, 8, 8);

View File

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("bar.png"), NULL);
evas_obj_image_border_set(o, 6, 6, 6, 6);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -22,14 +22,14 @@ static void _setup(void)
{
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[0] = o;
efl_file_set(o, build_path("im1.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
efl_gfx_size_set(o, 720, 420);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[1] = o;
efl_file_set(o, build_path("im2.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888);

View File

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL);

View File

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL);

View File

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL);

View File

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL);

View File

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);

View File

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);

View File

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);

View File

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);

View File

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1);
efl_file_set(o, build_path(buf), NULL);

View File

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1);
efl_file_set(o, build_path(buf), NULL);

View File

@ -29,7 +29,7 @@ static void _setup(void)
{
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
efl_file_set(o, build_path(buf), NULL);
@ -38,7 +38,7 @@ static void _setup(void)
efl_image_smooth_scale_set(o, 0);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_reflec[i] = o;
snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
efl_file_set(o, build_path(buf), NULL);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < (OBNUM / 2); i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,14 +23,14 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i+= 2)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i + 1] = o;
efl_file_set(o, build_path("e-logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("texture.png"), NULL);
efl_gfx_fill_set(o, 0, 0, win_w * 4, win_h * 4);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,14 +23,14 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i+= 2)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i + 1] = o;
efl_file_set(o, build_path("e-logo-2.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,14 +23,14 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i+= 2)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("e-logo-2.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i + 1] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-2.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120 / 2, 160 / 2);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-2.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("texture.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 500, 444);

View File

@ -23,7 +23,7 @@ static void _setup(void)
int i;
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_mask = o;
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("texture.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 500, 444);

View File

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("tp.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 640, 480);

View File

@ -26,7 +26,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_LINE_CLASS, evas);
eo_add(&o, EVAS_LINE_CLASS, evas);
o_images[i] = o;
a = (rnd()&0xff) / 2;
r = ((rnd()&0xff) * a) / 255;

View File

@ -73,7 +73,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_POLYGON_CLASS, evas);
eo_add(&o, EVAS_POLYGON_CLASS, evas);
o_images[i] = o;
a = (rnd()&0xff) / 2;
r = ((rnd()&0xff) * a) / 255;

View File

@ -22,7 +22,7 @@ static void _setup(void)
int i;
Evas_Object *o,*src;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
@ -32,7 +32,7 @@ static void _setup(void)
for (i = 1; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_source_set(o, src);
efl_gfx_size_set(o, 120, 160);

View File

@ -26,7 +26,7 @@ static void _setup(void)
int i;
Evas_Object *o,*src;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
@ -35,7 +35,7 @@ static void _setup(void)
for (i = 0; i < OBNUM / 2; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_source_set(o, src, NULL);
efl_gfx_size_set(o, 120, 160);

View File

@ -27,7 +27,7 @@ static void _setup(void)
st = EVAS_TEXT_STYLE_SHADOW;
for (i = 0; st <= EVAS_TEXT_STYLE_FAR_SOFT_SHADOW; i++)
{
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[i] = o;
efl_text_properties_font_set(o, "Vera-Bold", 20);
efl_text_set(o, "This is a test string");
@ -45,7 +45,7 @@ static void _setup(void)
for ( ; i < OBNUM ; i ++)
{
s = o_texts[i % st];
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_texts[i] = o;
evas_obj_image_source_set(o, s);
/* FIXME s == NULL*/

View File

@ -30,7 +30,7 @@ static void _setup(void)
"Fiddly", "Family", "Lair", "Monkeys", "Magazine"
};
srnd();
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[0] = o;
snprintf(buf, sizeof(buf), "%s %s %s %s.",
strs[rnd() % (sizeof(strs) / sizeof(char *))],
@ -50,7 +50,7 @@ static void _setup(void)
efl_gfx_visible_set(o, EINA_TRUE);
for (i = 1 ; i < OBNUM ; i ++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_texts[i] = o;
evas_obj_image_source_set(o, o_texts[0]);
efl_gfx_size_get(o_texts[0], &w, &h);

View File

@ -26,7 +26,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
r = ((rnd()&0xff) * a) / 255;

View File

@ -29,7 +29,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
r = ((rnd()&0xff) * a) / 255;

View File

@ -26,7 +26,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;

View File

@ -29,7 +29,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;

View File

@ -26,7 +26,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = 0xff;
r = ((rnd()&0xff) * a) / 255;

View File

@ -29,7 +29,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
o_images[i] = o;
a = 0xff;
r = ((rnd()&0xff) * a) / 255;

View File

@ -54,7 +54,7 @@ static void _setup(void)
{
Evas_Coord tw, th, cent;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path(icons[i % 13]), NULL);
efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE);
@ -62,7 +62,7 @@ static void _setup(void)
efl_gfx_position_set(o, x + 8, y);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[i] = o;
efl_text_properties_font_set(o, "Vera-Bold", 10);
efl_text_set(o, icons[i % 13]);
@ -85,7 +85,7 @@ static void _setup(void)
"blur { 5, dst = a, color = '#ff0' }"
;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_snap = o;
efl_gfx_visible_set(o, EINA_TRUE);
efl_gfx_position_set(o, 50, 50);

View File

@ -25,7 +25,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[i] = o;
efl_text_properties_font_set(o, "Vera-Bold", 20);
efl_text_set(o, "This is a test string");

View File

@ -32,7 +32,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[i] = o;
efl_text_properties_font_set(o, "Vera-Bold", 20);
snprintf(buf, sizeof(buf), "%s %s %s %s.",

View File

@ -27,7 +27,7 @@ static void _setup(void)
st = EVAS_TEXT_STYLE_SHADOW;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[i] = o;
efl_text_properties_font_set(o, "Vera-Bold", 20);
efl_text_set(o, "This is a test string");

View File

@ -34,7 +34,7 @@ static void _setup(void)
st = EVAS_TEXT_STYLE_SHADOW;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[i] = o;
efl_text_properties_font_set(o, "Vera-Bold", 20);
snprintf(buf, sizeof(buf), "%s %s %s %s.",

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas);
o_text = o;
st = evas_textblock_style_new();
evas_textblock_style_set

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas);
o_text = o;
st = evas_textblock_style_new();
evas_textblock_style_set

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas);
o_text = o;
st = evas_textblock_style_new();
evas_textblock_style_set

View File

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas);
o_text = o;
st = evas_textblock_style_new();
evas_textblock_style_set

View File

@ -356,7 +356,7 @@ _ui_menu_item_full_add(Eina_Bool test,
Menu_Item *mi;
mi = malloc(sizeof(Menu_Item));
mi->o_icon = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&mi->o_icon, EVAS_IMAGE_CLASS, evas);
efl_file_set(mi->o_icon, build_path(icon), NULL);
efl_gfx_size_set(mi->o_icon, 32, 32);
efl_gfx_fill_set(mi->o_icon, 0, 0, 32, 32);
@ -385,7 +385,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
win_w = ui_w;
win_h = ui_h;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
efl_gfx_position_set(o, 0, 0);
efl_gfx_size_set(o, win_w, win_h);
efl_gfx_color_set(o, 0, 0, 0, 0);
@ -395,7 +395,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
eo_event_callback_array_add(o, ui_callbacks(), NULL);
o_bg = o;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
eo_add(&o, EVAS_RECTANGLE_CLASS, evas);
efl_gfx_position_set(o, 0, 0);
efl_gfx_size_set(o, win_w, win_h);
efl_gfx_color_set(o, 255, 255, 255, 255);
@ -403,7 +403,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
efl_gfx_visible_set(o, EINA_TRUE);
o_wallpaper = o;
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
efl_text_properties_font_set(o, "Vera-Bold", 10);
efl_text_set(o, "EXPEDITE");
efl_gfx_stack_layer_set(o, 100);
@ -416,7 +416,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
efl_gfx_visible_set(o, EINA_TRUE);
o_title = o;
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
efl_text_properties_font_set(o, "Vera", 9);
efl_text_set(o, "LEFT/RIGHT - select, ENTER - select, ESCAPE - exit.");
efl_gfx_stack_layer_set(o, 100);
@ -429,7 +429,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
efl_gfx_visible_set(o, EINA_TRUE);
o_byline = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
efl_gfx_position_set(o, (win_w - 120) / 2, ((win_h - 160) / 2));
efl_file_set(o, build_path("e-logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -439,21 +439,21 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
efl_gfx_visible_set(o, EINA_TRUE);
o_menu_logo = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
efl_gfx_position_set(o, win_w - 128, - 128);
efl_gfx_fill_set(o, 0, 0, 256, 256);
efl_gfx_size_set(o, 256, 256);
efl_gfx_visible_set(o, EINA_TRUE);
o_menu_icon = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
efl_gfx_position_set(o, 0, 0);
efl_file_set(o, build_path("icon_sel.png"), NULL);
efl_gfx_size_set(o, 48, 48);
efl_gfx_fill_set(o, 0, 0, 48, 48);
o_menu_icon_sel = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
efl_gfx_position_set(o, 0, 0);
efl_file_set(o, build_path("text_sel.png"), NULL);
efl_gfx_size_set(o, 96, 32);
@ -461,7 +461,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_image_border_set(o, 7, 7, 7, 7);
o_menu_text_sel = o;
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
efl_text_properties_font_set(o, "Vera", 10);
efl_text_set(o, "");
efl_gfx_color_set(o, 0, 0, 0, 100);

View File

@ -30,7 +30,7 @@ static void _setup(void)
Eo *vector;
double r = 35, stroke_w = 3;
vector = eo_add(EVAS_VG_CLASS, evas);
eo_add(&vector, EVAS_VG_CLASS, evas);
o_shapes[i] = vector;
efl_gfx_size_set(vector, r * 2 + stroke_w * 2, r * 2 + stroke_w * 2);
efl_gfx_position_set(vector, 0, 0);
@ -38,7 +38,7 @@ static void _setup(void)
root = evas_obj_vg_root_node_get(vector);
circle = eo_add(EFL_VG_SHAPE_CLASS, root);
eo_add(&circle, EFL_VG_SHAPE_CLASS, root);
efl_gfx_shape_append_circle(circle, r + stroke_w, r + stroke_w, r);
efl_gfx_shape_stroke_width_set(circle, stroke_w);
efl_gfx_shape_stroke_color_set(circle, 128, 0, 128, 128);

View File

@ -36,7 +36,7 @@ static void _setup(void)
Eo *vector;
double w = 70, h = 70, stroke_w = 3;
vector = eo_add(EVAS_VG_CLASS, evas);
eo_add(&vector, EVAS_VG_CLASS, evas);
o_shapes[i] = vector;
efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2);
efl_gfx_position_set(vector, 0, 0);
@ -44,13 +44,13 @@ static void _setup(void)
root = evas_obj_vg_root_node_get(vector);
gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL);
eo_add(&gradient, EFL_VG_GRADIENT_LINEAR_CLASS, NULL);
efl_gfx_gradient_stop_set(gradient, stops, 3);
efl_gfx_gradient_spread_set(gradient, EFL_GFX_GRADIENT_SPREAD_REFLECT);
efl_gfx_gradient_linear_start_set(gradient, 10, 10);
efl_gfx_gradient_linear_end_set(gradient, 50, 50);
rect = eo_add(EFL_VG_SHAPE_CLASS, root);
eo_add(&rect, EFL_VG_SHAPE_CLASS, root);
efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10);
efl_vg_shape_fill_set(rect, gradient);
efl_gfx_shape_stroke_width_set(rect, stroke_w);

View File

@ -30,7 +30,7 @@ static void _setup(void)
Eo *vector;
double w = 70, h = 70, stroke_w = 3;
vector = eo_add(EVAS_VG_CLASS, evas);
eo_add(&vector, EVAS_VG_CLASS, evas);
o_shapes[i] = vector;
efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2);
efl_gfx_position_set(vector, 0, 0);
@ -38,7 +38,7 @@ static void _setup(void)
root = evas_obj_vg_root_node_get(vector);
rect = eo_add(EFL_VG_SHAPE_CLASS, root);
eo_add(&rect, EFL_VG_SHAPE_CLASS, root);
efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10);
efl_gfx_shape_stroke_width_set(rect, stroke_w);
efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128);

View File

@ -36,7 +36,7 @@ static void _setup(void)
Eo *vector;
double w = 70, h = 70, stroke_w = 3;
vector = eo_add(EVAS_VG_CLASS, evas);
eo_add(&vector, EVAS_VG_CLASS, evas);
o_objects[i] = vector;
efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2);
efl_gfx_position_set(vector, 0, 0);
@ -44,13 +44,13 @@ static void _setup(void)
root = evas_obj_vg_root_node_get(vector);
o_gradient[i] = gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL);
o_gradient[i] = gradient = eo_add(&gradient, EFL_VG_GRADIENT_LINEAR_CLASS, NULL);
efl_gfx_gradient_stop_set(gradient, stops, 3);
efl_gfx_gradient_spread_set(gradient, EFL_GFX_GRADIENT_SPREAD_REFLECT);
efl_gfx_gradient_linear_start_set(gradient, 10, 10);
efl_gfx_gradient_linear_end_set(gradient, 50, 50);
o_shapes[i] = rect = eo_add(EFL_VG_SHAPE_CLASS, root);
o_shapes[i] = rect = eo_add(&rect, EFL_VG_SHAPE_CLASS, root);
efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10);
efl_vg_shape_fill_set(rect, gradient);
efl_gfx_shape_stroke_width_set(rect, stroke_w);

View File

@ -46,14 +46,14 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
eo_add(&o, EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path(icons[i % 13]), NULL);
efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE);
efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_TEXT_CLASS, evas);
eo_add(&o, EVAS_TEXT_CLASS, evas);
o_texts[i] = o;
efl_text_properties_font_set(o, "Vera-Bold", 10);
efl_text_set(o, icons[i % 13]);

Some files were not shown because too many files have changed in this diff Show More