summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_slider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_slider.c')
-rw-r--r--src/lib/elementary/elm_slider.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/elementary/elm_slider.c b/src/lib/elementary/elm_slider.c
index d7af7d6..d5a5f04 100644
--- a/src/lib/elementary/elm_slider.c
+++ b/src/lib/elementary/elm_slider.c
@@ -398,17 +398,17 @@ _key_action_drag(Evas_Object *obj, const char *params)
398 return EINA_TRUE; 398 return EINA_TRUE;
399} 399}
400 400
401// _slider_efl_ui_widget_widget_event 401// _slider_efl_ui_widget_widget_input_event_handler
402ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(slider, Elm_Slider_Data) 402ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(slider, Elm_Slider_Data)
403 403
404EOLIAN static Eina_Bool 404EOLIAN static Eina_Bool
405_elm_slider_efl_ui_widget_widget_event(Eo *obj, Elm_Slider_Data *sd, const Efl_Event *eo_event, Evas_Object *src) 405_elm_slider_efl_ui_widget_widget_input_event_handler(Eo *obj, Elm_Slider_Data *sd, const Efl_Event *eo_event, Evas_Object *src)
406{ 406{
407 Eo *ev = eo_event->info; 407 Eo *ev = eo_event->info;
408 408
409 if (eo_event->desc == EFL_EVENT_KEY_DOWN) 409 if (eo_event->desc == EFL_EVENT_KEY_DOWN)
410 { 410 {
411 if (!_slider_efl_ui_widget_widget_event(obj, sd, eo_event, src)) 411 if (!_slider_efl_ui_widget_widget_input_event_handler(obj, sd, eo_event, src))
412 return EINA_FALSE; 412 return EINA_FALSE;
413 } 413 }
414 else if (eo_event->desc == EFL_EVENT_KEY_UP) 414 else if (eo_event->desc == EFL_EVENT_KEY_UP)
@@ -804,12 +804,12 @@ _elm_slider_theme_group_get(Evas_Object *obj, Elm_Slider_Data *sd)
804 return eina_strbuf_release(new_group); 804 return eina_strbuf_release(new_group);
805} 805}
806 806
807EOLIAN static Efl_Ui_Theme_Apply_Result 807EOLIAN static Eina_Error
808_elm_slider_efl_ui_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd) 808_elm_slider_efl_ui_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
809{ 809{
810 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 810 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
811 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL); 811 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
812 EFL_UI_SLIDER_DATA_GET_OR_RETURN(obj, sd2, EFL_UI_THEME_APPLY_RESULT_FAIL); 812 EFL_UI_SLIDER_DATA_GET_OR_RETURN(obj, sd2, EFL_UI_THEME_APPLY_ERROR_GENERIC);
813 char *group; 813 char *group;
814 814
815 group = _elm_slider_theme_group_get(obj, sd); 815 group = _elm_slider_theme_group_get(obj, sd);
@@ -820,7 +820,7 @@ _elm_slider_efl_ui_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
820 } 820 }
821 821
822 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 822 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
823 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 823 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
824 824
825 if (_is_horizontal(sd2->dir)) 825 if (_is_horizontal(sd2->dir))
826 evas_object_size_hint_min_set 826 evas_object_size_hint_min_set
@@ -1193,7 +1193,7 @@ _elm_slider_part_indicator_visible_mode_get(const Eo *obj, void *_pd EINA_UNUSED
1193 return sd->indicator_visible_mode; 1193 return sd->indicator_visible_mode;
1194} 1194}
1195 1195
1196#include "elm_slider_part_indicator.eo.c" 1196#include "elm_slider_part_indicator_eo.c"
1197 1197
1198/* Efl.Part end */ 1198/* Efl.Part end */
1199 1199
@@ -1490,4 +1490,4 @@ ELM_LAYOUT_CONTENT_ALIASES_IMPLEMENT(elm_slider)
1490 EFL_UI_SLIDER_DOWN_KNOB_OPS(elm_slider), \ 1490 EFL_UI_SLIDER_DOWN_KNOB_OPS(elm_slider), \
1491 EFL_UI_SLIDER_MOVE_KNOB_OPS(elm_slider) 1491 EFL_UI_SLIDER_MOVE_KNOB_OPS(elm_slider)
1492 1492
1493#include "elm_slider.eo.c" 1493#include "elm_slider_eo.c"