evas: Remove Evas_Font_Size from EO
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 12 May 2017 09:10:24 +0000 (18:10 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 15 May 2017 01:29:23 +0000 (10:29 +0900)
Ref T5312

src/lib/edje/edje_object.eo
src/lib/elementary/elm_code_widget.eo
src/lib/evas/Evas_Common.h
src/lib/evas/canvas/evas_types.eot

index 11de1f3..7c74d23 100644 (file)
@@ -766,7 +766,7 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, Efl.Container, Efl.Part,
          }
          values {
             font: string; [[Font name]]
-            size: Evas.Font.Size; [[Font Size]]
+            size: int; [[Font Size]]
          }
       }
       text_class_del {
index 1a04e29..2736f6f 100644 (file)
@@ -36,7 +36,7 @@ class Elm.Code_Widget (Elm.Layout, Elm.Interface.Atspi.Text)
          }
          values {
             name: string; [[The name of the font to load]]
-            size: Evas.Font.Size; [[The font size for the widget]]
+            size: int; [[The font size for the widget]]
          }
       }
       @property columns {
index 32cac7b..ac2c29c 100644 (file)
@@ -107,6 +107,8 @@ typedef struct _Evas_Coord_Precision_Size  Evas_Coord_Precision_Size;    /**< Ev
 typedef struct _Evas_Position              Evas_Position;   /**< associates given point in Canvas and Output */
 typedef struct _Evas_Precision_Position    Evas_Precision_Position;   /**< associates given point in Canvas and Output, with sub-pixel precision */
 
+typedef int                                Evas_Font_Size; /**< Type used for font sizes (int). */
+
 /**
  * @typedef Evas_Smart_Class
  *
index ec24e56..e3a4215 100644 (file)
@@ -33,8 +33,6 @@ enum Evas.Text_Style_Type {
    shadow_direction_right = (0x7 << 4)              [[shadow growing to the right]]
 }
 
-type Evas.Font.Size: int; [[A type for font size]]
-
 enum Evas.Font.Hinting_Flags {
    [[Flags for Font Hinting]]
    legacy: Evas_Font_Hinting;