Renamed global variable evas to G_evas.

This commit is contained in:
Savio Sena 2014-08-24 07:48:43 -03:00
parent bebe73caa4
commit d29bf887ec
100 changed files with 137 additions and 137 deletions

View File

@ -8,7 +8,7 @@ _setup(void)
Evas_Object *o;
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
o = eo_add(EVAS_TEXTBLOCK_CLASS, G_evas);
eo_do(o, evas_obj_position_set(10, 40),
evas_obj_size_set(win_w - 20, win_h - 50),
evas_obj_visibility_set(EINA_TRUE));

View File

@ -28,7 +28,7 @@ static void _setup(void)
Evas_Object *o;
int w,h;
o = evas_object_text_add(evas);
o = evas_object_text_add(G_evas);
evas_object_color_set(o, 0, 0, 0, 255);
evas_object_text_font_set(o, "Vera-Bold", 80);
evas_object_text_text_set(o, "Font Effect");

View File

@ -30,7 +30,7 @@ static void _setup(void)
Evas_Object *o;
int w, h;
o = evas_object_text_add(evas);
o = G_evas_object_text_add(evas);
evas_object_color_set(o, 0, 0, 0, 255);
evas_object_text_font_set(o, "Vera-Bold", 80);
evas_object_text_text_set(o, "Font Effect");

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("bar.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("pan.png"), NULL),

View File

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

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
a = rnd()&0xff;
eo_do(o,

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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),

View File

@ -24,7 +24,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("frame.png"), NULL),

View File

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

View File

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

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("bar.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),

View File

@ -22,7 +22,7 @@ static void _setup(void)
{
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[0] = o;
eo_do(o,
efl_file_set(build_path("im1.png"), NULL),
@ -30,7 +30,7 @@ static void _setup(void)
evas_obj_size_set(720, 420),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[1] = o;
eo_do(o,
efl_file_set(build_path("im2.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
eo_do(o,

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
eo_do(o,

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
eo_do(o,

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
eo_do(o,

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1);
eo_do(o,

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1);
eo_do(o,

View File

@ -29,7 +29,7 @@ static void _setup(void)
{
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
eo_do(o,
@ -39,7 +39,7 @@ static void _setup(void)
efl_image_smooth_scale_set(0),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_reflec[i] = o;
snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
eo_do(o,

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), 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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path("logo.png"), NULL),
evas_obj_image_fill_set(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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path("tp.png"), NULL),
evas_obj_image_fill_set(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);
o = eo_add(EVAS_LINE_CLASS, G_evas);
o_images[i] = o;
a = (rnd()&0xff) / 2;
r = ((rnd()&0xff) * a) / 255;

View File

@ -4,7 +4,7 @@
#include <Ecore_Evas.h>
#include <Ecore.h>
Evas *evas = NULL;
Evas *G_evas = NULL;
const char *profile = "n800";
const char *choosen_engine = NULL;
int win_w = 720, win_h = 420;
@ -1294,10 +1294,10 @@ main(int argc, char **argv)
ecore_evas_callback_delete_request_set(ee, _cb_delete);
ecore_evas_callback_post_render_set(ee, _cb_post_render);
evas = ecore_evas_get(ee);
G_evas = ecore_evas_get(ee);
evas_font_path_append(evas, datadir);
evas_font_hinting_set(evas, EVAS_FONT_HINTING_AUTO);
evas_font_path_append(G_evas, datadir);
evas_font_hinting_set(G_evas, EVAS_FONT_HINTING_AUTO);
ui_setup(resolutions[resolution_index].width,
resolutions[resolution_index].height);

View File

@ -44,7 +44,7 @@ extern "C"
#define OBNUM 128
#define LOOPS 128
extern Evas *evas;
extern Evas *G_evas;
extern int win_w, win_h;
extern int loops;
extern const char *choosen_engine;

View File

@ -73,7 +73,7 @@ static void _setup(void)
{
int r, g, b, a;
o = eo_add(EVAS_POLYGON_CLASS, evas);
o = eo_add(EVAS_POLYGON_CLASS, G_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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
evas_obj_image_fill_set(0, 0, 120, 160),
@ -33,7 +33,7 @@ static void _setup(void)
for (i = 1; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_source_set(src),

View File

@ -26,7 +26,7 @@ static void _setup(void)
int i;
Evas_Object *o,*src;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
eo_do(o, efl_file_set(build_path("logo.png"), NULL),
evas_obj_image_fill_set(0, 0, 120, 160),
evas_obj_size_set(120, 160),
@ -35,7 +35,7 @@ static void _setup(void)
for (i = 0; i < OBNUM / 2; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_source_set(src, NULL),
evas_obj_size_set(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);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o,
efl_text_properties_font_set("Vera-Bold", 20),
@ -46,7 +46,7 @@ static void _setup(void)
for ( ; i < OBNUM ; i ++)
{
s = o_texts[i % st];
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, evas_obj_image_source_set(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);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[0] = o;
snprintf(buf, sizeof(buf), "%s %s %s %s.",
strs[rnd() % (sizeof(strs) / sizeof(char *))],
@ -52,7 +52,7 @@ static void _setup(void)
evas_obj_visibility_set(EINA_TRUE));
for (i = 1 ; i < OBNUM ; i ++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_texts[i] = o;
eo_do(o,
evas_obj_image_source_set(o_texts[0]));

View File

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

View File

@ -25,7 +25,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 20),
efl_text_set("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);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("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);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o,
efl_text_properties_font_set("Vera-Bold", 20),

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);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("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);
o = eo_add(EVAS_TEXTBLOCK_CLASS, G_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);
o = eo_add(EVAS_TEXTBLOCK_CLASS, G_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);
o = eo_add(EVAS_TEXTBLOCK_CLASS, G_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);
o = eo_add(EVAS_TEXTBLOCK_CLASS, G_evas);
o_text = o;
st = evas_textblock_style_new();
evas_textblock_style_set

View File

@ -360,7 +360,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);
mi->o_icon = eo_add(EVAS_IMAGE_CLASS, G_evas);
eo_unref(mi->o_icon);
eo_do(mi->o_icon, efl_file_set(build_path(icon), NULL),
evas_obj_size_set(32, 32),
@ -390,7 +390,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);
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
eo_unref(o);
eo_do(o, evas_obj_position_set(0, 0),
evas_obj_size_set(win_w, win_h),
@ -401,7 +401,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
eo_event_callback_array_add(ui_callbacks(), NULL));
o_bg = o;
o = eo_add(EVAS_RECTANGLE_CLASS, evas);
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
eo_unref(o);
eo_do(o, evas_obj_position_set(0, 0),
evas_obj_size_set(win_w, win_h),
@ -410,7 +410,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_visibility_set(EINA_TRUE));
o_wallpaper = o;
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
eo_unref(o);
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set("EXPEDITE"),
@ -424,7 +424,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_visibility_set(EINA_TRUE));
o_title = o;
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
eo_unref(o);
eo_do(o, efl_text_properties_font_set("Vera", 9),
efl_text_set("LEFT/RIGHT - select, ENTER - select, ESCAPE - exit."),
@ -438,7 +438,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_visibility_set(EINA_TRUE));
o_byline = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
eo_unref(o);
eo_do(o, evas_obj_position_set((win_w - 120) / 2, ((win_h - 160) / 2)),
efl_file_set(build_path("e-logo.png"), NULL),
@ -449,7 +449,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_visibility_set(EINA_TRUE));
o_menu_logo = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
eo_unref(o);
eo_do(o, evas_obj_position_set(win_w - 128, - 128),
evas_obj_image_fill_set(0, 0, 256, 256),
@ -457,7 +457,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_visibility_set(EINA_TRUE));
o_menu_icon = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
eo_unref(o);
eo_do(o, evas_obj_position_set(0, 0),
efl_file_set(build_path("icon_sel.png"), NULL),
@ -465,7 +465,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_image_fill_set(0, 0, 48, 48));
o_menu_icon_sel = o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
eo_unref(o);
eo_do(o, evas_obj_position_set(0, 0),
efl_file_set(build_path("text_sel.png"), NULL),
@ -474,7 +474,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
evas_obj_image_border_set(7, 7, 7, 7));
o_menu_text_sel = o;
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
eo_unref(o);
eo_do(o, efl_text_properties_font_set("Vera", 10),
efl_text_set(""),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(icons[i % 13]),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(icons[i % 13]),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(icons[i % 13]),

View File

@ -31,14 +31,14 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path(icons[i % 1]), NULL),
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(icons[i % 1]),

View File

@ -31,14 +31,14 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path(icons[i % 1]), NULL),
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(icons[i % 1]),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(icons[i % 13]),

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);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(icons[i % 13]),

View File

@ -62,7 +62,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -70,7 +70,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),

View File

@ -62,7 +62,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -70,7 +70,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),

View File

@ -62,7 +62,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -70,7 +70,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),

View File

@ -62,7 +62,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -70,7 +70,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),

View File

@ -83,7 +83,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -91,7 +91,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_icons[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -99,7 +99,7 @@ static void _setup(void)
evas_obj_size_set(ICON_SIZE - 8, ICON_SIZE - 8),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),

View File

@ -83,7 +83,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -91,7 +91,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_icons[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -99,7 +99,7 @@ static void _setup(void)
evas_obj_size_set(ICON_SIZE - 8, ICON_SIZE - 8),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),

View File

@ -83,7 +83,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -91,7 +91,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_icons[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -99,7 +99,7 @@ static void _setup(void)
evas_obj_size_set(ICON_SIZE - 8, ICON_SIZE - 8),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),

View File

@ -83,7 +83,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < NUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_images[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -91,7 +91,7 @@ static void _setup(void)
evas_obj_size_set(win_w, ICON_SIZE),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
o_icons[i] = o;
eo_do(o, evas_obj_image_filled_set(1),
evas_obj_image_border_set(2, 2, 2, 2),
@ -99,7 +99,7 @@ static void _setup(void)
evas_obj_size_set(ICON_SIZE - 8, ICON_SIZE - 8),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_TEXT_CLASS, evas);
o = eo_add(EVAS_TEXT_CLASS, G_evas);
o_texts[i] = o;
eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
efl_text_set(labels[i % 26]),