On Sun, Dec 15, 2013 at 10:50 PM, Carsten Haitzler <[email protected]>wrote:
> On Sun, 15 Dec 2013 14:40:17 +0900 Daniel Juyung Seo <[email protected] > > > said: > > > Eeek. Again. > > Sorry I will check it again. > > It worked wheb I tested :( > > because you dont turn on -fvisibility=hidden by default. try turn it on... > it > catches all sorts of issues. :) > Oh thanks! I just added that visibility option to my build script and got a build error! https://git.enlightenment.org/devs/seoz/util.git/commit/?id=83e6f19efefd40f3457342f6abed4923efbb2682 Daniel Juyung Seo (SeoZ) > > > Daniel Juyung Seo (SeoZ) > > On Dec 15, 2013 12:31 PM, "Carsten Haitzler" <[email protected]> > wrote: > > > > > raster pushed a commit to branch master. > > > > > > > > > > http://git.enlightenment.org/core/elementary.git/commit/?id=bce55bd7695fef10278ad4038dc3a655d3859aba > > > > > > commit bce55bd7695fef10278ad4038dc3a655d3859aba > > > Author: Carsten Haitzler (Rasterman) <[email protected]> > > > Date: Sun Dec 15 12:28:37 2013 +0900 > > > > > > elm access - let's not use un-exported apis and break build. > > > --- > > > src/bin/test.c | 3 ++- > > > src/bin/test_access.c | 60 > > > +++++++++++++++++++++++++++++---------------------- > > > 2 files changed, 36 insertions(+), 27 deletions(-) > > > > > > diff --git a/src/bin/test.c b/src/bin/test.c > > > index 3c4db35..b5c53bf 100755 > > > --- a/src/bin/test.c > > > +++ b/src/bin/test.c > > > @@ -450,7 +450,8 @@ my_win_main(const char *autorun, Eina_Bool > > > test_win_only) > > > evas_object_show(lb); > > > > > > /* This label will not be read out */ > > > - elm_access_object_unregister(lb); > > > +// this is not an exported api! don't use! (no EAPI) > > > +// elm_access_object_unregister(lb); > > > > > > tg = elm_check_add(win); > > > elm_object_style_set(tg, "toggle"); > > > diff --git a/src/bin/test_access.c b/src/bin/test_access.c > > > index fdec6da..ff997b6 100644 > > > --- a/src/bin/test_access.c > > > +++ b/src/bin/test_access.c > > > @@ -231,7 +231,7 @@ test_access2(void *data EINA_UNUSED, Evas_Object > *obj > > > EINA_UNUSED, void *event_i > > > int i, j, k; > > > char buf[PATH_MAX]; > > > Evas_Object *win, *bx, *sc, *ly, *ly2, *ic; > > > - Evas_Object *ao, *to; > > > +// Evas_Object *ao, *to; > > > > > > win = elm_win_util_standard_add("access", "Access"); > > > elm_win_autodel_set(win, EINA_TRUE); > > > @@ -288,9 +288,10 @@ test_access2(void *data EINA_UNUSED, Evas_Object > *obj > > > EINA_UNUSED, void *event_i > > > evas_object_show(ly2); > > > > > > /* access */ > > > - to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly2), "access"); > > > - ao = elm_access_object_register(to, ly2); > > > - elm_object_focus_custom_chain_append(ly2, ao, NULL); > > > +// to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly2), "access"); > > > +// this is not an exported api don't use (no EAPI) > > > +// ao = elm_access_object_register(to, ly2); > > > +// elm_object_focus_custom_chain_append(ly2, ao, > NULL); > > > } > > > } > > > > > > @@ -302,7 +303,7 @@ test_access2(void *data EINA_UNUSED, Evas_Object > *obj > > > EINA_UNUSED, void *event_i > > > } > > > > > > static Eina_Bool > > > -_key_down_cb(void *data, int type EINA_UNUSED, void *ei) > > > +_key_down_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *ei) > > > { > > > Elm_Access_Action_Info *a; > > > Ecore_Event_Key *ev = ei; > > > @@ -315,7 +316,8 @@ _key_down_cb(void *data, int type EINA_UNUSED, void > > > *ei) > > > if (!strcmp(ev->key, "F1")) > > > { > > > a->highlight_cycle = EINA_TRUE; > > > - elm_access_action(data, > ELM_ACCESS_ACTION_HIGHLIGHT_NEXT, a); > > > +// this is not an exported api don't use (no EAPI) > > > +// elm_access_action(data, > ELM_ACCESS_ACTION_HIGHLIGHT_NEXT, > > > a); > > > } > > > } > > > free(a); > > > @@ -323,19 +325,21 @@ _key_down_cb(void *data, int type EINA_UNUSED, > void > > > *ei) > > > return ECORE_CALLBACK_PASS_ON; > > > } > > > > > > +/* > > > static char * > > > _access_info_cb(void *data, Evas_Object *obj EINA_UNUSED) > > > { > > > if (data) return strdup(data); > > > return NULL; > > > } > > > +*/ > > > > > > void > > > test_access3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, > void > > > *event_info EINA_UNUSED) > > > { > > > char buf[PATH_MAX]; > > > Evas_Object *win, *box, *lbl, *ly, *btn; > > > - Evas_Object *red_ao, *green_ao, *blue_ao, *black_ao, *to; > > > +// Evas_Object *red_ao, *green_ao, *blue_ao, *black_ao, *to; > > > > > > win = elm_win_util_standard_add("access", "Access"); > > > elm_win_autodel_set(win, EINA_TRUE); > > > @@ -373,25 +377,29 @@ test_access3(void *data EINA_UNUSED, Evas_Object > > > *obj EINA_UNUSED, void *event_i > > > > > > elm_object_part_content_set(ly, "center", btn); > > > > > > - to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "red"); > > > - red_ao = elm_access_object_register(to, ly); > > > - elm_access_info_cb_set(red_ao, ELM_ACCESS_INFO, _access_info_cb, > > > "red"); > > > - elm_access_highlight_next_set(btn, ELM_HIGHLIGHT_DIR_NEXT, red_ao); > > > - > > > - to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "green"); > > > - green_ao = elm_access_object_register(to, ly); > > > - elm_access_info_cb_set(green_ao, ELM_ACCESS_INFO, _access_info_cb, > > > "green"); > > > - elm_access_highlight_next_set(red_ao, ELM_HIGHLIGHT_DIR_NEXT, > > > green_ao); > > > - > > > - to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "blue"); > > > - blue_ao = elm_access_object_register(to, ly); > > > - elm_access_info_cb_set(blue_ao, ELM_ACCESS_INFO, _access_info_cb, > > > "blue"); > > > - elm_access_highlight_next_set(green_ao, ELM_HIGHLIGHT_DIR_NEXT, > > > blue_ao); > > > - > > > - to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "black"); > > > - black_ao = elm_access_object_register(to, ly); > > > - elm_access_info_cb_set(black_ao, ELM_ACCESS_INFO, _access_info_cb, > > > "black"); > > > - elm_access_highlight_next_set(blue_ao, ELM_HIGHLIGHT_DIR_NEXT, > > > black_ao); > > > +// to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "red"); > > > +// this is not an exported api don't use (no EAPI) > > > +// red_ao = elm_access_object_register(to, ly); > > > +// elm_access_info_cb_set(red_ao, ELM_ACCESS_INFO, _access_info_cb, > > > "red"); > > > +// elm_access_highlight_next_set(btn, ELM_HIGHLIGHT_DIR_NEXT, > red_ao); > > > + > > > +// to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "green"); > > > +// this is not an exported api don't use (no EAPI) > > > +// green_ao = elm_access_object_register(to, ly); > > > +// elm_access_info_cb_set(green_ao, ELM_ACCESS_INFO, > _access_info_cb, > > > "green"); > > > +// elm_access_highlight_next_set(red_ao, ELM_HIGHLIGHT_DIR_NEXT, > > > green_ao); > > > + > > > +// to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "blue"); > > > +// this is not an exported api don't use (no EAPI) > > > +// blue_ao = elm_access_object_register(to, ly); > > > +// elm_access_info_cb_set(blue_ao, ELM_ACCESS_INFO, _access_info_cb, > > > "blue"); > > > +// elm_access_highlight_next_set(green_ao, ELM_HIGHLIGHT_DIR_NEXT, > > > blue_ao); > > > + > > > +// to = (Evas_Object > > > *)edje_object_part_object_get(elm_layout_edje_get(ly), "black"); > > > +// this is not an exported api don't use (no EAPI) > > > +// black_ao = elm_access_object_register(to, ly); > > > +// elm_access_info_cb_set(black_ao, ELM_ACCESS_INFO, > _access_info_cb, > > > "black"); > > > +// elm_access_highlight_next_set(blue_ao, ELM_HIGHLIGHT_DIR_NEXT, > > > black_ao); > > > > > > ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, _key_down_cb, win); > > > > > > > > > -- > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Rapidly troubleshoot problems before they affect your business. Most IT > > organizations don't have a clear picture of how application performance > > affects their revenue. With AppDynamics, you get 100% visibility into > your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
