diff options
author | Ali Alzyod <ali198724@gmail.com> | 2020-01-14 10:42:06 +0900 |
---|---|---|
committer | WooHyun Jung <wh0705.jung@samsung.com> | 2020-01-14 10:42:06 +0900 |
commit | e894c9bff8b1a0a7c2e6b18a9e0b0f707400eee4 (patch) | |
tree | e5398d072c5affd5fcee79efc915afd99f044a63 /src/lib/efl | |
parent | f5fd009992cd0cd6c1b61ecc0960290376451b56 (diff) |
efl.input.text: add variation enums + remove @since word
Summary: efl.input.text: add variation enums + remove @since word
Reviewers: woohyun, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8541
Differential Revision: https://phab.enlightenment.org/D11066
Diffstat (limited to 'src/lib/efl')
-rw-r--r-- | src/lib/efl/interfaces/efl_input_text.eo | 100 |
1 files changed, 44 insertions, 56 deletions
diff --git a/src/lib/efl/interfaces/efl_input_text.eo b/src/lib/efl/interfaces/efl_input_text.eo index 37d3acb978..f563b6dc4f 100644 --- a/src/lib/efl/interfaces/efl_input_text.eo +++ b/src/lib/efl/interfaces/efl_input_text.eo | |||
@@ -15,15 +15,9 @@ enum @beta Efl.Input_Text.Panel_Layout_Type | |||
15 | hex, [[Hexadecimal layout.]] | 15 | hex, [[Hexadecimal layout.]] |
16 | terminal, [[Command-line terminal layout including esc, alt, ctrl key, so on (no auto-correct, no auto-capitalization).]] | 16 | terminal, [[Command-line terminal layout including esc, alt, ctrl key, so on (no auto-correct, no auto-capitalization).]] |
17 | password, [[Like normal, but no auto-correct, no auto-capitalization etc.]] | 17 | password, [[Like normal, but no auto-correct, no auto-capitalization etc.]] |
18 | datetime, [[Date and time layout | 18 | datetime, [[Date and time layout.]] |
19 | 19 | emoticon, [[Emoticon layout.]] | |
20 | @since 1.8]] | 20 | voice [[Voice layout, but if the IME does not support voice layout, then normal layout will be shown.]] |
21 | emoticon, [[Emoticon layout | ||
22 | |||
23 | @since 1.10]] | ||
24 | voice [[Voice layout, but if the IME does not support voice layout, then normal layout will be shown. | ||
25 | |||
26 | @since 1.19]] | ||
27 | } | 21 | } |
28 | 22 | ||
29 | enum @beta Efl.Input_Text.Panel_Language_Type | 23 | enum @beta Efl.Input_Text.Panel_Language_Type |
@@ -57,9 +51,7 @@ enum @beta Efl.Input_Text.Panel_Return_Key_Type | |||
57 | next, [[Next.]] | 51 | next, [[Next.]] |
58 | search, [[Search string or magnifier icon.]] | 52 | search, [[Search string or magnifier icon.]] |
59 | send, [[Send.]] | 53 | send, [[Send.]] |
60 | signin [[Sign-in | 54 | signin [[Sign-in.]] |
61 | |||
62 | @since 1.8]] | ||
63 | } | 55 | } |
64 | 56 | ||
65 | enum @beta Efl.Input_Text.Panel_Return_Key_State | 57 | enum @beta Efl.Input_Text.Panel_Return_Key_State |
@@ -75,53 +67,48 @@ enum @beta Efl.Input_Text.Panel_Return_Key_State | |||
75 | 67 | ||
76 | enum @beta Efl.Input_Text.Hints_Type | 68 | enum @beta Efl.Input_Text.Hints_Type |
77 | { | 69 | { |
78 | [[Enumeration that defines the types of Input Hints. | 70 | [[Enumeration that defines the types of Input Hints.]] |
79 | 71 | none = 0, [[No active hints.]] | |
80 | @since 1.12 | 72 | auto_complete = 1 << 0, [[Suggest word auto completion.]] |
81 | ]] | 73 | sensitive_data = 1 << 1, [[Typed text should not be stored.]] |
82 | none = 0, [[No active hints | 74 | autofill_credit_card_expiration_date = 0x100, [[ Autofill hint for a credit card expiration date.]] |
83 | 75 | autofill_credit_card_expiration_day = 0x200, [[Autofill hint for a credit card expiration day.]] | |
84 | @since 1.12]] | 76 | autofill_credit_card_expiration_month = 0x300, [[ Autofill hint for a credit card expiration month.]] |
85 | auto_complete = 1 << 0, [[Suggest word auto completion | 77 | autofill_credit_card_expiration_year = 0x400, [[ Autofill hint for a credit card expiration year.]] |
86 | 78 | autofill_credit_card_number = 0x500, [[ Autofill hint for a credit card number.]] | |
87 | @since 1.12]] | 79 | autofill_email_address = 0x600, [[ Autofill hint for an email address.]] |
88 | sensitive_data = 1 << 1, [[Typed text should not be stored. | 80 | autofill_name = 0x700, [[ Autofill hint for a user's real name.]] |
89 | 81 | autofill_phone = 0x800, [[ Autofill hint for a phone number.]] | |
90 | @since 1.12]] | 82 | autofill_postal_address = 0x900, [[ Autofill hint for a postal address.]] |
91 | autofill_credit_card_expiration_date = 0x100, [[ Autofill hint for a credit card expiration date | 83 | autofill_postal_code = 0xA00, [[ Autofill hint for a postal code.]] |
92 | 84 | autofill_id = 0xB00 [[ Autofill hint for a user's ID.]] | |
93 | @since 1.21]] | 85 | } |
94 | autofill_credit_card_expiration_day = 0x200, [[Autofill hint for a credit card expiration day | ||
95 | |||
96 | @since 1.21]] | ||
97 | autofill_credit_card_expiration_month = 0x300, [[ Autofill hint for a credit card expiration month | ||
98 | |||
99 | @since 1.21]] | ||
100 | autofill_credit_card_expiration_year = 0x400, [[ Autofill hint for a credit card expiration year | ||
101 | |||
102 | @since 1.21]] | ||
103 | autofill_credit_card_number = 0x500, [[ Autofill hint for a credit card number | ||
104 | |||
105 | @since 1.21]] | ||
106 | autofill_email_address = 0x600, [[ Autofill hint for an email address | ||
107 | |||
108 | @since 1.21]] | ||
109 | autofill_name = 0x700, [[ Autofill hint for a user's real name | ||
110 | 86 | ||
111 | @since 1.21]] | 87 | enum @beta Efl.Input_Text.Panel_Layout_Normal_Variation_Type |
112 | autofill_phone = 0x800, [[ Autofill hint for a phone number | 88 | { |
89 | [[Enumeration for defining the types of @Efl.Input_Text.Panel_Layout_Type for normal variation.]] | ||
90 | normal , [[The plain normal layout.]] | ||
91 | filename , [[Filename layout. Symbols such as '/' should be disabled.]] | ||
92 | person_name , [[The name of a person, @Efl.Input_Text.autocapitalization will be set to @Efl.Input_Text.Capitalize_Type.word.]] | ||
93 | } | ||
113 | 94 | ||
114 | @since 1.21]] | 95 | enum @beta Efl.Input_Text.Panel_Layout_Numberonly_Variation_Type |
115 | autofill_postal_address = 0x900, [[ Autofill hint for a postal address | 96 | { |
97 | [[Enumeration for defining the types of @Efl.Input_Text.Panel_Layout_Type for normal variation.]] | ||
98 | normal , [[The plain normal number layout.]] | ||
99 | signed , [[The number layout to allow a positive or negative sign at the start.]] | ||
100 | decimal , [[The number layout to allow decimal point to provide fractional value.]] | ||
101 | signed_and_decimal , [[The number layout to allow decimal point and negative sign.]] | ||
102 | } | ||
116 | 103 | ||
117 | @since 1.21]] | 104 | enum @beta Efl.Input_Text.Panel_Layout_Password_Variation_Type |
118 | autofill_postal_code = 0xA00, [[ Autofill hint for a postal code | 105 | { |
106 | [[Enumeration for defining the types of @Efl.Input_Text.Panel_Layout_Type for normal variation.]] | ||
107 | normal , [[The normal password layout.]] | ||
108 | numberonly , [[The password layout to allow only number.]] | ||
109 | } | ||
119 | 110 | ||
120 | @since 1.21]] | ||
121 | autofill_id = 0xB00 [[ Autofill hint for a user's ID | ||
122 | 111 | ||
123 | @since 1.21]] | ||
124 | } | ||
125 | 112 | ||
126 | interface @beta Efl.Input_Text { | 113 | interface @beta Efl.Input_Text { |
127 | [[All the functionality relating to input hints | 114 | [[All the functionality relating to input hints |
@@ -154,9 +141,10 @@ interface @beta Efl.Input_Text { | |||
154 | } | 141 | } |
155 | } | 142 | } |
156 | 143 | ||
157 | // FIXME: What is this? | ||
158 | @property input_panel_layout_variation { | 144 | @property input_panel_layout_variation { |
159 | [[The input panel layout variation of the entry.]] | 145 | [[The input panel layout variation of the entry, this can be |
146 | @Efl.Input_Text.Panel_Layout_Normal_Variation_Type , @Efl.Input_Text.Panel_Layout_Numberonly_Variation_Type | ||
147 | or @Efl.Input_Text.Panel_Layout_Password_Variation_Type.]] | ||
160 | set { | 148 | set { |
161 | } | 149 | } |
162 | get { | 150 | get { |