forked from enlightenment/expedite
efl: use new API efl_file_simple_load.
This commit is contained in:
parent
a12ab95df0
commit
153818c6bc
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("bar.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("bar.png"), NULL);
|
||||
efl_gfx_image_border_set(o, 6, 6, 6, 6);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_color_set(o, 64, 64, 64, 255);
|
||||
efl_gfx_image_border_set(o, 3, 3, 3, 3);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -27,7 +27,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
a = 256 - (1 << ((rnd() % 8) + 1));
|
||||
|
|
|
@ -27,7 +27,7 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
a = rnd()&0xff;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_color_set(o, a, a, a, a);
|
||||
|
|
|
@ -30,7 +30,7 @@ static void _setup(void)
|
|||
n = rnd() % 100;
|
||||
w = 3 + ((n * (60 - 3)) / 100);
|
||||
h = 4 + ((n * (80 - 4)) / 100);
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 1);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(w, h));
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, w, h));
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i < (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i < (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, PACKAGE_DATA_DIR"/data/logo.png", NULL);
|
||||
efl_file_simple_load(o, PACKAGE_DATA_DIR"/data/logo.png", NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, PACKAGE_DATA_DIR"/data/image.png", NULL);
|
||||
efl_file_simple_load(o, PACKAGE_DATA_DIR"/data/image.png", NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i < (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i < (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -28,7 +28,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i & 0x1)
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i & 0x1)
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i & 0x1)
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i & 0x1)
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -28,7 +28,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i > (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i > (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i > (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -31,7 +31,7 @@ static void _setup(void)
|
|||
o_images[i] = o;
|
||||
if (i > (OBNUM / 2))
|
||||
{
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ static void _setup(void)
|
|||
|
||||
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
|
||||
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x, y));
|
||||
}
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 1);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 1);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 1);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_image_smooth_scale_set(o, 1);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("frame.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("frame.png"), NULL);
|
||||
efl_gfx_image_border_set(o, 8, 8, 8, 8);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
a = 256 - (1 << ((rnd() % 8) + 1));
|
||||
|
|
|
@ -27,7 +27,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
a = rnd()&0xff;
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("bar.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("bar.png"), NULL);
|
||||
efl_gfx_image_border_set(o, 6, 6, 6, 6);
|
||||
efl_gfx_image_border_center_fill_set(o, EFL_GFX_BORDER_FILL_MODE_SOLID);
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_border_set(o, 43, 48, 48, 83);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -24,14 +24,14 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[0] = o;
|
||||
efl_file_set(o, build_path("im1.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("im1.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[1] = o;
|
||||
efl_file_set(o, build_path("im2.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("im2.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -57,7 +57,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 256, 256));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(256, 256));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -57,7 +57,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 256, 256));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(256, 256));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -57,7 +57,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 256, 256));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(256, 256));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -57,7 +57,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 256, 256));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(256, 256));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -57,7 +57,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -57,7 +57,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -32,7 +32,7 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 256, 256));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(256, 256));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
@ -41,7 +41,7 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_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);
|
||||
efl_file_simple_load(o, build_path(buf), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 256, 256));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(256, 256));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -25,14 +25,14 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i + 1] = o;
|
||||
efl_file_set(o, build_path("e-logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("texture.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("texture.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, win_w * 4, win_h * 4));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w * 4, win_h * 4));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 1);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_image_smooth_scale_set(o, 0);
|
||||
|
|
|
@ -25,14 +25,14 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("image.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("image.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i + 1] = o;
|
||||
efl_file_set(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -25,14 +25,14 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i + 1] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 120) / 2, (win_h - 160) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120 / 2, 160 / 2));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120 / 2, 160 / 2));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-2.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 120) / 2, (win_h - 160) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("texture.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("texture.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 500, 444));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w * 4, win_h * 4));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -25,7 +25,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_mask = o;
|
||||
efl_file_set(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo-mask.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
|
||||
|
@ -35,7 +35,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("texture.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("texture.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 500, 444));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w * 4, win_h * 4));
|
||||
evas_object_clip_set(o, o_mask);
|
||||
|
|
|
@ -26,7 +26,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path("tp.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("tp.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 640, 480));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(640, 480));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -23,7 +23,7 @@ static void _setup(void)
|
|||
Evas_Object *o,*src;
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -27,7 +27,7 @@ static void _setup(void)
|
|||
Evas_Object *o,*src;
|
||||
|
||||
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
efl_file_set(o, build_path("logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(-400, -300));
|
||||
|
|
|
@ -56,7 +56,7 @@ static void _setup(void)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(x + 8, y));
|
||||
|
|
10
src/bin/ui.c
10
src/bin/ui.c
|
@ -363,7 +363,7 @@ _ui_menu_item_full_add(Eina_Bool test,
|
|||
|
||||
mi = malloc(sizeof(Menu_Item));
|
||||
mi->o_icon = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
efl_file_set(mi->o_icon, build_path(icon), NULL);
|
||||
efl_file_simple_load(mi->o_icon, build_path(icon), NULL);
|
||||
efl_gfx_entity_size_set(mi->o_icon, EINA_SIZE2D(32, 32));
|
||||
efl_gfx_fill_set(mi->o_icon, EINA_RECT(0, 0, 32, 32));
|
||||
mi->test = test;
|
||||
|
@ -437,7 +437,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 120) / 2, ((win_h - 160) / 2)));
|
||||
efl_file_set(o, build_path("e-logo.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("e-logo.png"), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 120, 160));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(120, 160));
|
||||
efl_gfx_stack_layer_set(o, -98);
|
||||
|
@ -454,14 +454,14 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
|
|||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(0, 0));
|
||||
efl_file_set(o, build_path("icon_sel.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("icon_sel.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(48, 48));
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 48, 48));
|
||||
o_menu_icon_sel = o;
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
efl_gfx_entity_position_set(o, EINA_POSITION2D(0, 0));
|
||||
efl_file_set(o, build_path("text_sel.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("text_sel.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(96, 32));
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, 96, 32));
|
||||
efl_gfx_image_border_set(o, 7, 7, 7, 7);
|
||||
|
@ -625,7 +625,7 @@ ui_loop(void *data EINA_UNUSED)
|
|||
|
||||
o = o_menu_icon;
|
||||
snprintf(buf, 4096, "%s%s", data_dir, mi->icon);
|
||||
efl_file_set(o, buf, NULL);
|
||||
efl_file_simple_load(o, buf, NULL);
|
||||
efl_gfx_color_set(o, a / 2, a / 2, a / 2, a / 2);
|
||||
}
|
||||
i++;
|
||||
|
|
|
@ -48,7 +48,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -48,7 +48,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -48,7 +48,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -33,7 +33,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 1]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 1]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -33,7 +33,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 1]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 1]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -48,7 +48,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -48,7 +48,7 @@ static void _setup(void)
|
|||
{
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_fill_set(o, EINA_RECT(0, 0, ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
|
|
@ -65,7 +65,7 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
|
@ -86,14 +86,14 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_icons[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE - 8, ICON_SIZE - 8));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
|
@ -86,14 +86,14 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_icons[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE - 8, ICON_SIZE - 8));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
|
@ -86,14 +86,14 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_icons[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE - 8, ICON_SIZE - 8));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
|
@ -86,14 +86,14 @@ static void _setup(void)
|
|||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_images[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path("pan.png"), NULL);
|
||||
efl_file_simple_load(o, build_path("pan.png"), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(win_w, ICON_SIZE));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
|
||||
o_icons[i] = o;
|
||||
efl_gfx_image_border_set(o, 2, 2, 2, 2);
|
||||
efl_file_set(o, build_path(icons[i % 13]), NULL);
|
||||
efl_file_simple_load(o, build_path(icons[i % 13]), NULL);
|
||||
efl_gfx_entity_size_set(o, EINA_SIZE2D(ICON_SIZE - 8, ICON_SIZE - 8));
|
||||
efl_gfx_entity_visible_set(o, EINA_TRUE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue