From 3a23fa967716437cf1cc4dd5177dd730ff9399b0 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Thu, 10 Oct 2013 18:02:24 +0900 Subject: [PATCH] Update accessibility operation Change-Id: Ic6ef07eecb1a9941c0234dddcdd1f8ccf28d0085 --- include/livebox.h | 13 +++++++++++++ packaging/liblivebox.spec | 2 +- src/virtual_window.c | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/include/livebox.h b/include/livebox.h index a3b8e12..b1e85a1 100644 --- a/include/livebox.h +++ b/include/livebox.h @@ -171,6 +171,19 @@ extern const int LB_SYS_EVENT_MMC_STATUS_CHANGED; /*! * \brief + * Set highlight to given part + */ +#define LB_DESC_TYPE_ACCESS_OPERATION "access,operation" + +#define LB_DESC_DATA_ACCESS_OPERATION_HL_SET "set,hl" +#define LB_DESC_DATA_ACCESS_OPERATION_HL_UNSET "unset,hl" +#define LB_DESC_DATA_ACCESS_OPERATION_HL_NEXT "next,hl" +#define LB_DESC_DATA_ACCESS_OPERATION_HL_PREV "prev,hl" +#define LB_DESC_OPTION_ACCESS_HL_LOOP "cycle" +#define LB_DESC_OPTION_ACCESS_HL_NOLOOP "no,cycle" + +/*! + * \brief * Extra event informatino for livebox_content_event interface function */ #ifndef __PROVIDER_H diff --git a/packaging/liblivebox.spec b/packaging/liblivebox.spec index b5486d1..91cc315 100644 --- a/packaging/liblivebox.spec +++ b/packaging/liblivebox.spec @@ -1,6 +1,6 @@ Name: liblivebox Summary: Library for the development of a livebox -Version: 0.4.4 +Version: 0.4.5 Release: 1 Group: HomeTF/Livebox License: Flora License diff --git a/src/virtual_window.c b/src/virtual_window.c index 785facc..26d6d2f 100644 --- a/src/virtual_window.c +++ b/src/virtual_window.c @@ -115,7 +115,7 @@ static int event_handler_cb(struct livebox_buffer *handler, enum buffer_event ev action_info.y = iy; ret = elm_access_action(parent_elm, action_type, &action_info); if (ret == EINA_TRUE) { - if (!get_highlighted_object(edje)) { + if (!get_highlighted_object(parent_elm)) { ErrPrint("Highlighted object is not found\n"); ret = LB_ACCESS_STATUS_ERROR; } else { -- 2.7.4