forked from enlightenment/efl
asdf
This commit is contained in:
parent
2db97a9bc2
commit
e2082cf442
|
@ -173,9 +173,6 @@ _home_screen_cb(void *data, const Efl_Event *cb)
|
||||||
Efl_Canvas_Rectangle *rect;
|
Efl_Canvas_Rectangle *rect;
|
||||||
|
|
||||||
rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, compositor);
|
rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, compositor);
|
||||||
efl_gfx_entity_size_set(rect, EINA_SIZE2D(720*SCALE+15, 1280*SCALE));
|
|
||||||
efl_gfx_entity_position_set(rect, EINA_POSITION2D(0, 1280*SCALE));
|
|
||||||
|
|
||||||
efl_ui_spotlight_push(compositor, rect);
|
efl_ui_spotlight_push(compositor, rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -96,8 +96,8 @@ _efl_ui_spotlight_icon_indicator_efl_ui_spotlight_indicator_bind(Eo *obj, Efl_Ui
|
||||||
if (spotlight)
|
if (spotlight)
|
||||||
{
|
{
|
||||||
pd->container = spotlight;
|
pd->container = spotlight;
|
||||||
efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
|
|
||||||
pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container);
|
pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container);
|
||||||
|
efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
|
||||||
|
|
||||||
if (elm_widget_theme_object_set(pd->container, pd->layout,
|
if (elm_widget_theme_object_set(pd->container, pd->layout,
|
||||||
"spotlight",
|
"spotlight",
|
||||||
|
|
Loading…
Reference in New Issue