um. unintended change. reverted. thank you. ------------------------------------ -Regards, Hermet-
-----Original Message----- From: "Daniel Juyung Seo"<[email protected]> To: <[email protected]>; Cc: <[email protected]>; Sent: 2013-03-29 (금) 21:00:07 Subject: Re: [E-devel] [EGIT] [core/elementary] master 01/01: elementary/map - map supports language, changed On Fri, Mar 29, 2013 at 8:53 PM, ChunEon Park - Enlightenment Git <no-reply>@enlightenment.org> wrote: > hermet pushed a commit to branch master. > > commit 0b49b9fb8b303f41324a75ebaf406757c79e4909 > Author: ChunEon Park <hermet>@hermet.pe.kr> > Date: Fri Mar 29 20:53:11 2013 +0900 > > elementary/map - map supports language,changed > --- > ChangeLog 5 +++++ > NEWS 3 ++- > src/lib/elm_map.c 12 ++++++++++++ > src/lib/elm_map.h 1 + > 4 files changed, 20 insertions(+), 1 deletion(-) > > diff --git a/ChangeLog b/ChangeLog > index 1b7f8d5..5422c44 100644 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1182,3 +1182,8 @@ > 2013-03-27 Jihoon Kim > > * Add elm_entry_input_panel_layout_variation_set/get API > + > +2013-03-29 ChunEon Park (Hermet) > + > + * Map supports "language,changed" smart callback. > + > diff --git a/NEWS b/NEWS > index 33454ca..04aa4b0 100644 > --- a/NEWS > +++ b/NEWS > @@ -31,7 +31,7 @@ Additions: > * Add a label signal callback "slide,end" > * Add "highlighted" and "unhighlighted" callbacks to list, genlist, and > gengrid. > * Add elm_index_delay_change_time_set/get for changing delay change time > in index. Hello > - * Add elm_index smart callback - "language,changed". > + * add elm_index smart callback - "language,changed". What is this? Why did you change this? Daniel Juyung Seo (SeoZ) > * Add smart callback signals of a scroller. "vbar,drag", "vbar,press", > "vbar,unpress", "hbar,drag", "hbar,press", "hbar,unpress". > * Add elm_glview, elm_gengrid smart callback - "language,changed". > * Add APIs - elm_object_item_domain_translatable_part_text_set(), > elm_object_item_translatable_part_text_get(). > @@ -54,6 +54,7 @@ Additions: > * Add APIs - elm_object_focus_next_object_get, > elm_object_focus_next_object_set. > * Add API - elm_object_focused_object_get. > * Add APIs - elm_entry_input_panel_layout_variation_set/get > + * Add elm_map smart callback - "language,changed". > > Improvements: > > diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c > index 60262e9..cb7121a 100644 > --- a/src/lib/elm_map.c > +++ b/src/lib/elm_map.c > @@ -305,6 +305,8 @@ static const char SIG_NAME_LOADED[] = "name,loaded"; > static const char SIG_NAME_LOADED_FAIL[] = "name,loaded,fail"; > static const char SIG_OVERLAY_CLICKED[] = "overlay,clicked"; > static const char SIG_OVERLAY_DEL[] = "overlay,del"; > +static const char SIG_LANG_CHANGED[] = "language,changed"; > + > static const Evas_Smart_Cb_Description _smart_callbacks[] = { > {SIG_CLICKED, ""}, > {SIG_CLICKED_DOUBLE, ""}, > @@ -330,10 +332,19 @@ static const Evas_Smart_Cb_Description > _smart_callbacks[] = { > {SIG_NAME_LOADED_FAIL, ""}, > {SIG_OVERLAY_CLICKED, ""}, > {SIG_OVERLAY_DEL, ""}, > + {SIG_LANG_CHANGED, ""}, > {NULL, NULL} > }; > > static void > +_elm_map_smart_translate(Eo *obj, void *_pd EINA_UNUSED, va_list *list) > +{ > + Eina_Bool *ret = va_arg(*list, Eina_Bool *); > + evas_object_smart_callback_call(obj, SIG_LANG_CHANGED, NULL); > + if (ret) *ret = EINA_TRUE; > +} > + > +static void > _edj_overlay_size_get(Elm_Map_Smart_Data *sd, > Evas_Coord *w, > Evas_Coord *h) > @@ -6494,6 +6505,7 @@ _class_constructor(Eo_Class *klass) > EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_ON_FOCUS), > _elm_map_smart_on_focus), > EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_THEME), > _elm_map_smart_theme), > EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_EVENT), > _elm_map_smart_event), > + EO_OP_FUNC(ELM_WIDGET_ID(ELM_WIDGET_SUB_ID_TRANSLATE), > _elm_map_smart_translate), > > EO_OP_FUNC(ELM_OBJ_MAP_ID(ELM_OBJ_MAP_SUB_ID_ZOOM_SET), _zoom_set), > EO_OP_FUNC(ELM_OBJ_MAP_ID(ELM_OBJ_MAP_SUB_ID_ZOOM_GET), _zoom_get), > diff --git a/src/lib/elm_map.h b/src/lib/elm_map.h > index bbbcf27..3c2d538 100644 > --- a/src/lib/elm_map.h > +++ b/src/lib/elm_map.h > @@ -49,6 +49,7 @@ > * - @c "name,loaded,fail" - Name request fails. > * - @c "overlay,clicked" - A overlay is clicked. > * - @c "loaded" - when a map is finally loaded. @since 1.7 > + * - @c "language,changed" - the program's language changed > * > * Available style for map widget: > * - @c "default" > > -- > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
