diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-01-31 16:11:57 +0100 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-02-05 08:58:22 +0100 |
commit | 7f57e8e6019adde04e2b575b4faf851009d46aaf (patch) | |
tree | b09539c803923c67855936856ac8d615b1de47d0 /src/lib/efl | |
parent | ecd10c8c3da5009db9fcdb60382e8f87adb51cbe (diff) |
move stabelized items out of @beta
fixes T8570
fixes T8567
fixes T8566
fixes T8521
fixes T8501
fixes T8460
fixes T8455
fixes T8454
fixes T8254
fixes T7945
fixes T7944
fixes T7943
fixes T7942
fixes T7941
fixes T7940
fixes T7939
fixes T7938
fixes T7937
fixes T7936
fixes T7935
fixes T7934
fixes T7933
fixes T7858
fixes T7857
fixes T7856
fixes T7855
fixes T8599
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D11264
Diffstat (limited to 'src/lib/efl')
-rw-r--r-- | src/lib/efl/interfaces/efl_gfx_types.eot | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_input_text.eo | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_font_properties.eo | 27 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_format.eo | 15 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_markup.eo | 3 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_style.eo | 34 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_types.eot | 9 |
7 files changed, 61 insertions, 31 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_types.eot b/src/lib/efl/interfaces/efl_gfx_types.eot index e9189aad31..ba9ca089b1 100644 --- a/src/lib/efl/interfaces/efl_gfx_types.eot +++ b/src/lib/efl/interfaces/efl_gfx_types.eot | |||
@@ -219,7 +219,7 @@ enum @beta Efl.Gfx.Color_Class_Layer { | |||
219 | shadow [[Shadow color]] | 219 | shadow [[Shadow color]] |
220 | } | 220 | } |
221 | 221 | ||
222 | type @beta Efl.Font.Size: int; [[Efl font size type]] | 222 | type Efl.Font.Size: int; [[Efl font size type @since 1.24]] |
223 | 223 | ||
224 | error @extern @beta Efl.Gfx.Image.Load_Error.NONE = "XXX"; [[No error on load]] | 224 | error @extern @beta Efl.Gfx.Image.Load_Error.NONE = "XXX"; [[No error on load]] |
225 | error @extern @beta Efl.Gfx.Image.Load_Error.GENERIC = "XXX"; [[A non-specific error occurred]] | 225 | error @extern @beta Efl.Gfx.Image.Load_Error.GENERIC = "XXX"; [[A non-specific error occurred]] |
diff --git a/src/lib/efl/interfaces/efl_input_text.eo b/src/lib/efl/interfaces/efl_input_text.eo index 7526658635..ce4a42eefb 100644 --- a/src/lib/efl/interfaces/efl_input_text.eo +++ b/src/lib/efl/interfaces/efl_input_text.eo | |||
@@ -259,4 +259,4 @@ interface @beta Efl.Input_Text { | |||
259 | } | 259 | } |
260 | } | 260 | } |
261 | } | 261 | } |
262 | } \ No newline at end of file | 262 | } |
diff --git a/src/lib/efl/interfaces/efl_text_font_properties.eo b/src/lib/efl/interfaces/efl_text_font_properties.eo index 71d8e3d5d9..95ccbf2953 100644 --- a/src/lib/efl/interfaces/efl_text_font_properties.eo +++ b/src/lib/efl/interfaces/efl_text_font_properties.eo | |||
@@ -1,8 +1,10 @@ | |||
1 | import efl_gfx_types; | 1 | import efl_gfx_types; |
2 | enum @beta Efl.Text_Font_Weight { | 2 | enum Efl.Text_Font_Weight { |
3 | [[The weight of a particular font is the thickness of the character outlines relative to their height. | 3 | [[The weight of a particular font is the thickness of the character outlines relative to their height. |
4 | The given numerical values follow the TrueType scale (from 100 to 900) and are approximate. | 4 | The given numerical values follow the TrueType scale (from 100 to 900) and are approximate. |
5 | It is up to each font to provide all of them.]] | 5 | It is up to each font to provide all of them. |
6 | @since 1.24 | ||
7 | ]] | ||
6 | normal, [[Normal font weight (400).]] | 8 | normal, [[Normal font weight (400).]] |
7 | thin, [[Thin font weight (100).]] | 9 | thin, [[Thin font weight (100).]] |
8 | ultralight, [[Ultralight font weight (200).]] | 10 | ultralight, [[Ultralight font weight (200).]] |
@@ -18,9 +20,11 @@ enum @beta Efl.Text_Font_Weight { | |||
18 | extrablack, [[Extrablack font weight (950).]] | 20 | extrablack, [[Extrablack font weight (950).]] |
19 | } | 21 | } |
20 | 22 | ||
21 | enum @beta Efl.Text_Font_Width { | 23 | enum Efl.Text_Font_Width { |
22 | [[Font width relative to its height. | 24 | [[Font width relative to its height. |
23 | It is up to each font to provide all these widths.]] | 25 | It is up to each font to provide all these widths. |
26 | @since 1.24 | ||
27 | ]] | ||
24 | normal, [[Normal font width.]] | 28 | normal, [[Normal font width.]] |
25 | ultracondensed, [[Ultracondensed font width.]] | 29 | ultracondensed, [[Ultracondensed font width.]] |
26 | extracondensed, [[Extracondensed font width.]] | 30 | extracondensed, [[Extracondensed font width.]] |
@@ -32,8 +36,10 @@ enum @beta Efl.Text_Font_Width { | |||
32 | ultraexpanded, [[Ultraexpanded font width.]] | 36 | ultraexpanded, [[Ultraexpanded font width.]] |
33 | } | 37 | } |
34 | 38 | ||
35 | enum @beta Efl.Text_Font_Slant { | 39 | enum Efl.Text_Font_Slant { |
36 | [[Type of font slant.]] | 40 | [[Type of font slant. |
41 | @since 1.24 | ||
42 | ]] | ||
37 | normal, [[Normal font slant: Sets the text to the normal font (non-italicized).]] | 43 | normal, [[Normal font slant: Sets the text to the normal font (non-italicized).]] |
38 | oblique, [[Oblique font slant: Sets the text to use a simulated version of an italic font, | 44 | oblique, [[Oblique font slant: Sets the text to use a simulated version of an italic font, |
39 | created by algorithmically slanting the normal version.]] | 45 | created by algorithmically slanting the normal version.]] |
@@ -41,14 +47,17 @@ enum @beta Efl.Text_Font_Slant { | |||
41 | If not available, it will simulate italics with oblique instead.]] | 47 | If not available, it will simulate italics with oblique instead.]] |
42 | } | 48 | } |
43 | 49 | ||
44 | enum @beta Efl.Text_Font_Bitmap_Scalable { | 50 | enum Efl.Text_Font_Bitmap_Scalable { |
45 | [[When are bitmap fonts allowed to be scaled.]] | 51 | [[When are bitmap fonts allowed to be scaled. |
52 | @since 1.24 | ||
53 | ]] | ||
46 | none = 0, [[Disable scaling for bitmap fonts.]] | 54 | none = 0, [[Disable scaling for bitmap fonts.]] |
47 | color = (1 << 0), [[Enable scaling for color bitmap fonts.]] | 55 | color = (1 << 0), [[Enable scaling for color bitmap fonts.]] |
48 | } | 56 | } |
49 | 57 | ||
50 | interface @beta Efl.Text_Font_Properties { | 58 | interface Efl.Text_Font_Properties { |
51 | [[Properties related to font handling. | 59 | [[Properties related to font handling. |
60 | @since 1.24 | ||
52 | ]] | 61 | ]] |
53 | c_prefix: efl_text; | 62 | c_prefix: efl_text; |
54 | methods { | 63 | methods { |
diff --git a/src/lib/efl/interfaces/efl_text_format.eo b/src/lib/efl/interfaces/efl_text_format.eo index 14d80a107c..73fa97a67d 100644 --- a/src/lib/efl/interfaces/efl_text_format.eo +++ b/src/lib/efl/interfaces/efl_text_format.eo | |||
@@ -1,5 +1,7 @@ | |||
1 | enum @beta Efl.Text_Format_Wrap { | 1 | enum Efl.Text_Format_Wrap { |
2 | [[Wrapping policy for the text.]] | 2 | [[Wrapping policy for the text. |
3 | @since 1.24 | ||
4 | ]] | ||
3 | none, [[No wrapping.]] | 5 | none, [[No wrapping.]] |
4 | char, [[Wrap at character boundaries.]] | 6 | char, [[Wrap at character boundaries.]] |
5 | word, [[Wrap at word boundaries.]] | 7 | word, [[Wrap at word boundaries.]] |
@@ -8,19 +10,22 @@ enum @beta Efl.Text_Format_Wrap { | |||
8 | at any character.]] | 10 | at any character.]] |
9 | } | 11 | } |
10 | 12 | ||
11 | enum @beta Efl.Text_Format_Horizontal_Alignment_Auto_Type { | 13 | enum Efl.Text_Format_Horizontal_Alignment_Auto_Type { |
12 | [[Automatic horizontal alignment setting for the text (Left-To-Right or Right-To-Left).]] | 14 | [[Automatic horizontal alignment setting for the text (Left-To-Right or Right-To-Left). |
15 | @since 1.24 | ||
16 | ]] | ||
13 | none, [[No auto-alignment rule: Horizontal Alignment is decided by @Efl.Text_Format.text_horizontal_align]] | 17 | none, [[No auto-alignment rule: Horizontal Alignment is decided by @Efl.Text_Format.text_horizontal_align]] |
14 | auto, [[Respects LTR/RTL (bidirectional) characters found inside the text content.]] | 18 | auto, [[Respects LTR/RTL (bidirectional) characters found inside the text content.]] |
15 | locale, [[Respects the system's language settings.]] | 19 | locale, [[Respects the system's language settings.]] |
16 | opposite [[Text is placed at opposite side of LTR/RTL (bidirectional) settings.]] | 20 | opposite [[Text is placed at opposite side of LTR/RTL (bidirectional) settings.]] |
17 | } | 21 | } |
18 | 22 | ||
19 | interface @beta Efl.Text_Format { | 23 | interface Efl.Text_Format { |
20 | [[The look and layout of the text. | 24 | [[The look and layout of the text. |
21 | 25 | ||
22 | The text format can affect the geometry of the text object, as well as | 26 | The text format can affect the geometry of the text object, as well as |
23 | how characters are presented. | 27 | how characters are presented. |
28 | @since 1.24 | ||
24 | ]] | 29 | ]] |
25 | c_prefix: efl_text; | 30 | c_prefix: efl_text; |
26 | methods { | 31 | methods { |
diff --git a/src/lib/efl/interfaces/efl_text_markup.eo b/src/lib/efl/interfaces/efl_text_markup.eo index a0ec020cf5..0f11e86a96 100644 --- a/src/lib/efl/interfaces/efl_text_markup.eo +++ b/src/lib/efl/interfaces/efl_text_markup.eo | |||
@@ -1,5 +1,6 @@ | |||
1 | interface @beta Efl.Text_Markup { | 1 | interface Efl.Text_Markup { |
2 | [[Markup data that populates the text object's style and format | 2 | [[Markup data that populates the text object's style and format |
3 | @since 1.24 | ||
3 | ]] | 4 | ]] |
4 | methods { | 5 | methods { |
5 | @property markup { | 6 | @property markup { |
diff --git a/src/lib/efl/interfaces/efl_text_style.eo b/src/lib/efl/interfaces/efl_text_style.eo index bb168fd5dd..d0cd196e9a 100644 --- a/src/lib/efl/interfaces/efl_text_style.eo +++ b/src/lib/efl/interfaces/efl_text_style.eo | |||
@@ -1,22 +1,29 @@ | |||
1 | enum @beta Efl.Text_Style_Background_Type | 1 | enum Efl.Text_Style_Background_Type |
2 | { | 2 | { |
3 | [[Type of background to use behind each line of text.]] | 3 | [[Type of background to use behind each line of text. |
4 | |||
5 | @since 1.24 | ||
6 | ]] | ||
4 | none = 0, [[Do not use background.]] | 7 | none = 0, [[Do not use background.]] |
5 | solid_color, [[Use a solid-color rectangle as background. | 8 | solid_color, [[Use a solid-color rectangle as background. |
6 | Requires @Efl.Text_Style.text_background_color.]] | 9 | Requires @Efl.Text_Style.text_background_color.]] |
7 | } | 10 | } |
8 | 11 | ||
9 | enum @beta Efl.Text_Style_Strikethrough_Type | 12 | enum Efl.Text_Style_Strikethrough_Type |
10 | { | 13 | { |
11 | [[Whether to add a strike-through decoration to the displayed text or not.]] | 14 | [[Whether to add a strike-through decoration to the displayed text or not. |
15 | @since 1.24 | ||
16 | ]] | ||
12 | none = 0, [[Do not use strike-through.]] | 17 | none = 0, [[Do not use strike-through.]] |
13 | single, [[Strike-through with a single line. | 18 | single, [[Strike-through with a single line. |
14 | Requires @Efl.Text_Style.text_strikethrough_color.]] | 19 | Requires @Efl.Text_Style.text_strikethrough_color.]] |
15 | } | 20 | } |
16 | 21 | ||
17 | enum @beta Efl.Text_Style_Effect_Type | 22 | enum Efl.Text_Style_Effect_Type |
18 | { | 23 | { |
19 | [[Effect to apply to the displayed text.]] | 24 | [[Effect to apply to the displayed text. |
25 | @since 1.24 | ||
26 | ]] | ||
20 | none = 0, [[No effect.]] | 27 | none = 0, [[No effect.]] |
21 | shadow, [[Shadow effect. | 28 | shadow, [[Shadow effect. |
22 | Uses @Efl.Text_Style.text_shadow_color and @Efl.Text_Style.text_shadow_direction.]] | 29 | Uses @Efl.Text_Style.text_shadow_color and @Efl.Text_Style.text_shadow_direction.]] |
@@ -40,9 +47,11 @@ enum @beta Efl.Text_Style_Effect_Type | |||
40 | @Efl.Text_Style.text_outline_color.]] | 47 | @Efl.Text_Style.text_outline_color.]] |
41 | } | 48 | } |
42 | 49 | ||
43 | enum @beta Efl.Text_Style_Shadow_Direction | 50 | enum Efl.Text_Style_Shadow_Direction |
44 | { | 51 | { |
45 | [[Direction of the shadow effect.]] | 52 | [[Direction of the shadow effect. |
53 | @since 1.24 | ||
54 | ]] | ||
46 | bottom_right = 0, [[Shadow towards bottom right.]] | 55 | bottom_right = 0, [[Shadow towards bottom right.]] |
47 | bottom, [[Shadow towards bottom.]] | 56 | bottom, [[Shadow towards bottom.]] |
48 | bottom_left, [[Shadow towards bottom left.]] | 57 | bottom_left, [[Shadow towards bottom left.]] |
@@ -53,9 +62,11 @@ enum @beta Efl.Text_Style_Shadow_Direction | |||
53 | right, [[Shadow towards right.]] | 62 | right, [[Shadow towards right.]] |
54 | } | 63 | } |
55 | 64 | ||
56 | enum @beta Efl.Text_Style_Underline_Type | 65 | enum Efl.Text_Style_Underline_Type |
57 | { | 66 | { |
58 | [[Type of underline for the displayed text.]] | 67 | [[Type of underline for the displayed text. |
68 | @since 1.24 | ||
69 | ]] | ||
59 | none = 0, [[Text without underline.]] | 70 | none = 0, [[Text without underline.]] |
60 | single, [[Underlined with a single line. | 71 | single, [[Underlined with a single line. |
61 | Requires @Efl.Text_Style.text_underline_color.]] | 72 | Requires @Efl.Text_Style.text_underline_color.]] |
@@ -66,10 +77,11 @@ enum @beta Efl.Text_Style_Underline_Type | |||
66 | @Efl.Text_Style.text_underline_dashed_gap.]] | 77 | @Efl.Text_Style.text_underline_dashed_gap.]] |
67 | } | 78 | } |
68 | 79 | ||
69 | interface @beta Efl.Text_Style { | 80 | interface Efl.Text_Style { |
70 | [[Decorations to add to the text. | 81 | [[Decorations to add to the text. |
71 | 82 | ||
72 | Decorations include text color, glow, outline, underline, strike-through and shadows. | 83 | Decorations include text color, glow, outline, underline, strike-through and shadows. |
84 | @since 1.24 | ||
73 | ]] | 85 | ]] |
74 | c_prefix: efl_text; | 86 | c_prefix: efl_text; |
75 | methods { | 87 | methods { |
diff --git a/src/lib/efl/interfaces/efl_text_types.eot b/src/lib/efl/interfaces/efl_text_types.eot index 9f3e0d2690..d56dccf417 100644 --- a/src/lib/efl/interfaces/efl_text_types.eot +++ b/src/lib/efl/interfaces/efl_text_types.eot | |||
@@ -10,16 +10,19 @@ enum Efl.Text_Bidirectional_Type { | |||
10 | inherit [[Inherit text type]] | 10 | inherit [[Inherit text type]] |
11 | } | 11 | } |
12 | 12 | ||
13 | enum @beta Efl.Text_Change_Type { | 13 | enum Efl.Text_Change_Type { |
14 | [[Text change type.]] | 14 | [[Text change type. |
15 | @since 1.24 | ||
16 | ]] | ||
15 | insert = 0, [[the content was inserted.]] | 17 | insert = 0, [[the content was inserted.]] |
16 | remove [[the content was removed.]] | 18 | remove [[the content was removed.]] |
17 | } | 19 | } |
18 | 20 | ||
19 | struct @beta Efl.Text_Change_Info { | 21 | struct Efl.Text_Change_Info { |
20 | [[This structure includes all the information about content changes. | 22 | [[This structure includes all the information about content changes. |
21 | 23 | ||
22 | It's meant to be used to implement undo/redo. | 24 | It's meant to be used to implement undo/redo. |
25 | @since 1.24 | ||
23 | ]] | 26 | ]] |
24 | content: string; [[The content added/removed]] | 27 | content: string; [[The content added/removed]] |
25 | position: size; [[The position where it was added/removed]] | 28 | position: size; [[The position where it was added/removed]] |