elementary - deprecated APIs

elm_finger_size_all_set
elm_scale_all_set
elm_font_overlay_all_apply
elm_cache_flush_interval_all_set
elm_cache_flush_enabled_all_set
elm_font_cache_all_set
elm_image_cache_all_set
elm_edje_file_cache_all_set
elm_edje_collection_cache_all_set
elm_profile_all_set
elm_scroll_bounce_enabled_all_set
elm_scroll_bounce_friction_all_set
elm_scroll_page_scroll_friction_all_set
elm_scroll_bring_in_scroll_friction_all_set
elm_scroll_zoom_friction_all_set
elm_scroll_thumbscroll_enabled_all_set
elm_scroll_thumbscroll_threshold_all_set
elm_scroll_thumbscroll_momentum_threshold_all_set
elm_scroll_thumbscroll_friction_all_set
elm_scroll_thumbscroll_border_friction_all_set



SVN revision: 67976
This commit is contained in:
ChunEon Park 2012-02-15 11:15:37 +00:00
parent 6925bfd4da
commit fed68ee891
7 changed files with 331 additions and 324 deletions

View File

@ -152,7 +152,8 @@ sb_change(void *data __UNUSED__,
Eina_Bool sb = elm_scroll_bounce_enabled_get();
if (val == sb) return;
elm_scroll_bounce_enabled_all_set(val);
elm_scroll_bounce_enabled_set(val);
elm_config_all_flush();
/*TODO: enable/disable subordinate sliders (make 'em support it 1st)*/
}
@ -178,7 +179,8 @@ bf_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (bf == val) return;
elm_scroll_bounce_friction_all_set(val);
elm_scroll_bounce_friction_set(val);
elm_config_all_flush();
}
static void
@ -202,7 +204,8 @@ ps_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (ps == val) return;
elm_scroll_page_scroll_friction_all_set(val);
elm_scroll_page_scroll_friction_set(val);
elm_config_all_flush();
}
static void
@ -226,7 +229,8 @@ bis_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (bis == val) return;
elm_scroll_bring_in_scroll_friction_all_set(val);
elm_scroll_bring_in_scroll_friction_set(val);
elm_config_all_flush();
}
static void
@ -250,7 +254,8 @@ zf_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (zf == val) return;
elm_scroll_zoom_friction_all_set(val);
elm_scroll_zoom_friction_set(val);
elm_config_all_flush();
}
static void
@ -262,7 +267,8 @@ ts_change(void *data __UNUSED__,
Eina_Bool sb = elm_scroll_thumbscroll_enabled_get();
if (val == sb) return;
elm_scroll_thumbscroll_enabled_all_set(val);
elm_scroll_thumbscroll_enabled_set(val);
elm_config_all_flush();
/*TODO: enable/disable subordinate sliders (make 'em support it 1st)*/
}
@ -288,7 +294,8 @@ tst_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (tst == val) return;
elm_scroll_thumbscroll_threshold_all_set(val);
elm_scroll_thumbscroll_threshold_set(val);
elm_config_all_flush();
}
static void
@ -312,7 +319,8 @@ tsmt_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (tsmt == val) return;
elm_scroll_thumbscroll_momentum_threshold_all_set(val);
elm_scroll_thumbscroll_momentum_threshold_set(val);
elm_config_all_flush();
}
static void
@ -336,7 +344,8 @@ tsf_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (tsf == val) return;
elm_scroll_thumbscroll_friction_all_set(val);
elm_scroll_thumbscroll_friction_set(val);
elm_config_all_flush();
}
static void
@ -360,7 +369,8 @@ tsbf_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (tsbf == val) return;
elm_scroll_thumbscroll_border_friction_all_set(val);
elm_scroll_thumbscroll_border_friction_set(val);
elm_config_all_flush();
}
static void
@ -384,7 +394,8 @@ tssf_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (tssf == val) return;
elm_scroll_thumbscroll_sensitivity_friction_all_set(val);
elm_scroll_thumbscroll_sensitivity_friction_set(val);
elm_config_all_flush();
}
static void
@ -397,7 +408,8 @@ cf_enable(void *data,
if (cf == val) return;
elm_object_disabled_set((Evas_Object *)data, !val);
elm_cache_flush_enabled_all_set(val);
elm_cache_flush_enabled_set(val);
elm_config_all_flush();
}
static void
@ -421,7 +433,8 @@ cf_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (cf == val) return;
elm_cache_flush_interval_all_set(val);
elm_cache_flush_interval_set(val);
elm_config_all_flush();
}
static void
@ -445,7 +458,8 @@ fc_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (font_cache == val) return;
elm_font_cache_all_set(val * 1024);
elm_font_cache_set(val * 1024);
elm_config_all_flush();
}
static void
@ -469,7 +483,8 @@ ic_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (image_cache == val) return;
elm_image_cache_all_set(val * 1024);
elm_image_cache_set(val * 1024);
elm_config_all_flush();
}
static void
@ -493,7 +508,8 @@ sc_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (scale == val) return;
elm_scale_all_set(val);
elm_scale_set(val);
elm_config_all_flush();
}
static void
@ -517,7 +533,8 @@ fs_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (fs == val) return;
elm_finger_size_all_set(val);
elm_finger_size_set(val);
elm_config_all_flush();
}
static void
@ -541,7 +558,8 @@ efc_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (efc == val) return;
elm_edje_file_cache_all_set(val);
elm_edje_file_cache_set(val);
elm_config_all_flush();
}
static void
@ -565,7 +583,8 @@ ecc_change(void *data __UNUSED__,
double val = elm_slider_value_get(obj);
if (ecc == val) return;
elm_edje_collection_cache_all_set(val);
elm_edje_collection_cache_set(val);
elm_config_all_flush();
}
static void
@ -875,7 +894,8 @@ _font_overlay_change(void *data __UNUSED__,
}
elm_config_save();
elm_font_overlay_all_apply();
elm_font_overlay_apply();
elm_config_all_flush();
/* TODO: apply hinting */
}
@ -914,70 +934,51 @@ _config_display_update(Evas_Object *win)
zoom_friction = elm_scroll_zoom_friction_get();
/* gotta update root windows' atoms */
// elm_scale_all_set(scale);
elm_slider_value_set(evas_object_data_get(win, "scale_slider"), scale);
// elm_finger_size_all_set(fs);
elm_slider_value_set(evas_object_data_get(win, "fs_slider"), fs);
// elm_cache_flush_interval_all_set(flush_interval);
elm_slider_value_set(evas_object_data_get(win,
"cache_flush_interval_slider"),
flush_interval);
// elm_font_cache_all_set(font_c);
elm_slider_value_set(evas_object_data_get(win, "font_cache_slider"),
font_c / 1024.0);
// elm_image_cache_all_set(image_c);
elm_slider_value_set(evas_object_data_get(win, "image_cache_slider"),
image_c / 1024.0);
// elm_edje_file_cache_all_set(edje_file_c);
elm_slider_value_set(evas_object_data_get(win, "edje_file_cache_slider"),
edje_file_c);
// elm_edje_collection_cache_all_set(edje_col_c);
elm_slider_value_set(evas_object_data_get(win,
"edje_collection_cache_slider"),
edje_col_c);
// elm_scroll_bounce_enabled_all_set(s_bounce);
elm_check_state_set(evas_object_data_get(win, "scroll_bounce_check"),
s_bounce);
// elm_scroll_bounce_friction_all_set(s_bounce_friction);
elm_slider_value_set(evas_object_data_get(win, "bounce_friction_slider"),
s_bounce_friction);
// elm_scroll_thumbscroll_enabled_all_set(ts);
elm_check_state_set(evas_object_data_get(win, "thumbscroll_check"), ts);
// elm_scroll_thumbscroll_threshold_all_set(ts_threshould);
elm_slider_value_set(evas_object_data_get(win,
"thumbscroll_threshold_slider"),
ts_threshould);
// elm_scroll_thumbscroll_momentum_threshold_all_set(ts_momentum_threshold);
elm_slider_value_set(evas_object_data_get(win,
"ts_momentum_threshold_slider"),
ts_momentum_threshold);
// elm_scroll_thumbscroll_friction_all_set(ts_friction);
elm_slider_value_set(evas_object_data_get(win,
"thumbscroll_friction_slider"),
ts_friction);
// elm_scroll_thumbscroll_border_friction_all_set(ts_border_friction);
elm_slider_value_set(evas_object_data_get(win, "ts_border_friction_slider"),
ts_border_friction);
// elm_scroll_thumbscroll_sensitivity_friction_all_set(ts_sensitivity_friction);
elm_slider_value_set(evas_object_data_get(win, "ts_sensitivity_friction_slider"),
ts_sensitivity_friction);
// elm_scroll_page_scroll_friction_all_set(page_friction);
elm_slider_value_set(evas_object_data_get(win,
"page_scroll_friction_slider"),
page_friction);
// elm_scroll_bring_in_scroll_friction_all_set(bring_in_friction);
elm_slider_value_set(evas_object_data_get(win,
"bring_in_scroll_friction_slider"),
bring_in_friction);
// elm_scroll_zoom_friction_all_set(zoom_friction);
elm_slider_value_set(evas_object_data_get(win,
"zoom_scroll_friction_slider"),
zoom_friction);
curr_theme = _elm_theme_current_get(elm_theme_get(NULL));
// elm_theme_all_set(curr_theme);
th = elm_theme_new();
elm_theme_set(th, curr_theme);
@ -1001,7 +1002,8 @@ static void
_profile_change_do(Evas_Object *win,
const char *profile)
{
elm_profile_all_set(profile);
elm_profile_set(profile);
elm_config_all_flush();
_config_display_update(win);
}
@ -3109,22 +3111,13 @@ elm_main(int argc,
}
if (!interactive)
{
if (theme_set)
{
elm_theme_all_set(theme_set);
}
if (finger_size_set)
{
elm_finger_size_all_set(atoi(finger_size_set));
}
if (scale_set)
{
elm_scale_all_set(atof(scale_set));
}
if (quiet)
{
elm_exit();
}
if (theme_set) elm_theme_all_set(theme_set);
if (finger_size_set) elm_finger_size_set(atoi(finger_size_set));
if (scale_set) elm_scale_set(atof(scale_set));
elm_config_all_flush();
if (quiet) elm_exit();
}
elm_run(); /* and run the program now and handle all events, etc. */
/* if the mainloop that elm_run() runs exists, we exit the app */

View File

@ -51,19 +51,6 @@ EAPI int elm_cache_flush_interval_get(void);
*/
EAPI void elm_cache_flush_interval_set(int size);
/**
* 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
* @ingroup Caches
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_cache_flush_interval_all_set(int size);
/**
* Get the configured cache flush enabled state
*
@ -94,19 +81,6 @@ EAPI Eina_Bool elm_cache_flush_enabled_get(void);
*/
EAPI void elm_cache_flush_enabled_set(Eina_Bool enabled);
/**
* 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
* @ingroup Caches
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_cache_flush_enabled_all_set(Eina_Bool enabled);
/**
* Get the configured font cache size
*
@ -127,19 +101,6 @@ EAPI int elm_font_cache_get(void);
*/
EAPI void elm_font_cache_set(int size);
/**
* 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
* @ingroup Caches
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_font_cache_all_set(int size);
/**
* Get the configured image cache size
*
@ -160,18 +121,6 @@ EAPI int elm_image_cache_get(void);
*/
EAPI void elm_image_cache_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
* @ingroup Caches
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_image_cache_all_set(int size);
/**
* Get the configured edje file cache size.
@ -195,19 +144,6 @@ EAPI int elm_edje_file_cache_get(void);
*/
EAPI void elm_edje_file_cache_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
* @ingroup Caches
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_edje_file_cache_all_set(int size);
/**
* Get the configured edje collections (groups) cache size.
*
@ -230,19 +166,6 @@ EAPI int elm_edje_collection_cache_get(void);
*/
EAPI void elm_edje_collection_cache_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
* @ingroup Caches
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_edje_collection_cache_all_set(int size);
/**
* @}
*/

View File

@ -159,18 +159,6 @@ EAPI void elm_profile_list_free(Eina_List *l);
*/
EAPI void elm_profile_set(const char *profile);
/**
* 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
* @ingroup Profile
*
*/
EAPI void elm_profile_all_set(const char *profile);
/**
* @}
*/
@ -206,19 +194,6 @@ EAPI Eina_Bool elm_scroll_bounce_enabled_get(void);
*/
EAPI void elm_scroll_bounce_enabled_set(Eina_Bool enabled);
/**
* 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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
/**
* Get the amount of inertia a scroller will impose at bounce
* animations.
@ -240,18 +215,6 @@ EAPI double elm_scroll_bounce_friction_get(void);
*/
EAPI void elm_scroll_bounce_friction_set(double friction);
/**
* 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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_bounce_friction_all_set(double friction);
/**
* Get the amount of inertia a <b>paged</b> scroller will impose at
* page fitting animations.
@ -273,18 +236,6 @@ EAPI double elm_scroll_page_scroll_friction_get(void);
*/
EAPI void elm_scroll_page_scroll_friction_set(double friction);
/**
* Set the amount of inertia a <b>paged</b> 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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_page_scroll_friction_all_set(double friction);
/**
* Get the amount of inertia a scroller will impose at region bring
* animations.
@ -306,18 +257,6 @@ EAPI double elm_scroll_bring_in_scroll_friction_get(void);
*/
EAPI void elm_scroll_bring_in_scroll_friction_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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_bring_in_scroll_friction_all_set(double friction);
/**
* Get the amount of inertia scrollers will impose at animations
* triggered by Elementary widgets' zooming API.
@ -339,19 +278,6 @@ EAPI double elm_scroll_zoom_friction_get(void);
*/
EAPI void elm_scroll_zoom_friction_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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_zoom_friction_all_set(double friction);
/**
* Get whether scrollers should be draggable from any point in their
* views.
@ -377,18 +303,6 @@ EAPI Eina_Bool elm_scroll_thumbscroll_enabled_get(void);
*/
EAPI void elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
/**
* 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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
/**
* Get the number of pixels one should travel while dragging a
* scroller's view to actually trigger scrolling.
@ -412,19 +326,6 @@ EAPI unsigned int elm_scroll_thumbscroll_threshold_get(void);
*/
EAPI void elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
/**
* 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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
/**
* Get the minimum speed of mouse cursor movement which will trigger
* list self scrolling animation after a mouse up event
@ -448,19 +349,6 @@ EAPI double elm_scroll_thumbscroll_momentum_threshold_get(void);
*/
EAPI void elm_scroll_thumbscroll_momentum_threshold_set(double 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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
/**
* Get the amount of inertia a scroller will impose at self scrolling
* animations.
@ -482,18 +370,6 @@ EAPI double elm_scroll_thumbscroll_friction_get(void);
*/
EAPI void elm_scroll_thumbscroll_friction_set(double friction);
/**
* 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()
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_thumbscroll_friction_all_set(double friction);
/**
* Get the amount of lag between your actual mouse cursor dragging
* movement and a scroller's view movement itself, while pushing it
@ -521,23 +397,6 @@ EAPI double elm_scroll_thumbscroll_border_friction_get(void);
*/
EAPI void elm_scroll_thumbscroll_border_friction_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
*
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_thumbscroll_border_friction_all_set(double friction);
/**
* Get the sensitivity amount which is be multiplied by the length of
* mouse dragging.
@ -563,22 +422,6 @@ EAPI double elm_scroll_thumbscroll_sensitivity_friction_get(void);
*/
EAPI void elm_scroll_thumbscroll_sensitivity_friction_set(double friction);
/**
* Set the sensitivity amount which is be multiplied by the length of
* mouse dragging, for all Elementary application windows.
*
* @param friction the thumb scroll sensitivity friction. @c 0.1 for
* minimum sensitivity, @c 1.0 for maximum sensitivity. 0.25
* is proper.
*
* @see elm_thumbscroll_sensitivity_friction_get()
* @note parameter value will get bound to 0.1 - 1.0 interval, always
*
* @ingroup Scrolling
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scroll_thumbscroll_sensitivity_friction_all_set(double friction);
/**
* @}
*/

View File

@ -12,6 +12,288 @@
*/
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 <b>paged</b> 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.
*
* @param friction the thumb scroll sensitivity friction. @c 0.1 for
* minimum sensitivity, @c 1.0 for maximum sensitivity. 0.25
* is proper.
*
* @see elm_thumbscroll_sensitivity_friction_get()
* @note parameter value will get bound to 0.1 - 1.0 interval, always
* @deprecated Use elm_scroll_thumbscroll_sensitivity_friction_set()
* and elm_config_all_flush()
*
* @ingroup Scrolling
*/
EINA_DEPRECATED EAPI void elm_scroll_thumbscroll_sensitivity_friction_all_set(double friction);
EINA_DEPRECATED EAPI void elm_gen_clear(Evas_Object *obj);
EINA_DEPRECATED EAPI void elm_gen_item_selected_set(Elm_Gen_Item *it, Eina_Bool selected);

View File

@ -36,18 +36,6 @@ EAPI Evas_Coord elm_finger_size_get(void);
*/
EAPI void elm_finger_size_set(Evas_Coord size);
/**
* 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
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_finger_size_all_set(Evas_Coord size);
/**
* Adjust size of an element for finger usage.
*

View File

@ -101,17 +101,6 @@ EAPI void elm_font_overlay_unset(const char *text_class);
*/
EAPI void elm_font_overlay_apply(void);
/**
* 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.
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_font_overlay_all_apply(void);
/**
* Translate a font (family) name string in fontconfig's font names
* syntax into an @c Elm_Font_Properties struct.

View File

@ -35,17 +35,6 @@ EAPI double elm_scale_get(void);
*/
EAPI void elm_scale_set(double scale);
/**
* 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
*/
// XXX: deprecate and replace with elm_config_all_flush()
EAPI void elm_scale_all_set(double scale);
/**
* Set the scaling factor for a given Elementary object
*