forked from enlightenment/efl
elementary/map - map supports language,changed
This commit is contained in:
parent
1933668ec7
commit
a7cca7ba3f
|
@ -1182,3 +1182,8 @@
|
||||||
2013-03-27 Jihoon Kim
|
2013-03-27 Jihoon Kim
|
||||||
|
|
||||||
* Add elm_entry_input_panel_layout_variation_set/get API
|
* Add elm_entry_input_panel_layout_variation_set/get API
|
||||||
|
|
||||||
|
2013-03-29 ChunEon Park (Hermet)
|
||||||
|
|
||||||
|
* Map supports "language,changed" smart callback.
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Additions:
|
||||||
* Add a label signal callback "slide,end"
|
* Add a label signal callback "slide,end"
|
||||||
* Add "highlighted" and "unhighlighted" callbacks to list, genlist, and gengrid.
|
* 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.
|
* Add elm_index_delay_change_time_set/get for changing delay change time in index.
|
||||||
* Add elm_index smart callback - "language,changed".
|
* add elm_index smart callback - "language,changed".
|
||||||
* Add smart callback signals of a scroller. "vbar,drag", "vbar,press", "vbar,unpress", "hbar,drag", "hbar,press", "hbar,unpress".
|
* 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 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().
|
* 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 APIs - elm_object_focus_next_object_get, elm_object_focus_next_object_set.
|
||||||
* Add API - elm_object_focused_object_get.
|
* Add API - elm_object_focused_object_get.
|
||||||
* Add APIs - elm_entry_input_panel_layout_variation_set/get
|
* Add APIs - elm_entry_input_panel_layout_variation_set/get
|
||||||
|
* Add elm_map smart callback - "language,changed".
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
|
|
|
@ -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_NAME_LOADED_FAIL[] = "name,loaded,fail";
|
||||||
static const char SIG_OVERLAY_CLICKED[] = "overlay,clicked";
|
static const char SIG_OVERLAY_CLICKED[] = "overlay,clicked";
|
||||||
static const char SIG_OVERLAY_DEL[] = "overlay,del";
|
static const char SIG_OVERLAY_DEL[] = "overlay,del";
|
||||||
|
static const char SIG_LANG_CHANGED[] = "language,changed";
|
||||||
|
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_CLICKED, ""},
|
{SIG_CLICKED, ""},
|
||||||
{SIG_CLICKED_DOUBLE, ""},
|
{SIG_CLICKED_DOUBLE, ""},
|
||||||
|
@ -330,9 +332,18 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_NAME_LOADED_FAIL, ""},
|
{SIG_NAME_LOADED_FAIL, ""},
|
||||||
{SIG_OVERLAY_CLICKED, ""},
|
{SIG_OVERLAY_CLICKED, ""},
|
||||||
{SIG_OVERLAY_DEL, ""},
|
{SIG_OVERLAY_DEL, ""},
|
||||||
|
{SIG_LANG_CHANGED, ""},
|
||||||
{NULL, NULL}
|
{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
|
static void
|
||||||
_edj_overlay_size_get(Elm_Map_Smart_Data *sd,
|
_edj_overlay_size_get(Elm_Map_Smart_Data *sd,
|
||||||
Evas_Coord *w,
|
Evas_Coord *w,
|
||||||
|
@ -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_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_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_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_SET), _zoom_set),
|
||||||
EO_OP_FUNC(ELM_OBJ_MAP_ID(ELM_OBJ_MAP_SUB_ID_ZOOM_GET), _zoom_get),
|
EO_OP_FUNC(ELM_OBJ_MAP_ID(ELM_OBJ_MAP_SUB_ID_ZOOM_GET), _zoom_get),
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
* - @c "name,loaded,fail" - Name request fails.
|
* - @c "name,loaded,fail" - Name request fails.
|
||||||
* - @c "overlay,clicked" - A overlay is clicked.
|
* - @c "overlay,clicked" - A overlay is clicked.
|
||||||
* - @c "loaded" - when a map is finally loaded. @since 1.7
|
* - @c "loaded" - when a map is finally loaded. @since 1.7
|
||||||
|
* - @c "language,changed" - the program's language changed
|
||||||
*
|
*
|
||||||
* Available style for map widget:
|
* Available style for map widget:
|
||||||
* - @c "default"
|
* - @c "default"
|
||||||
|
|
Loading…
Reference in New Issue