forked from enlightenment/efl
Efl.Ui.Slider: replace default with on_drag in visible_mode enum.
Ref T6376
This commit is contained in:
parent
651d9e94a0
commit
19e70a8e1f
|
@ -48,10 +48,10 @@ enum Efl.Ui.Slider.Indicator_Visible_Mode
|
||||||
|
|
||||||
@since 1.13
|
@since 1.13
|
||||||
]]
|
]]
|
||||||
default, [[show indicator on mouse down or change in slider value]]
|
on_drag, [[show indicator on mouse down or change in slider value]]
|
||||||
always, [[Always show the indicator.]]
|
always, [[Always show the indicator.]]
|
||||||
on_focus, [[Show the indicator on focus]]
|
on_focus, [[Show the indicator on focus]]
|
||||||
none [[Never show the indicator ]]
|
none [[Never show the indicator ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Efl.Ui.Focus.Autoscroll_Mode
|
enum Efl.Ui.Focus.Autoscroll_Mode
|
||||||
|
|
|
@ -33,7 +33,7 @@ struct _Efl_Ui_Slider_Data
|
||||||
|
|
||||||
Ecore_Timer *wheel_indicator_timer;
|
Ecore_Timer *wheel_indicator_timer;
|
||||||
double wheel_indicator_duration;
|
double wheel_indicator_duration;
|
||||||
Elm_Slider_Indicator_Visible_Mode indicator_visible_mode; /**< indicator_visible_mode of the slider.
|
Efl_Ui_Slider_Indicator_Visible_Mode indicator_visible_mode; /**< indicator_visible_mode of the slider.
|
||||||
This indicates when to show an indicator */
|
This indicates when to show an indicator */
|
||||||
|
|
||||||
Evas_Coord size;
|
Evas_Coord size;
|
||||||
|
|
|
@ -4785,7 +4785,7 @@ static const struct {
|
||||||
Efl_Ui_Slider_Indicator_Visible_Mode val;
|
Efl_Ui_Slider_Indicator_Visible_Mode val;
|
||||||
const char *str;
|
const char *str;
|
||||||
} _enum_map_slider_indicator_visible_mode[] = {
|
} _enum_map_slider_indicator_visible_mode[] = {
|
||||||
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT, "default" },
|
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_DRAG, "on_drag" },
|
||||||
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS, "always" },
|
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS, "always" },
|
||||||
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS, "on_focus" },
|
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS, "on_focus" },
|
||||||
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_NONE, "none" },
|
{ EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_NONE, "none" },
|
||||||
|
|
|
@ -348,7 +348,7 @@ typedef Efl_Ui_Softcursor_Mode Elm_Softcursor_Mode;
|
||||||
#define ELM_SOFTCURSOR_MODE_OFF EFL_UI_SOFTCURSOR_MODE_OFF
|
#define ELM_SOFTCURSOR_MODE_OFF EFL_UI_SOFTCURSOR_MODE_OFF
|
||||||
|
|
||||||
typedef Efl_Ui_Slider_Indicator_Visible_Mode Elm_Slider_Indicator_Visible_Mode;
|
typedef Efl_Ui_Slider_Indicator_Visible_Mode Elm_Slider_Indicator_Visible_Mode;
|
||||||
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT
|
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_DRAG
|
||||||
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS
|
||||||
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS
|
||||||
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
#define ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_NONE
|
||||||
|
|
Loading…
Reference in New Issue