From 920bb29baa80e7c82b54838798514e6f26be6683 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 18 Feb 2016 12:22:00 -0500 Subject: scrolling: add option to disable scroll animations when I scroll on a computer, I want my app to respond immediately. I don't want to wait for it to finish scrolling and I don't want to have to guess where the scroll will end. ref 2ac2628612060114cf6e5205e5331044221178c6 @feature --- src/lib/elm_config.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/lib/elm_config.h') diff --git a/src/lib/elm_config.h b/src/lib/elm_config.h index 8f724156e..d122293d4 100644 --- a/src/lib/elm_config.h +++ b/src/lib/elm_config.h @@ -619,6 +619,33 @@ EAPI Eina_Bool elm_config_scroll_thumbscroll_smooth_start_get(void); */ EAPI void elm_config_scroll_thumbscroll_smooth_start_set(Eina_Bool enable); +/** + * Get the value of this option + * + * @return State of this option + * + * @see elm_config_scroll_animation_disable_set() + * + * @since 1.18 + * @ingroup Scrolling + */ +EAPI Eina_Bool elm_config_scroll_animation_disable_get(void); + +/** + * Set the value for this option + * + * This option disables timed animations during scrolling and forces scroll actions + * to be performed immediately. + * + * @param disable The state of this option + * + * @see elm_config_scroll_animation_disable_get() + * + * @since 1.18 + * @ingroup Scrolling + */ +EAPI void elm_config_scroll_animation_disable_set(Eina_Bool enable); + /** * Get the amount of smoothing to apply to scrolling * -- cgit v1.2.1