summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
diff options
context:
space:
mode:
authorShinwoo Kim <kimcinoo.efl@gmail.com>2012-12-06 10:56:29 +0000
committerShinwoo Kim <kimcinoo.efl@gmail.com>2012-12-06 10:56:29 +0000
commitf426ed101c01715cd1f089ba4cdb32bdbd201b81 (patch)
tree57838e6cf45364f32fc5ea99eba7ba0a6765ca26 /legacy/elementary/src/lib/elm_access.c
parentc9f53ba831fa754f89bf46795278672298a30a56 (diff)
[access] elm_access_external_info_set(Evas_Object*, const char*) initial draft
i would like to export an API which name is elm_access_external_info_set(Evas_Object *, const char*); this will be using by application side to set additional accessibility information. widget could have different information which could be different in another context. for example: there would be an entry which is for user ID, and there would be another entry which is for password. in this case, developer would like to add additional information for each entry as below. entry for user id reads "entry (default information), this entry is for user id (additional information)" entry for password reads "entry, this entry is for password" for this reason, i have attached patch. please review the patch and give feedbacks. SVN revision: 80339
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index ad151dd..98ad7fb 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/src/lib/elm_access.c
@@ -1,10 +1,6 @@
1#include <Elementary.h> 1#include <Elementary.h>
2#include "elm_priv.h" 2#include "elm_priv.h"
3 3
4const Eo_Class *elm_obj_access_class_get(void) EINA_CONST;
5
6#define ELM_OBJ_ACCESS_CLASS elm_obj_access_class_get()
7
8#define MY_CLASS ELM_OBJ_ACCESS_CLASS 4#define MY_CLASS ELM_OBJ_ACCESS_CLASS
9 5
10#define MY_CLASS_NAME "elm_access" 6#define MY_CLASS_NAME "elm_access"
@@ -119,6 +115,7 @@ _access_obj_over_timeout_cb(void *data)
119 _elm_access_read(ac, ELM_ACCESS_TYPE, data, NULL); 115 _elm_access_read(ac, ELM_ACCESS_TYPE, data, NULL);
120 _elm_access_read(ac, ELM_ACCESS_INFO, data, NULL); 116 _elm_access_read(ac, ELM_ACCESS_INFO, data, NULL);
121 _elm_access_read(ac, ELM_ACCESS_STATE, data, NULL); 117 _elm_access_read(ac, ELM_ACCESS_STATE, data, NULL);
118 _elm_access_read(ac, ELM_ACCESS_EXTERNAL_INFO, data, NULL);
122 _elm_access_read(ac, ELM_ACCESS_DONE, data, NULL); 119 _elm_access_read(ac, ELM_ACCESS_DONE, data, NULL);
123 } 120 }
124 ac->delay_timer = NULL; 121 ac->delay_timer = NULL;
@@ -786,5 +783,12 @@ static const Eo_Class_Description class_desc = {
786 NULL 783 NULL
787}; 784};
788 785
786EAPI void
787elm_access_external_info_set(Evas_Object *obj, const char *text)
788{
789 _elm_access_text_set
790 (_elm_access_object_get(obj), ELM_ACCESS_EXTERNAL_INFO, text);
791}
792
789EO_DEFINE_CLASS(elm_obj_access_class_get, &class_desc, ELM_OBJ_WIDGET_CLASS, NULL); 793EO_DEFINE_CLASS(elm_obj_access_class_get, &class_desc, ELM_OBJ_WIDGET_CLASS, NULL);
790 794