summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-11-22 16:44:44 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-11-29 23:06:07 -0200
commit5e94474610e3d6778af0c1b91b1debb7f4fa3605 (patch)
tree555c257fcf82506d0063480203c255692a4a4afe
parent9b2e5bda366608e6996615068467f35f2e368d36 (diff)
elm: Move legacy enums to elm_general.eot.
efl_ui_text and friends uses some enums currently defined in elm_entry.eo. The latter is exported outside the elm public eolian eos and never generated. This commit moves the enums to the "transition" file elm_general.eot.
-rw-r--r--src/lib/elementary/elm_entry.eo112
-rw-r--r--src/lib/elementary/elm_general.eot114
2 files changed, 114 insertions, 112 deletions
diff --git a/src/lib/elementary/elm_entry.eo b/src/lib/elementary/elm_entry.eo
index 9bb1d6d3db..a2d9b2db92 100644
--- a/src/lib/elementary/elm_entry.eo
+++ b/src/lib/elementary/elm_entry.eo
@@ -3,118 +3,6 @@ import elm_general;
3type Elm_Entry_Item_Provider_Cb: __undefined_type; [[Elementary entry item provider callback type]] 3type Elm_Entry_Item_Provider_Cb: __undefined_type; [[Elementary entry item provider callback type]]
4type Elm_Entry_Filter_Cb: __undefined_type; [[Elementary entry filter callback type]] 4type Elm_Entry_Filter_Cb: __undefined_type; [[Elementary entry filter callback type]]
5 5
6enum Elm.Text_Format
7{
8 [[Text Format types.
9
10 See also @Elm.Entry.file_text_format.
11 ]]
12 plain_utf8, [[ Plain UTF8 type ]]
13 markup_utf8 [[ Markup UTF8 type ]]
14}
15
16enum Elm.Input.Panel.Layout
17{
18 [[Input panel (virtual keyboard) layout types.
19 Type of input panel (virtual keyboard) to use - this is a hint and may not provide exactly what is desired.
20 See also @Elm.Entry.input_panel_layout.set.
21 ]]
22 normal, [[Default layout.]]
23 number, [[Number layout.]]
24 email, [[Email layout.]]
25 url, [[URL layout.]]
26 phonenumber, [[Phone Number layout.]]
27 ip, [[IP layout.]]
28 month, [[Month layout.]]
29 numberonly, [[Number Only layout.]]
30 invalid, [[Never use this.]]
31 hex, [[Hexadecimal layout.]]
32 terminal, [[Command-line terminal layout including esc, alt, ctrl key, so on (no auto-correct, no auto-capitalization).]]
33 password, [[Like normal, but no auto-correct, no auto-capitalization etc.]]
34 datetime, [[Date and time layout
35
36 @since 1.8]]
37 emoticon, [[Emoticon layout
38
39 @since 1.10]]
40 voice [[Voice layout, but if the IME does not support voice layout, then normal layout will be shown.
41
42 @since 1.19]]
43}
44
45enum Elm.Input.Panel.Lang
46{
47 [[Input panel (virtual keyboard) language modes.
48
49 See also @Elm.Entry.input_panel_language.set.
50 ]]
51 automatic, [[Automatic]]
52 alphabet [[Alphabet]]
53}
54
55enum Elm.Autocapital.Type
56{
57 [[Autocapitalization Types.
58 Choose method of auto-capitalization.
59
60 See also @Elm.Entry.autocapital_type.set.
61 ]]
62 none, [[No auto-capitalization when typing.]]
63 word, [[Autocapitalize each word typed.]]
64 sentence, [[Autocapitalize the start of each sentence.]]
65 allcharacter [[Autocapitalize all letters.]]
66}
67
68enum Elm.Input.Panel.Return_Key.Type
69{
70 [["Return" Key types on the input panel (virtual keyboard).
71 See also @Elm.Entry.input_panel_return_key_type.set.
72
73 ]]
74 default, [[Default.]]
75 done, [[Done.]]
76 go, [[Go.]]
77 join, [[Join.]]
78 login, [[Login.]]
79 next, [[Next.]]
80 search, [[Search string or magnifier icon.]]
81 send, [[Send.]]
82 signin [[Sign-in
83
84 @since 1.8]]
85}
86
87enum Elm.Input.Hints
88{
89 [[Enumeration that defines the types of Input Hints.
90
91 @since 1.12
92 ]]
93 legacy: elm_input_hint;
94 none = 0, [[No active hints
95
96 @since 1.12]]
97 auto_complete = 1 << 0, [[Suggest word auto completion
98
99 @since 1.12]]
100 sensitive_data = 1 << 1, [[Typed text should not be stored.
101
102 @since 1.12]]
103}
104
105enum Elm.Cnp_Mode
106{
107 [[
108 Enum of entry's copy & paste policy.
109
110 See also @Elm.Entry.cnp_mode.set,
111 @Elm.Entry.cnp_mode.get.
112 ]]
113 markup, [[ copy & paste text with markup tag ]]
114 no_image, [[ copy & paste text without item(image) tag ]]
115 plaintext, [[ copy & paste text without markup tag ]]
116}
117
118class Elm.Entry (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable, 6class Elm.Entry (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
119 Efl.Access.Text, Efl.Access.Editable.Text, Efl.File, 7 Efl.Access.Text, Efl.Access.Editable.Text, Efl.File,
120 Efl.Ui.Selectable, Efl.Ui.Scrollable, Efl.Access.Widget.Action) 8 Efl.Ui.Selectable, Efl.Ui.Scrollable, Efl.Access.Widget.Action)
diff --git a/src/lib/elementary/elm_general.eot b/src/lib/elementary/elm_general.eot
index 73d057c3d6..1a0dfadf68 100644
--- a/src/lib/elementary/elm_general.eot
+++ b/src/lib/elementary/elm_general.eot
@@ -139,3 +139,117 @@ enum Elm.Icon.Type
139/* FIXME: shouldn't exist */ 139/* FIXME: shouldn't exist */
140struct @extern Elm_Gen_Item; 140struct @extern Elm_Gen_Item;
141struct @extern Efl_Access_Action_Data; 141struct @extern Efl_Access_Action_Data;
142
143
144/* Enums from elm_entry.eo, also used by efl_ui_text */
145enum Elm.Text_Format
146{
147 [[Text Format types.
148
149 See also @Elm.Entry.file_text_format.
150 ]]
151 plain_utf8, [[ Plain UTF8 type ]]
152 markup_utf8 [[ Markup UTF8 type ]]
153}
154
155enum Elm.Input.Panel.Layout
156{
157 [[Input panel (virtual keyboard) layout types.
158 Type of input panel (virtual keyboard) to use - this is a hint and may not provide exactly what is desired.
159 See also @Elm.Entry.input_panel_layout.set.
160 ]]
161 normal, [[Default layout.]]
162 number, [[Number layout.]]
163 email, [[Email layout.]]
164 url, [[URL layout.]]
165 phonenumber, [[Phone Number layout.]]
166 ip, [[IP layout.]]
167 month, [[Month layout.]]
168 numberonly, [[Number Only layout.]]
169 invalid, [[Never use this.]]
170 hex, [[Hexadecimal layout.]]
171 terminal, [[Command-line terminal layout including esc, alt, ctrl key, so on (no auto-correct, no auto-capitalization).]]
172 password, [[Like normal, but no auto-correct, no auto-capitalization etc.]]
173 datetime, [[Date and time layout
174
175 @since 1.8]]
176 emoticon, [[Emoticon layout
177
178 @since 1.10]]
179 voice [[Voice layout, but if the IME does not support voice layout, then normal layout will be shown.
180
181 @since 1.19]]
182}
183
184enum Elm.Input.Panel.Lang
185{
186 [[Input panel (virtual keyboard) language modes.
187
188 See also @Elm.Entry.input_panel_language.set.
189 ]]
190 automatic, [[Automatic]]
191 alphabet [[Alphabet]]
192}
193
194enum Elm.Autocapital.Type
195{
196 [[Autocapitalization Types.
197 Choose method of auto-capitalization.
198
199 See also @Elm.Entry.autocapital_type.set.
200 ]]
201 none, [[No auto-capitalization when typing.]]
202 word, [[Autocapitalize each word typed.]]
203 sentence, [[Autocapitalize the start of each sentence.]]
204 allcharacter [[Autocapitalize all letters.]]
205}
206
207enum Elm.Input.Panel.Return_Key.Type
208{
209 [["Return" Key types on the input panel (virtual keyboard).
210 See also @Elm.Entry.input_panel_return_key_type.set.
211
212 ]]
213 default, [[Default.]]
214 done, [[Done.]]
215 go, [[Go.]]
216 join, [[Join.]]
217 login, [[Login.]]
218 next, [[Next.]]
219 search, [[Search string or magnifier icon.]]
220 send, [[Send.]]
221 signin [[Sign-in
222
223 @since 1.8]]
224}
225
226enum Elm.Input.Hints
227{
228 [[Enumeration that defines the types of Input Hints.
229
230 @since 1.12
231 ]]
232 legacy: elm_input_hint;
233 none = 0, [[No active hints
234
235 @since 1.12]]
236 auto_complete = 1 << 0, [[Suggest word auto completion
237
238 @since 1.12]]
239 sensitive_data = 1 << 1, [[Typed text should not be stored.
240
241 @since 1.12]]
242}
243
244enum Elm.Cnp_Mode
245{
246 [[
247 Enum of entry's copy & paste policy.
248
249 See also @Elm.Entry.cnp_mode.set,
250 @Elm.Entry.cnp_mode.get.
251 ]]
252 markup, [[ copy & paste text with markup tag ]]
253 no_image, [[ copy & paste text without item(image) tag ]]
254 plaintext, [[ copy & paste text without markup tag ]]
255}