From 2088b3dc29ec193f8c12d75d578f0f738e8292a5 Mon Sep 17 00:00:00 2001 From: jypark Date: Fri, 17 Feb 2012 03:10:28 +0000 Subject: [PATCH] Remove deprecated function and implementation. I already grep all source directory under turnk. but there is no place using this deprecated function. so I remove it. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68048 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_deprecated.h | 280 ----------------------------------------------- src/lib/elm_main.c | 146 ------------------------ 2 files changed, 426 deletions(-) diff --git a/src/lib/elm_deprecated.h b/src/lib/elm_deprecated.h index eb191b8..5f622a2 100644 --- a/src/lib/elm_deprecated.h +++ b/src/lib/elm_deprecated.h @@ -1,284 +1,4 @@ /** - * @brief Get Elementary's rendering engine in use. - * - * @return The rendering engine's name - * @note there's no need to free the returned string, here. - * - * This gets the global rendering engine that is applied to all Elementary - * applications. - * - * @see elm_engine_set() - * @deprecated Use elm_engine_get() instead. - */ -EINA_DEPRECATED EAPI const char *elm_engine_current_get(void); - -/** - * Set the configured finger size for all applications on the display - * - * This sets the globally configured finger size in pixels for all - * applications on the display - * - * @param size The finger size - * @ingroup Fingers - * @deprecated Use elm_finger_size_set() and elm_config_all_flush() - */ -EINA_DEPRECATED EAPI void elm_finger_size_all_set(Evas_Coord size); - -/** - * Set the global scaling factor for all applications on the display - * - * This sets the globally configured scaling factor that is applied to all - * objects for all applications. - * @param scale The scaling factor to set - * @ingroup Scaling - * @deprecated use elm_scale_set() and elm_config_all_flush() - */ -EINA_DEPRECATED EAPI void elm_scale_all_set(double scale); - -/** - * Apply the changes made with elm_font_overlay_set() and - * elm_font_overlay_unset() on all Elementary application windows. - * - * @ingroup Fonts - * - * This applies all font overlays set to all objects in the UI. - * @deprecated Use elm_font_overlay_apply and elm_config_all_flush() - */ -EINA_DEPRECATED EAPI void elm_font_overlay_all_apply(void); - -/** - * Set the configured cache flush interval time for all applications on the - * display - * - * This sets the globally configured cache flush interval time -- in ticks - * -- for all applications on the display. - * - * @param size The cache flush interval time - * @deprecated Use elm_cache_flush_interval_set() and elm_config_all_flush() - * @ingroup Caches - */ -EINA_DEPRECATED EAPI void elm_cache_flush_interval_all_set(int size); - -/** - * Set the configured cache flush enabled state for all applications on the - * display - * - * This sets the globally configured cache flush enabled state for all - * applications on the display. - * - * @param enabled The cache flush enabled state - * @deprecated Use elm_cache_flush_enabled_set adnd elm_config_all_flush() - * @ingroup Caches - */ -EINA_DEPRECATED EAPI void elm_cache_flush_enabled_all_set(Eina_Bool enabled); - -/** - * Set the configured font cache size for all applications on the - * display - * - * This sets the globally configured font cache size -- in bytes - * -- for all applications on the display. - * - * @param size The font cache size - * @deprecated Use elm_font_cache_set() and elm_config_all_flush() - * @ingroup Caches - */ -EINA_DEPRECATED EAPI void elm_font_cache_all_set(int size); - -/** - * Set the configured image cache size for all applications on the - * display - * - * This sets the globally configured image cache size -- in bytes - * -- for all applications on the display. - * - * @param size The image cache size - * @deprecated Use elm_image_cache_set() and elm_config_all_flush() - * @ingroup Caches - */ -EINA_DEPRECATED EAPI void elm_image_cache_all_set(int size); - -/** - * Set the configured edje file cache size for all applications on the - * display - * - * This sets the globally configured edje file cache size -- in number - * of files -- for all applications on the display. - * - * @param size The edje file cache size - * @deprecated Use elm_edje_file_cache_set() and elm_config_all_flush() - * @ingroup Caches - */ -EINA_DEPRECATED EAPI void elm_edje_file_cache_all_set(int size); - -/** - * Set the configured edje collections (groups) cache size for all - * applications on the display - * - * This sets the globally configured edje collections cache size -- in - * number of collections -- for all applications on the display. - * - * @param size The edje collections cache size - * @deprecated Use elm_edje_collection_cache_set() and elm_config_all_flush() - * @ingroup Caches - */ -EINA_DEPRECATED EAPI void elm_edje_collection_cache_all_set(int size); - -/** - * Set Elementary's profile. - * - * This sets the global profile that is applied to all Elementary - * applications. All running Elementary windows will be affected. - * - * @param profile The profile's name - * @deprecated Use elm_profile_set() and elm_config_all_flush() - * @ingroup Profile - * - */ -EINA_DEPRECATED EAPI void elm_profile_all_set(const char *profile); - -/** - * Set whether scrollers should bounce when they reach their - * viewport's edge during a scroll, for all Elementary application - * windows. - * - * @param enabled the thumb scroll bouncing state - * - * @see elm_thumbscroll_bounce_enabled_get() - * @deprecated Use elm_scroll_bounce_enabled_set() and elm_config_all_flush() - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_bounce_enabled_all_set(Eina_Bool enabled); - -/** - * Set the amount of inertia a scroller will impose at bounce - * animations, for all Elementary application windows. - * - * @param friction the thumb scroll bounce friction - * - * @see elm_thumbscroll_bounce_friction_get() - * @deprecated Use elm_scroll_bounce_friction_set() and elm_config_all_flush() - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_bounce_friction_all_set(double friction); - -/** - * Set the amount of inertia a paged scroller will impose at - * page fitting animations, for all Elementary application windows. - * - * @param friction the page scroll friction - * - * @see elm_thumbscroll_page_scroll_friction_get() - * @deprecated Use elm_scroll_page_scroll_friction_set() and - * elm_config_all_flush() - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_page_scroll_friction_all_set(double friction); - -/** - * Set the amount of inertia a scroller will impose at region bring - * animations, for all Elementary application windows. - * - * @param friction the bring in scroll friction - * - * @see elm_thumbscroll_bring_in_scroll_friction_get() - * @deprecated Use elm_scroll_bring_in_scroll_friction_set() and - * elm_config_all_flush() - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_bring_in_scroll_friction_all_set(double friction); - -/** - * Set the amount of inertia scrollers will impose at animations - * triggered by Elementary widgets' zooming API, for all Elementary - * application windows. - * - * @param friction the zoom friction - * - * @see elm_thumbscroll_zoom_friction_get() - * @deprecated Use elm_scroll_zoom_friction_set() and elm_config_all_flush() - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_zoom_friction_all_set(double friction); - -/** - * Set whether scrollers should be draggable from any point in their - * views, for all Elementary application windows. - * - * @param enabled the thumb scroll state - * - * @see elm_thumbscroll_enabled_get() - * @deprecated Use elm_scroll_thumbscroll_enabled_set() - * and elm_config_all_flush() - * - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled); - -/** - - * Set the number of pixels one should travel while dragging a - * scroller's view to actually trigger scrolling, for all Elementary - * application windows. - * - * @param threshold the thumb scroll threshold - * - * @see elm_thumbscroll_threshold_get() - * @deprecated Use elm_scroll_thumbscroll_threshold_set() - * and elm_config_all_flush() - * - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold); - -/** - * Set the minimum speed of mouse cursor movement which will trigger - * list self scrolling animation after a mouse up event - * (pixels/second), for all Elementary application windows. - * - * @param threshold the thumb scroll momentum threshold - * - * @see elm_thumbscroll_momentum_threshold_get() - * @deprecated Use elm_scroll_thumbscroll_momentum_threshold_set() - * and elm_config_all_flush() - * - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold); - -/** - * Set the amount of inertia a scroller will impose at self scrolling - * animations, for all Elementary application windows. - * - * @param friction the thumb scroll friction - * - * @see elm_thumbscroll_friction_get() - * @deprecated Use elm_scroll_thumbscroll_friction_set() - * and elm_config_all_flush() - * - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_thumbscroll_friction_all_set(double friction); - -/** - * Set the amount of lag between your actual mouse cursor dragging - * movement and a scroller's view movement itself, while pushing it - * into bounce state manually, for all Elementary application windows. - * - * @param friction the thumb scroll border friction. @c 0.0 for - * perfect synchrony between two movements, @c 1.0 for maximum - * lag. - * - * @see elm_thumbscroll_border_friction_get() - * @note parameter value will get bound to 0.0 - 1.0 interval, always - * @deprecated Use elm_scroll_thumbscroll_border_friction_set() - * and elm_config_all_flush() - * - * @ingroup Scrolling - */ -EINA_DEPRECATED EAPI void elm_scroll_thumbscroll_border_friction_all_set(double friction); - -/** * Set the sensitivity amount which is be multiplied by the length of * mouse dragging, for all Elementary application windows. * diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c index c9f3928..4d76dd1 100644 --- a/src/lib/elm_main.c +++ b/src/lib/elm_main.c @@ -1030,13 +1030,6 @@ elm_scale_set(double scale) _elm_rescale(); } -EAPI void -elm_scale_all_set(double scale) -{ - elm_scale_set(scale); - elm_config_all_flush(); -} - EAPI Eina_Bool elm_password_show_last_get(void) { @@ -1148,19 +1141,6 @@ elm_profile_set(const char *profile) _elm_config_profile_set(profile); } -EAPI void -elm_profile_all_set(const char *profile) -{ - _elm_config_profile_set(profile); - elm_config_all_flush(); -} - -EAPI const char * -elm_engine_current_get(void) -{ - return elm_engine_get(); -} - EAPI const char * elm_engine_get(void) { @@ -1213,13 +1193,6 @@ elm_font_overlay_apply(void) _elm_config_font_overlay_apply(); } -EAPI void -elm_font_overlay_all_apply(void) -{ - elm_font_overlay_apply(); - elm_config_all_flush(); -} - EAPI Elm_Font_Properties * elm_font_properties_get(const char *font) { @@ -1315,13 +1288,6 @@ elm_finger_size_set(Evas_Coord size) } EAPI void -elm_finger_size_all_set(Evas_Coord size) -{ - elm_finger_size_set(size); - elm_config_all_flush(); -} - -EAPI void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, @@ -1366,13 +1332,6 @@ elm_cache_flush_interval_set(int size) _elm_recache(); } -EAPI void -elm_cache_flush_interval_all_set(int size) -{ - elm_cache_flush_interval_set(size); - elm_config_all_flush(); -} - EAPI Eina_Bool elm_cache_flush_enabled_get(void) { @@ -1389,13 +1348,6 @@ elm_cache_flush_enabled_set(Eina_Bool enabled) _elm_recache(); } -EAPI void -elm_cache_flush_enabled_all_set(Eina_Bool enabled) -{ - elm_cache_flush_enabled_set(enabled); - elm_config_all_flush(); -} - EAPI int elm_font_cache_get(void) { @@ -1411,13 +1363,6 @@ elm_font_cache_set(int size) _elm_recache(); } -EAPI void -elm_font_cache_all_set(int size) -{ - elm_font_cache_set(size); - elm_config_all_flush(); -} - EAPI int elm_image_cache_get(void) { @@ -1433,13 +1378,6 @@ elm_image_cache_set(int size) _elm_recache(); } -EAPI void -elm_image_cache_all_set(int size) -{ - elm_image_cache_set(size); - elm_config_all_flush(); -} - EAPI int elm_edje_file_cache_get(void) { @@ -1455,13 +1393,6 @@ elm_edje_file_cache_set(int size) _elm_recache(); } -EAPI void -elm_edje_file_cache_all_set(int size) -{ - elm_edje_file_cache_set(size); - elm_config_all_flush(); -} - EAPI int elm_edje_collection_cache_get(void) { @@ -1477,13 +1408,6 @@ elm_edje_collection_cache_set(int size) _elm_recache(); } -EAPI void -elm_edje_collection_cache_all_set(int size) -{ - elm_edje_collection_cache_set(size); - elm_config_all_flush(); -} - EAPI Eina_Bool elm_object_focus_get(const Evas_Object *obj) { @@ -1647,13 +1571,6 @@ elm_scroll_bounce_enabled_set(Eina_Bool enabled) _elm_config->thumbscroll_bounce_enable = enabled; } -EAPI void -elm_scroll_bounce_enabled_all_set(Eina_Bool enabled) -{ - elm_scroll_bounce_enabled_set(enabled); - elm_config_all_flush(); -} - EAPI double elm_scroll_bounce_friction_get(void) { @@ -1666,13 +1583,6 @@ elm_scroll_bounce_friction_set(double friction) _elm_config->thumbscroll_bounce_friction = friction; } -EAPI void -elm_scroll_bounce_friction_all_set(double friction) -{ - elm_scroll_bounce_friction_set(friction); - elm_config_all_flush(); -} - EAPI double elm_scroll_page_scroll_friction_get(void) { @@ -1685,13 +1595,6 @@ elm_scroll_page_scroll_friction_set(double friction) _elm_config->page_scroll_friction = friction; } -EAPI void -elm_scroll_page_scroll_friction_all_set(double friction) -{ - elm_scroll_page_scroll_friction_set(friction); - elm_config_all_flush(); -} - EAPI double elm_scroll_bring_in_scroll_friction_get(void) { @@ -1704,13 +1607,6 @@ elm_scroll_bring_in_scroll_friction_set(double friction) _elm_config->bring_in_scroll_friction = friction; } -EAPI void -elm_scroll_bring_in_scroll_friction_all_set(double friction) -{ - elm_scroll_bring_in_scroll_friction_set(friction); - elm_config_all_flush(); -} - EAPI double elm_scroll_zoom_friction_get(void) { @@ -1723,13 +1619,6 @@ elm_scroll_zoom_friction_set(double friction) _elm_config->zoom_friction = friction; } -EAPI void -elm_scroll_zoom_friction_all_set(double friction) -{ - elm_scroll_zoom_friction_set(friction); - elm_config_all_flush(); -} - EAPI Eina_Bool elm_scroll_thumbscroll_enabled_get(void) { @@ -1742,13 +1631,6 @@ elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled) _elm_config->thumbscroll_enable = enabled; } -EAPI void -elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled) -{ - elm_scroll_thumbscroll_enabled_set(enabled); - elm_config_all_flush(); -} - EAPI unsigned int elm_scroll_thumbscroll_threshold_get(void) { @@ -1761,13 +1643,6 @@ elm_scroll_thumbscroll_threshold_set(unsigned int threshold) _elm_config->thumbscroll_threshold = threshold; } -EAPI void -elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold) -{ - elm_scroll_thumbscroll_threshold_set(threshold); - elm_config_all_flush(); -} - EAPI double elm_scroll_thumbscroll_momentum_threshold_get(void) { @@ -1780,13 +1655,6 @@ elm_scroll_thumbscroll_momentum_threshold_set(double threshold) _elm_config->thumbscroll_momentum_threshold = threshold; } -EAPI void -elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold) -{ - elm_scroll_thumbscroll_momentum_threshold_set(threshold); - elm_config_all_flush(); -} - EAPI double elm_scroll_thumbscroll_friction_get(void) { @@ -1799,13 +1667,6 @@ elm_scroll_thumbscroll_friction_set(double friction) _elm_config->thumbscroll_friction = friction; } -EAPI void -elm_scroll_thumbscroll_friction_all_set(double friction) -{ - elm_scroll_thumbscroll_friction_set(friction); - elm_config_all_flush(); -} - EAPI double elm_scroll_thumbscroll_border_friction_get(void) { @@ -1820,13 +1681,6 @@ elm_scroll_thumbscroll_border_friction_set(double friction) _elm_config->thumbscroll_friction = friction; } -EAPI void -elm_scroll_thumbscroll_border_friction_all_set(double friction) -{ - elm_scroll_thumbscroll_border_friction_set(friction); - elm_config_all_flush(); -} - EAPI double elm_scroll_thumbscroll_sensitivity_friction_get(void) { -- 2.7.4