forked from enlightenment/efl
elementary/focus - update focus highlight when theme is changed.
This commit is contained in:
parent
a4fb4efcd7
commit
f19655ca3d
|
@ -1668,3 +1668,6 @@
|
||||||
2013-10-02 Ryuan Choi (ryuan)
|
2013-10-02 Ryuan Choi (ryuan)
|
||||||
* fileselector: Add "activated" smart callback. It can be used to execute
|
* fileselector: Add "activated" smart callback. It can be used to execute
|
||||||
a file activated by double-clicking or pressing Enter key.
|
a file activated by double-clicking or pressing Enter key.
|
||||||
|
|
||||||
|
2013-10-03 ChunEon Park (Hermet)
|
||||||
|
* Focus: update the focus highlight style when theme is changed.
|
||||||
|
|
|
@ -308,6 +308,7 @@ Removals:
|
||||||
* Popup: Fix the corrupted internal widget tree that caused elm_theme_set() doesn't work correctly.
|
* Popup: Fix the corrupted internal widget tree that caused elm_theme_set() doesn't work correctly.
|
||||||
* Mapbuf: Ensure that content size calculation is correctly finished because the mapbuf is willing to block the size calculation forcely.
|
* Mapbuf: Ensure that content size calculation is correctly finished because the mapbuf is willing to block the size calculation forcely.
|
||||||
* Gesture layer: Fix gesture layer with "pointer" events.
|
* Gesture layer: Fix gesture layer with "pointer" events.
|
||||||
|
* Focus: update the focus highlight style when theme is changed.
|
||||||
|
|
||||||
Changes since Elementary 1.0.0:
|
Changes since Elementary 1.0.0:
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
|
@ -5207,6 +5207,14 @@ elm_win_focus_highlight_style_set(Evas_Object *obj,
|
||||||
eo_do(obj, elm_obj_win_focus_highlight_style_set(style));
|
eo_do(obj, elm_obj_win_focus_highlight_style_set(style));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_elm_win_smart_theme(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
|
||||||
|
{
|
||||||
|
Elm_Win_Smart_Data *sd = _pd;
|
||||||
|
sd->focus_highlight.theme_changed = EINA_TRUE;
|
||||||
|
_elm_win_focus_highlight_reconfigure_job_start(sd);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_focus_highlight_style_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
|
_focus_highlight_style_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
|
||||||
{
|
{
|
||||||
|
@ -5512,6 +5520,7 @@ _class_constructor(Eo_Class *klass)
|
||||||
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT), _elm_win_smart_focus_next),
|
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_NEXT), _elm_win_smart_focus_next),
|
||||||
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_MANAGER_IS), _elm_win_smart_focus_direction_manager_is),
|
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION_MANAGER_IS), _elm_win_smart_focus_direction_manager_is),
|
||||||
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION), _elm_win_smart_focus_direction),
|
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_FOCUS_DIRECTION), _elm_win_smart_focus_direction),
|
||||||
|
EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME), _elm_win_smart_theme),
|
||||||
|
|
||||||
EO_OP_FUNC(ELM_OBJ_WIN_ID(ELM_OBJ_WIN_SUB_ID_WIN_CONSTRUCTOR), _win_constructor),
|
EO_OP_FUNC(ELM_OBJ_WIN_ID(ELM_OBJ_WIN_SUB_ID_WIN_CONSTRUCTOR), _win_constructor),
|
||||||
EO_OP_FUNC(ELM_OBJ_WIN_ID(ELM_OBJ_WIN_SUB_ID_RESIZE_OBJECT_ADD), _resize_object_add),
|
EO_OP_FUNC(ELM_OBJ_WIN_ID(ELM_OBJ_WIN_SUB_ID_RESIZE_OBJECT_ADD), _resize_object_add),
|
||||||
|
|
Loading…
Reference in New Issue