static Evas_Object *o_title = NULL;
static Evas_Object *o_byline = NULL;
static Evas_Object *o_menu_logo = NULL;
-static Evas_Object *o_menu_icon = NULL;
static Evas_Object *o_menu_icon_sel = NULL;
static Evas_Object *o_menu_icon_sel2 = NULL;
static Evas_Object *o_menu_text_sel = NULL;
{
efl_gfx_entity_visible_set(o_menu_logo, visibility);
efl_gfx_entity_visible_set(o_menu_title, visibility);
- efl_gfx_entity_visible_set(o_menu_icon, visibility);
efl_gfx_entity_visible_set(o_menu_icon_sel, visibility);
/* FIXME: ask if it's ok o_menu_icon_sel2 == NULL */
efl_gfx_entity_visible_set(o_menu_icon_sel2, visibility);
o_menu_logo = o;
o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
- efl_gfx_entity_position_set(o, EINA_POSITION2D(win_w - 128, - 128));
- 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);
- o_menu_icon = o;
-
- o = efl_add(EFL_CANVAS_IMAGE_CLASS, evas);
efl_gfx_entity_position_set(o, EINA_POSITION2D(0, 0));
efl_file_simple_load(o, build_path("icon_sel.png"), NULL);
efl_gfx_entity_size_set(o, EINA_SIZE2D(48, 48));
efl_gfx_entity_size_set(o, EINA_SIZE2D(w, h));
efl_gfx_fill_set(o, EINA_RECT(0, 0, w, h));
efl_gfx_color_set(o, a, a, a, a);
-
- o = o_menu_icon;
- efl_file_simple_load(o, build_path(mi->icon), NULL);
- efl_gfx_color_set(o, a / 2, a / 2, a / 2, a / 2);
}
i++;
}