aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorKim Shinwoo <kimcinoo.efl@gmail.com>2012-09-17 03:01:46 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-17 03:01:46 +0000
commitfdaf62531622ebaccaa914907009671b6170844f (patch)
tree640cdc84104cd274f86b262d968068bc462c2739 /legacy/elementary/src/lib/elm_win.c
parentwhitespaces-- (diff)
downloadefl-fdaf62531622ebaccaa914907009671b6170844f.tar.gz
From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - activate widget Subject: [E-devel] [Patch][elementary] scroller, slider - access activate feature the previous activate function just get object only. to activate scroller or slider etc.. it needs more information. so the patch changed previous activate(Evas_Object *obj) to activate(Evas_Object *obj, Elm_Activate act); the Elm_Activate can be one of ELM_ACTIVATE_DEFAULT, UP, DOWN, RIGHT, and LEFT.. you can add more if it is necessary. I have attached two patches. one is for the slider and the other is for the scoller. this patch would support those who wants change value of slider or content position of scroller on remote side. this would be useful to the access side or voice control side also. SVN revision: 76717
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index ae0ecde8e0..2d45bbee1d 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -1858,7 +1858,8 @@ _elm_win_client_message(void *data,
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_ACTIVATE)
{
- _elm_access_highlight_object_activate(ELM_WIDGET_DATA(sd)->obj);
+ _elm_access_highlight_object_activate
+ (ELM_WIDGET_DATA(sd)->obj, ELM_ACTIVATE_DEFAULT);
}
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ)
@@ -1878,12 +1879,14 @@ _elm_win_client_message(void *data,
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_UP)
{
- // XXX: call right access func
+ _elm_access_highlight_object_activate
+ (ELM_WIDGET_DATA(sd)->obj, ELM_ACTIVATE_UP);
}
else if ((unsigned int)e->data.l[1] ==
ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_DOWN)
{
- // XXX: call right access func
+ _elm_access_highlight_object_activate
+ (ELM_WIDGET_DATA(sd)->obj, ELM_ACTIVATE_DOWN);
}
}
}