summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-05-12 18:10:24 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-05-15 10:29:23 +0900
commit3df12eb69055c35fa77cc2beaa466456df59a95a (patch)
treeb2789dcebb403c39d24b32c0c383cc812aca9567
parent51f5f43d430d1bfbd4108e50c60877c35678853e (diff)
downloadefl-3df12eb69055c35fa77cc2beaa466456df59a95a.tar.gz
evas: Remove Evas_Font_Size from EO
Ref T5312
-rw-r--r--src/lib/edje/edje_object.eo2
-rw-r--r--src/lib/elementary/elm_code_widget.eo2
-rw-r--r--src/lib/evas/Evas_Common.h2
-rw-r--r--src/lib/evas/canvas/evas_types.eot2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
index 11de1f3571..7c74d232c8 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 1a04e290c8..2736f6f4c0 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 32cac7b51d..ac2c29c743 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 ec24e5610d..e3a4215c65 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;