From b626df0251bad20cc7295584c6ba06be4ddacc27 Mon Sep 17 00:00:00 2001 From: Seunggyun Kim Date: Tue, 28 May 2013 19:05:52 +0900 Subject: [PATCH] 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 Conflicts: ChangeLog NEWS src/lib/elm_config.c Change-Id: I279277563694b1e09ff5dfcdac109a46db3320bd --- ChangeLog | 209 +++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 25 ++++++ src/lib/elm_config.c | 24 ++++++ src/lib/elm_config.h | 32 ++++++++ 4 files changed, 290 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4f4dea0..34fea79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -817,3 +817,212 @@ * Fix the elm_shutdown bug in _elm_shutdown_config. When the elm_shutdown is used after elm_config_all_flush, the segment fault occur. It's why it uses ecore_x in _prop_all_update_cb after removing it. + +2013-03-20 Carsten Haitzler (The Rasterman) + + * Fix elm box layout when an item has a max size, and that squashes all + content even when the minimum size is greater. + +2013-03-23 WooHyun Jung + + * Add four more focus directions. ELM_FOCUS_UP/DOWN/RIGHT/LEFT. + * Add elm_object_focus_next_object_get/set. + * Add elm_object_focused_object_get. + +2013-03-27 Jihoon Kim + + * Add elm_entry_input_panel_layout_variation_set/get API + +2013-03-29 ChunEon Park (Hermet) + + * Map supports "language,changed" smart callback. + +2013-03-29 Mike Blumenkrantz + + * Fix ctxpopup geometry when parent is an elm_win. + +2013-04-01 Jaehwan Kim + + * Scroller decides whether the accelerator is on or not, depending on the velocity and the interval time of the flick event. + +2013-04-01 Jaehwan Kim + + * Add the repeat_events_set/get for blocking the events of content objects. + This feature is useful to the access. + +2013-04-01 ChunEon Park (Hermet) + + * Add convenient macros - elm_object_translatable_part_text_set(), elm_object_item_translatable_part_text_set(). + +2013-04-06 Jaehwan Kim + + * Add the API elm_scroller_page_scroll_limit_set/get. + It sets the maxium of the movable page at flicking. + +2013-04-08 Jaehwan Kim + + * Quit the scroll animator if the scroller don't have a bounce and reach a edge. + +2013-04-08 Jaehwan Kim + + * Fix the scroller show by a page if the page size is set and the region_bring_in or region_show is called. + +2013-04-08 Rafael Antognolli + + * Fix layout_example_02. + * Fix hoversel_example_01. + +2013-04-09 Daniel Juyung Seo (SeoZ) + + * Fix elc_player crash issue. + +2013-04-09 Carsten Haitzler (The Rasterman) + + * Add elm_mapbuf_auto_set()/elm_mapbuf_auto_get() + +2013-04-09 WooHyun Jung + + * Ctxpopup is now supproting focus_direction. + +2013-04-10 Jaehwan Kim + + * Fix the region_show/region_bring_in don't have a limit at a paging movement. + +2013-04-10 Jaehwan Kim + + * Add the API elm_scroller_single_direction_set/get. + This sets how the content is scrolled. + +2013-04-10 Jaehwan Kim + + * Fix the calculation double type number. + Round off to the nearest whole number. + +2013-04-15 Jaehwan Kim + + * Add the feature for key events. + +2013-04-16 Jaehwan Kim + + * Fix the policy is not changed when the theme is changed. + The "reload" signal from edc is necessary always. + +2013-04-16 WooHyun Jung + + * When entry is disabled, scrolling is also disabled. + +2013-04-17 ChunEon Park (Hermet) + + * Don't try to pop the naviframe item multiple times. + +2013-04-18 Shinwoo Kim + + * Add elm_access_action(), elm_access_action_cb_set() + +2013-04-22 Shinwoo Kim + + * Make access object unfocusable when Aaccessibility is disabled. + +2013-04-23 ChunEon Park (Hermet) + + * Added elm_object_domain_part_text_translatable_set(), + elm_object_item_domain_part_text_translatable_set(). + +2013-04-23 Jaehwan Kim + + * Fix the scrolled entry in scroller is located wrong position when the + cursor is changed. It is a scroller in scroller. In this case, it moved + twice. + +2013-04-23 ChunEon Park (Hermet) + + * Support language change for widget items (Ctxpopup, Hoversel, + Naviframe, Diskselector, List, Menu, Segment_Control, Toolbar, Popup, + MultibuttonEntry) + +2013-04-23 ChunEon Park (Hermet) + + * Support language,changed callback (Fileselector_Button, + Fileselector Entry, Spinner + +2013-04-25 ChunEon Park (Hermet) + + * Fix null pointer access on naviframe item deletion. + +2013-04-29 ChunEon Park (Hermet) + + * Fix toolbar item clipped problem on reordering toolbar item. + +2013-04-30 Jaehwan Kim + + * Add the config elm_scroll_smooth_start_enable. + There's no tick when scroller starts scroll if it's set. + +2013-04-30 ChunEon Park (Hermet) + + * Layout supports "language,changed" smart callback. + +2013-04-30 Jaehwan Kim + + * The momentum animation time is changed as the amount of flick. + +2013-05-01 Ryuan Choi (ryuan) + + * Fix elm_object_cursor_theme_search_enabled_set to do as it's name described. + +2013-05-02 WooHyun Jung + + * elm_entry_filter_accept_set function now can recognize tags. + +2013-05-02 ChunEon Park (Hermet) + + * Don't be dead even if a ctxpopup item callback function is null. + +2013-05-03 Shinwoo Kim + + * Fix gengrid does not work under the accessibility. + * Fix do not append NULL to genlist focus list. + +2013-05-01 Ryuan Choi (ryuan) + + * Fix elm_clock_first_interval_set writes wrong value. + +2013-05-06 WooHyun Jung + + * Add elm_entry smart callback - "text,set,done". + +2013-05-09 Seunggyun Kim + + * Fix remained ecore timer issue when gesture layer was deleted. + +2013-05-14 Youngbok Shin + + * Fix ctxpopup can't be called again in the mobile mode entry. + +2013-05-16 Ryuan Choi (ryuan) + + * Fix single line enty got multiple line when pasted multiple line. + +2013-05-17 Thiep Ha + + * Add selection handlers to entry. + +2013-05-23 Daniel Juyung Seo (SeoZ) + + * Fix colorselector color change but when palette item is selected. + +2013-05-23 Ryuan Choi (ryuan) + + * Fix elm_colorselector does not emit "changed" when clicked color palatte. + +2013-05-27 Tae-Hwan Kim (bluezery) + + * Add support elm_object_item_signal_emit() for elm_list. + +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 diff --git a/NEWS b/NEWS index bd76d21..f5b3179 100644 --- a/NEWS +++ b/NEWS @@ -33,6 +33,31 @@ Additions: * Add edje_object_message_signal_process before edje_object_size_min_restricted_calc. * Add elm_object_item_signal_callback_add(), elm_object_item_signal_callback_del(). * Add the config ELM_THUMBSCROLL_HOLD_THRESHOLD. + * Add elm_naviframe_item_pop_cb_set(). + * Add elm_widget_newest_focus_order_get for knowing the last object(and its focus order) which got focus. + * Add the smart signals in scroller. "scroll,left", "scroll,right", "scroll,up", "scroll,down". + * Add four more focus diretions. ELM_FOCUS_UP, ELM_FOCUS_DOWN, ELM_FOCUS_RIGHT, ELM_FOCUS_LEFT. + * Add APIs - elm_object_focus_next_object_get, elm_object_focus_next_object_set. + * Add API - elm_object_focused_object_get. + * Add APIs - elm_entry_input_panel_layout_variation_set/get + * Add elm_map smart callback - "language,changed". + * Add the repeat_events_set/get for blocking the events of content objects. + * Add convenient macros - elm_object_translatable_part_text_set(), elm_object_item_translatable_part_text_set(). + * Add the API elm_scroller_page_scroll_limit_set/get. + * Add elm_mapbuf_auto_set/get. + * Add the API elm_scroller_single_direction_set/get. + * Add the feature for key events. + * Add elm_access_action(), elm_access_action_cb_set() + * Add elm_object_domain_part_text_translatable_set(), elm_object_item_domain_part_text_translatable_set(). + * Support language,changed callback (Fileselector_Button, Fileselector Entry, Spinner. + * Add the config elm_scroll_smooth_start_enable. + * Add elm_layout smart callback - "language,changed". + * The momentum animation time is changed as the amount of flick. + * Add elm_entry smart callback - "text,set,done". + * 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: diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index a337f9a..4b34701 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -2201,6 +2201,30 @@ elm_config_softcursor_mode_get(void) return _elm_config->softcursor_mode; } +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) { diff --git a/src/lib/elm_config.h b/src/lib/elm_config.h index b7157b5..9aed15a 100644 --- a/src/lib/elm_config.h +++ b/src/lib/elm_config.h @@ -1127,6 +1127,38 @@ EAPI void elm_config_mirrored_set(Eina_Bool mirrored); 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); + +/** * @} */ -- 2.7.4