summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_text_font.eo
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-04-06 13:30:40 +0200
committerCedric Bail <cedric@osg.samsung.com>2018-04-24 09:03:49 -0700
commit6b5ac687c1a36569af9804f5e545b197d3892040 (patch)
tree42e0a62f7d923ce27d908c154824c66c3ff2bb22 /src/lib/efl/interfaces/efl_text_font.eo
parentb693b063396ac9ca40fee3ef71422bea4d4c731d (diff)
Efl.Text_* (from Efl.Text.*)
Including: Efl.Text.Cursor_* (from Efl.Text.Cursor.Cursor_*) Efl.Text.Font_* (from Efl.Text.Font.*) Efl.Text.Format_* (from Efl.Text.Format.*) Efl.Text.Style_* (from Efl.Text.Style.*) Efl.Ui.Text_* (from Efl.Ui.Text.*) Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/efl/interfaces/efl_text_font.eo')
-rw-r--r--src/lib/efl/interfaces/efl_text_font.eo26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/efl/interfaces/efl_text_font.eo b/src/lib/efl/interfaces/efl_text_font.eo
index 4daf73aef2..34e5dab22a 100644
--- a/src/lib/efl/interfaces/efl_text_font.eo
+++ b/src/lib/efl/interfaces/efl_text_font.eo
@@ -1,6 +1,6 @@
1// src/lib/efl/interfaces/efl_text_font.eo 1// src/lib/efl/interfaces/efl_text_font.eo
2import efl_gfx_types; 2import efl_gfx_types;
3enum Efl.Text.Font.Weight { 3enum Efl.Text_Font_Weight {
4 [[Type of font weight]] 4 [[Type of font weight]]
5 normal, [[Normal font weight]] 5 normal, [[Normal font weight]]
6 thin, [[Thin font weight]] 6 thin, [[Thin font weight]]
@@ -17,7 +17,7 @@ enum Efl.Text.Font.Weight {
17 extrablack, [[Extrablack font weight]] 17 extrablack, [[Extrablack font weight]]
18} 18}
19 19
20enum Efl.Text.Font.Width { 20enum Efl.Text_Font_Width {
21 [[Type of font width]] 21 [[Type of font width]]
22 normal, [[Normal font width]] 22 normal, [[Normal font width]]
23 ultracondensed, [[Ultracondensed font width]] 23 ultracondensed, [[Ultracondensed font width]]
@@ -30,7 +30,7 @@ enum Efl.Text.Font.Width {
30 ultraexpanded, [[Ultraexpanded font width]] 30 ultraexpanded, [[Ultraexpanded font width]]
31} 31}
32 32
33enum Efl.Text.Font.Slant { 33enum Efl.Text_Font_Slant {
34 [[Type of font slant]] 34 [[Type of font slant]]
35 normal, [[Normal font slant]] 35 normal, [[Normal font slant]]
36 oblique, [[Oblique font slant]] 36 oblique, [[Oblique font slant]]
@@ -40,7 +40,7 @@ enum Efl.Text.Font.Slant {
40/* FIXME: It needs to support "normal" option for non-color bitmap font. 40/* FIXME: It needs to support "normal" option for non-color bitmap font.
41 For supporting "normal" option, S/W glyph drawing engine should be updated. 41 For supporting "normal" option, S/W glyph drawing engine should be updated.
42 */ 42 */
43enum Efl.Text.Font.Bitmap_Scalable { 43enum Efl.Text_Font_Bitmap_Scalable {
44 [[Scalable of bitmap fonts 44 [[Scalable of bitmap fonts
45 45
46 @since 1.21 46 @since 1.21
@@ -49,7 +49,7 @@ enum Efl.Text.Font.Bitmap_Scalable {
49 color = (1 << 0), [[Enable scalable feature for color bitmap fonts.]] 49 color = (1 << 0), [[Enable scalable feature for color bitmap fonts.]]
50} 50}
51 51
52interface Efl.Text.Font { 52interface Efl.Text_Font {
53 [[Font settings of the text 53 [[Font settings of the text
54 54
55 @since 1.20 55 @since 1.20
@@ -122,30 +122,30 @@ interface Efl.Text.Font {
122 @property font_weight { 122 @property font_weight {
123 [[Type of weight of the displayed font 123 [[Type of weight of the displayed font
124 124
125 Default is @Efl.Text.Font.Weight.normal\. 125 Default is @Efl.Text_Font_Weight.normal\.
126 ]] 126 ]]
127 values { 127 values {
128 font_weight: Efl.Text.Font.Weight; [[Font weight]] 128 font_weight: Efl.Text_Font_Weight; [[Font weight]]
129 } 129 }
130 } 130 }
131 131
132 @property font_slant { 132 @property font_slant {
133 [[Type of slant of the displayed font 133 [[Type of slant of the displayed font
134 134
135 Default is @Efl.Text.Font.Slant.normal\. 135 Default is @Efl.Text_Font_Slant.normal\.
136 ]] 136 ]]
137 values { 137 values {
138 style: Efl.Text.Font.Slant; [[Font slant]] 138 style: Efl.Text_Font_Slant; [[Font slant]]
139 } 139 }
140 } 140 }
141 141
142 @property font_width { 142 @property font_width {
143 [[Type of width of the displayed font 143 [[Type of width of the displayed font
144 144
145 Default is @Efl.Text.Font.Width.normal\. 145 Default is @Efl.Text_Font_Width.normal\.
146 ]] 146 ]]
147 values { 147 values {
148 width: Efl.Text.Font.Width; [[Font width]] 148 width: Efl.Text_Font_Width; [[Font width]]
149 } 149 }
150 } 150 }
151 151
@@ -167,10 +167,10 @@ interface Efl.Text.Font {
167 Basically, it is not scalable. But, it needs to be scalable for some use cases. 167 Basically, it is not scalable. But, it needs to be scalable for some use cases.
168 (ex. colorful emoji fonts) 168 (ex. colorful emoji fonts)
169 169
170 Default is @Efl.Text.Font.Bitmap_Scalable.none\. 170 Default is @Efl.Text_Font_Bitmap_Scalable.none\.
171 ]] 171 ]]
172 values { 172 values {
173 scalable: Efl.Text.Font.Bitmap_Scalable; [[Scalable]] 173 scalable: Efl.Text_Font_Bitmap_Scalable; [[Scalable]]
174 } 174 }
175 } 175 }
176 } 176 }