elm fingersize: Use correct apis instead of deprecated apis. elm_config_finger_size_get/set instead of elm_finger_size_get/set.

SVN revision: 82003
This commit is contained in:
Daniel Juyung Seo 2013-01-02 18:16:03 +00:00
parent ffb23d5f80
commit efb5d3f995
3 changed files with 5 additions and 5 deletions

View File

@ -1095,11 +1095,11 @@ _config_load(void)
_elm_config->glayer_zoom_finger_enable = EINA_TRUE;
_elm_config->glayer_zoom_finger_factor = 1.0;
_elm_config->glayer_zoom_wheel_factor = 0.05;
_elm_config->glayer_zoom_distance_tolerance = 1.0; /* 1 times elm_finger_size_get() */
_elm_config->glayer_zoom_distance_tolerance = 1.0; /* 1 times elm_config_finger_size_get() */
_elm_config->glayer_rotate_finger_enable = EINA_TRUE;
_elm_config->glayer_rotate_angular_tolerance = 2.0; /* 2 DEG */
_elm_config->glayer_line_min_length = 1.0; /* 1 times elm_finger_size_get() */
_elm_config->glayer_line_distance_tolerance = 3.0; /* 3 times elm_finger_size_get() */
_elm_config->glayer_line_min_length = 1.0; /* 1 times elm_config_finger_size_get() */
_elm_config->glayer_line_distance_tolerance = 3.0; /* 3 times elm_config_finger_size_get() */
_elm_config->glayer_line_angular_tolerance = 20.0; /* 20 DEG */
_elm_config->glayer_flick_time_limit_ms = 120; /* ms to finish flick */
_elm_config->glayer_long_tap_start_timeout = 1.2; /* 1.2 second to start long-tap */

View File

@ -27,7 +27,7 @@
* This takes width and height sizes (in pixels) as input and a
* size multiple (which is how many fingers you want to place
* within the area, being "finger" the size set by
* elm_finger_size_set()), and adjusts the size to be large enough
* elm_config_finger_size_set()), and adjusts the size to be large enough
* to accommodate the resulting size -- if it doesn't already
* accommodate it. On return the @p w and @p h sizes pointed to by
* these parameters will be modified, on those conditions.

View File

@ -191,7 +191,7 @@ EINA_DEPRECATED EAPI const char *elm_engine_current_get(void);
*
* @param size The finger size
* @ingroup Fingers
* @deprecated Use elm_finger_size_set() and elm_config_all_flush()
* @deprecated Use elm_config_finger_size_set() and elm_config_all_flush()
*/
EINA_DEPRECATED EAPI void elm_finger_size_all_set(Evas_Coord size);