ui: remove menu icon.

Unnecessary decoration that may cause user look it as a wrong display.
This commit is contained in:
Hermet Park 2019-12-23 21:10:25 +09:00
parent 858246e2dd
commit 9bb9dba018
1 changed files with 0 additions and 13 deletions

View File

@ -21,7 +21,6 @@ static Evas_Object *o_wallpaper = NULL;
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;
@ -221,7 +220,6 @@ _ui_menu_show(Eina_Bool visibility)
{
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);
@ -454,13 +452,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
efl_gfx_entity_visible_set(o, EINA_TRUE);
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);
@ -631,10 +622,6 @@ ui_loop(void *data EINA_UNUSED)
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++;
}