Fix build after EFL_CANVAS_RECTANGLE_CLASS change

This commit is contained in:
Daniel Hirt 2016-06-08 10:02:08 +00:00
parent 74007f65bc
commit e79517e490
7 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -391,7 +391,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
win_w = ui_w; win_w = ui_w;
win_h = ui_h; win_h = ui_h;
o = eo_add(EVAS_RECTANGLE_CLASS, evas); o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
efl_gfx_position_set(o, 0, 0); efl_gfx_position_set(o, 0, 0);
efl_gfx_size_set(o, win_w, win_h); efl_gfx_size_set(o, win_w, win_h);
efl_gfx_color_set(o, 0, 0, 0, 0); efl_gfx_color_set(o, 0, 0, 0, 0);
@ -401,7 +401,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
eo_event_callback_array_add(o, ui_callbacks(), NULL); eo_event_callback_array_add(o, ui_callbacks(), NULL);
o_bg = o; o_bg = o;
o = eo_add(EVAS_RECTANGLE_CLASS, evas); o = eo_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
efl_gfx_position_set(o, 0, 0); efl_gfx_position_set(o, 0, 0);
efl_gfx_size_set(o, win_w, win_h); efl_gfx_size_set(o, win_w, win_h);
efl_gfx_color_set(o, 255, 255, 255, 255); efl_gfx_color_set(o, 255, 255, 255, 255);