win: Remove font & image cache functions
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 30 Jun 2016 02:47:38 +0000 (11:47 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 30 Jun 2016 05:34:59 +0000 (14:34 +0900)
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);

src/lib/efl/interfaces/efl_canvas.eo
src/lib/elementary/efl_ui_win.c
src/lib/elementary/efl_ui_win.eo

index 683f493..afcd77f 100644 (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
index 9c2d16f..0e4e023 100644 (file)
@@ -2162,30 +2162,6 @@ _efl_ui_win_efl_canvas_image_max_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *
 }
 
 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)
 {
    evas_smart_objects_calculate(sd->evas);
index 16797de..8617f75 100644 (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;