Update accessibility operation mode
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 10 Oct 2013 08:48:31 +0000 (17:48 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 10 Oct 2013 08:48:31 +0000 (17:48 +0900)
Change-Id: I259830d668c146b15b37ba5089f829f24caf8238

include/livebox.h
packaging/liblivebox.spec
src/virtual_window.c

index a3b8e12..b1e85a1 100644 (file)
@@ -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
index 87fccf1..53912ce 100644 (file)
@@ -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
index aad25e1..323040e 100644 (file)
@@ -103,7 +103,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 {