summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_slider_legacy.h
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2018-03-06 15:52:35 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2018-03-06 16:25:41 +0900
commitf5b0cd2b3b9531a4bb7dea2c7b78ed2177725087 (patch)
tree515d5062dfa3853a118a41ef2a3924d6d6551e6c /src/lib/elementary/elm_slider_legacy.h
parent6d9d978fafc2e970c4b5805a84b1d93fec731d86 (diff)
Efl.Ui.Slider: implement Efl.Ui.Range.range_step_set/get()
Also move elm_slider_step_set/get() as legacy APIs. remove eo api step.set/get() as well since range intf already implements it.
Diffstat (limited to 'src/lib/elementary/elm_slider_legacy.h')
-rw-r--r--src/lib/elementary/elm_slider_legacy.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_slider_legacy.h b/src/lib/elementary/elm_slider_legacy.h
index f117e15..37c04c0 100644
--- a/src/lib/elementary/elm_slider_legacy.h
+++ b/src/lib/elementary/elm_slider_legacy.h
@@ -350,4 +350,34 @@ EAPI void elm_slider_indicator_visible_mode_set(Evas_Object *obj, Elm_Slider_Ind
350 */ 350 */
351EAPI Elm_Slider_Indicator_Visible_Mode elm_slider_indicator_visible_mode_get(const Evas_Object *obj); 351EAPI Elm_Slider_Indicator_Visible_Mode elm_slider_indicator_visible_mode_get(const Evas_Object *obj);
352 352
353/**
354 * @brief Get the step by which slider indicator moves.
355 *
356 * @param[in] obj The object.
357 *
358 * @return The step value.
359 *
360 * @since 1.8
361 *
362 * @ingroup Elm_Slider
363 */
364EAPI double elm_slider_step_get(const Evas_Object *obj);
365
366/**
367 * @brief Set the step by which slider indicator will move.
368 *
369 * This value is used when a draggable object is moved automatically such as
370 * when key events like the up/down/left/right key are pressed or in case
371 * accessibility is set and flick event is used to inc/dec slider values. By
372 * default step value is 0.05.
373 *
374 * @param[in] obj The object.
375 * @param[in] step The step value.
376 *
377 * @since 1.8
378 *
379 * @ingroup Elm_Slider
380 */
381EAPI void elm_slider_step_set(Evas_Object *obj, double step);
382
353#include "efl_ui_slider.eo.legacy.h" 383#include "efl_ui_slider.eo.legacy.h"