aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_widget_slider.h
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-08-20 09:09:14 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-20 09:09:14 -0400
commitebae12f06a944259b9b4c094bdb009c6391c67ea (patch)
tree5e4dc38924b23a99e40688f2cda8a02a9605fdf6 /src/lib/elementary/elm_widget_slider.h
parentefl_ui_scroll_util: set drag_step of parent edje object (diff)
downloadefl-ebae12f06a944259b9b4c094bdb009c6391c67ea.tar.gz
elm_slider: remove dependency with efl_ui_slider
Summary: This commit includes follwoing works. 1. change parent class from EFL_UI_SLIDER_INTERVAL to EFL_UI_LAYOUT_BASE 2. get all necessary codes from efl_ui_slider and efl_ui_slider_interval to elm_slider 3. add callbacks to slider test code ref https://phab.enlightenment.org/T7893 Test Plan: 1. elementary_test 2. slider 3. operate sliders on the window Reviewers: bu5hm4n, segfaultxavi, eagleeye, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T7893 Differential Revision: https://phab.enlightenment.org/D9623
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_widget_slider.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_widget_slider.h b/src/lib/elementary/elm_widget_slider.h
index c12ed7c011..8290045f8d 100644
--- a/src/lib/elementary/elm_widget_slider.h
+++ b/src/lib/elementary/elm_widget_slider.h
@@ -26,10 +26,18 @@
typedef struct _Elm_Slider_Data Elm_Slider_Data;
struct _Elm_Slider_Data
{
- Evas_Object *popup, *popup2, *track, *track2;
+ Evas_Object *popup, *popup2, *track, *track2, *spacer;
- Ecore_Timer *wheel_indicator_timer, *delay;
+ double val, val_min, val_max, step;
+ double intvl_from, intvl_to;
double wheel_indicator_duration;
+ int intvl_flag;
+
+ Evas_Coord downx, downy;
+ Efl_Ui_Layout_Orientation dir;
+
+ Ecore_Timer *wheel_indicator_timer, *delay;
+
Elm_Slider_Indicator_Visible_Mode indicator_visible_mode; /**< indicator_visible_mode of the slider.
This indicates when to show an indicator */
@@ -52,6 +60,7 @@ struct _Elm_Slider_Data
Eina_Bool popup_visible : 1;
Eina_Bool intvl_enable : 1;
Eina_Bool spacer_down : 1;
+ Eina_Bool frozen : 1;
};
/**