win: Remove font & image cache functions

Those actually belong to elm_config, or rather Efl.Config:
  efl_config_int_set("cache_image_cache_size", 42);
  efl_config_int_set("cache_font_cache_size", 1337);
This commit is contained in:
Jean-Philippe Andre 2016-06-30 11:47:38 +09:00
parent 92a67f1a61
commit 2065aedc44
3 changed files with 0 additions and 56 deletions

View File

@ -58,34 +58,6 @@ interface Efl.Canvas ()
maxh: int; [[Pointer to hold the return value in pixels of the maximum height.]]
}
}
@property image_cache {
set {
[[Set the image cache.
This function sets the image cache of canvas in bytes.
]]
}
get {
[[Get the image cache.
This function returns the image cache size of canvas in bytes.
]]
}
values {
size: int; [[The cache size.]]
}
}
@property font_cache {
set {
[[Changes the size of font cache of the given evas.]]
}
get {
[[Get the size of font cache of the given evas in bytes.]]
}
values {
size: int; [[The size in bytes.]]
}
}
smart_objects_calculate {
[[Call user-provided $calculate smart functions and unset the
flag signalling that the object needs to get recalculated to

View File

@ -2161,30 +2161,6 @@ _efl_ui_win_efl_canvas_image_max_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *
return evas_image_max_size_get(sd->evas, maxw, maxh);
}
EOLIAN static void
_efl_ui_win_efl_canvas_image_cache_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int size)
{
evas_image_cache_set(sd->evas, size);
}
EOLIAN static int
_efl_ui_win_efl_canvas_image_cache_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
{
return evas_image_cache_get(sd->evas);
}
EOLIAN static void
_efl_ui_win_efl_canvas_font_cache_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int size)
{
evas_font_cache_set(sd->evas, size);
}
EOLIAN static int
_efl_ui_win_efl_canvas_font_cache_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
{
return evas_font_cache_get(sd->evas);
}
EOLIAN static void
_efl_ui_win_efl_canvas_smart_objects_calculate(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
{

View File

@ -853,10 +853,6 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Elm.Interface.Atspi.Window,
Efl.Canvas.pointer_canvas_xy.get;
Efl.Canvas.pointer_inside.get;
Efl.Canvas.image_max_size.get;
Efl.Canvas.image_cache.get;
Efl.Canvas.image_cache.set;
Efl.Canvas.font_cache.get;
Efl.Canvas.font_cache.set;
Efl.Canvas.smart_objects_calculate;
Efl.Canvas.objects_at_xy_get;
Efl.Canvas.object_top_at_xy_get;