summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_slider_legacy.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-06-21 15:33:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-21 15:40:48 +0900
commit4ca83755ed1668f57c9e8818acec46bca27c2d07 (patch)
treebf10fbb2c05063fd916e26b122ff984c7095d1ba /src/lib/elementary/elm_slider_legacy.h
parent52f35fde0ce3073d9fcc45aa3343fd8a25bf7909 (diff)
slider: Fix slider legacy API
See 4e79dd0f02811a013b461d4839f14a48ee9b1c2f That patch was absurd. Do not change the use of a legacy stable API when you change an EO API. If you need to do that then there is very clearly a problem in the patch. This reverts the test case to use the legacy API (which in turn calls the EO API anyway so both are tested). Fixes T5587
Diffstat (limited to 'src/lib/elementary/elm_slider_legacy.h')
-rw-r--r--src/lib/elementary/elm_slider_legacy.h40
1 files changed, 39 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_slider_legacy.h b/src/lib/elementary/elm_slider_legacy.h
index fa9c669..07d29c1 100644
--- a/src/lib/elementary/elm_slider_legacy.h
+++ b/src/lib/elementary/elm_slider_legacy.h
@@ -193,4 +193,42 @@ EAPI void elm_slider_min_max_set(Evas_Object *obj, double min, double max);
193 */ 193 */
194EAPI void elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max); 194EAPI void elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max);
195 195
196#include "efl_ui_slider.eo.legacy.h" \ No newline at end of file 196/**
197 * @brief This enables two indicators in slider.
198 *
199 * @param[in] enable @c true if two indicators are enabled, @c false otherwise
200 *
201 * @since 1.18
202 */
203EAPI void elm_slider_range_enabled_set(Evas_Object *obj, Eina_Bool enable);
204
205/**
206 * @brief This enables two indicators in slider.
207 *
208 * @return @c true if two indicators are enabled, @c false otherwise
209 *
210 * @since 1.18
211 */
212EAPI Eina_Bool elm_slider_range_enabled_get(const Evas_Object *obj);
213
214/**
215 * @brief Sets up a start and end range point for the slider
216 *
217 * @param[in] from Range minimum value
218 * @param[in] to Range maximum value
219 *
220 * @since 1.18
221 */
222EAPI void elm_slider_range_set(Evas_Object *obj, double from, double to);
223
224/**
225 * @brief Sets up a start and end range point for the slider
226 *
227 * @param[out] from Range minimum value
228 * @param[out] to Range maximum value
229 *
230 * @since 1.18
231 */
232EAPI void elm_slider_range_get(const Evas_Object *obj, double *from, double *to);
233
234#include "efl_ui_slider.eo.legacy.h"