forked from enlightenment/efl
Current elm_config has _elm_config->glayer_long_tap_start_timeout and _elm_config->glayer_double_tap_timeout variable but there is no api related to those.
Apps like setting want to change gesture tap timeout value on runtime. So I added below APIs. elm_config_glayer_long_tap_start_timeout_set/get elm_config_glayer_double_tap_timeout_set/get
This commit is contained in:
parent
7a69eb2163
commit
1bcd211857
|
@ -1372,3 +1372,7 @@
|
|||
2013-05-27 Jihoon Kim (jihoon)
|
||||
|
||||
* Add ELM_INPUT_PANEL_LAYOUT_DATETIME.
|
||||
|
||||
2013-05-27 Seunggyun Kim
|
||||
* Add elm_config_glayer_long_tap_start_timeout_set/get,
|
||||
elm_config_glayer_double_tap_timeout_set/get
|
||||
|
|
|
@ -71,6 +71,7 @@ Additions:
|
|||
* Add selection handlers to entry.
|
||||
* Add support elm_object_item_signal_emit() for elm_list.
|
||||
* Add ELM_INPUT_PANEL_LAYOUT_DATETIME.
|
||||
* Add elm_config_glayer_long_tap_start_timeout_set/get, elm_config_glayer_double_tap_timeout_set/get
|
||||
|
||||
Improvements:
|
||||
|
||||
|
|
|
@ -2335,6 +2335,30 @@ elm_config_clouseau_enabled_set(Eina_Bool enable)
|
|||
_elm_clouseau_reload();
|
||||
}
|
||||
|
||||
EAPI double
|
||||
elm_config_glayer_long_tap_start_timeout_get(void)
|
||||
{
|
||||
return _elm_config->glayer_long_tap_start_timeout;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_config_glayer_long_tap_start_timeout_set(double long_tap_timeout)
|
||||
{
|
||||
_elm_config->glayer_long_tap_start_timeout = long_tap_timeout;
|
||||
}
|
||||
|
||||
EAPI double
|
||||
elm_config_glayer_double_tap_timeout_get(void)
|
||||
{
|
||||
return _elm_config->glayer_double_tap_timeout;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_config_glayer_double_tap_timeout_set(double double_tap_timeout)
|
||||
{
|
||||
_elm_config->glayer_double_tap_timeout = double_tap_timeout;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_config_all_flush(void)
|
||||
{
|
||||
|
|
|
@ -1189,6 +1189,38 @@ EAPI void elm_config_clouseau_enabled_set(Eina_Bool enabled);
|
|||
*/
|
||||
EAPI const char *elm_config_indicator_service_get(int rotation);
|
||||
|
||||
/**
|
||||
* Get the duration for occurring long tap event of gesture layer.
|
||||
*
|
||||
* @return Timeout for long tap event of gesture layer.
|
||||
* @ingroup glayer
|
||||
*/
|
||||
EAPI double elm_config_glayer_long_tap_start_timeout_get(void);
|
||||
|
||||
/**
|
||||
* Set the duration for occurring long tap event of gesture layer.
|
||||
*
|
||||
* @param long_tap_timeout Timeout for long tap event of gesture layer.
|
||||
* @ingroup glayer
|
||||
*/
|
||||
EAPI void elm_config_glayer_long_tap_start_timeout_set(double long_tap_timeout);
|
||||
|
||||
/**
|
||||
* Get the duration for occurring double tap event of gesture layer.
|
||||
*
|
||||
* @return Timeout for double tap event of gesture layer.
|
||||
* @ingroup glayer
|
||||
*/
|
||||
EAPI double elm_config_glayer_double_tap_timeout_get(void);
|
||||
|
||||
/**
|
||||
* Set the duration for occurring double tap event of gesture layer.
|
||||
*
|
||||
* @param long_tap_timeout Timeout for double tap event of gesture layer.
|
||||
* @ingroup glayer
|
||||
*/
|
||||
EAPI void elm_config_glayer_double_tap_timeout_set(double double_tap_timeout);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue