From 3df12eb69055c35fa77cc2beaa466456df59a95a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Fri, 12 May 2017 18:10:24 +0900 Subject: [PATCH] evas: Remove Evas_Font_Size from EO Ref T5312 --- src/lib/edje/edje_object.eo | 2 +- src/lib/elementary/elm_code_widget.eo | 2 +- src/lib/evas/Evas_Common.h | 2 ++ src/lib/evas/canvas/evas_types.eot | 2 -- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo index 11de1f3..7c74d23 100644 --- a/src/lib/edje/edje_object.eo +++ b/src/lib/edje/edje_object.eo @@ -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 { diff --git a/src/lib/elementary/elm_code_widget.eo b/src/lib/elementary/elm_code_widget.eo index 1a04e29..2736f6f 100644 --- a/src/lib/elementary/elm_code_widget.eo +++ b/src/lib/elementary/elm_code_widget.eo @@ -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 { diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index 32cac7b..ac2c29c 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h @@ -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 * diff --git a/src/lib/evas/canvas/evas_types.eot b/src/lib/evas/canvas/evas_types.eot index ec24e56..e3a4215 100644 --- a/src/lib/evas/canvas/evas_types.eot +++ b/src/lib/evas/canvas/evas_types.eot @@ -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; -- 2.7.4