summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/edje/Edje_Common.h141
-rw-r--r--src/lib/edje/edje_types.eot120
2 files changed, 141 insertions, 120 deletions
diff --git a/src/lib/edje/Edje_Common.h b/src/lib/edje/Edje_Common.h
index aa6b66267f..27bc080984 100644
--- a/src/lib/edje/Edje_Common.h
+++ b/src/lib/edje/Edje_Common.h
@@ -1,5 +1,146 @@
1#include "edje_types.eot.h" 1#include "edje_types.eot.h"
2 2
3/** All available cursor states
4 *
5 * @ingroup Edje
6 */
7typedef enum
8{
9 EDJE_CURSOR_MAIN = 0, /**< Main cursor state */
10 EDJE_CURSOR_SELECTION_BEGIN, /**< Selection begin cursor state */
11 EDJE_CURSOR_SELECTION_END, /**< Selection end cursor state */
12 EDJE_CURSOR_PREEDIT_START, /**< Pre-edit start cursor state */
13 EDJE_CURSOR_PREEDIT_END, /**< Pre-edit end cursor state */
14 EDJE_CURSOR_USER, /**< User cursor state */
15 EDJE_CURSOR_USER_EXTRA /**< User extra cursor state */
16} Edje_Cursor;
17
18/** All Text auto capital mode type values
19 *
20 * @ingroup Edje_Text
21 */
22typedef enum
23{
24 EDJE_TEXT_AUTOCAPITAL_TYPE_NONE = 0, /**< None mode value */
25 EDJE_TEXT_AUTOCAPITAL_TYPE_WORD, /**< Word mode value */
26 EDJE_TEXT_AUTOCAPITAL_TYPE_SENTENCE, /**< Sentence mode value */
27 EDJE_TEXT_AUTOCAPITAL_TYPE_ALLCHARACTER /**< All characters mode value */
28} Edje_Text_Autocapital_Type;
29
30/** Input hints
31 *
32 * @ingroup Edje
33 */
34typedef enum
35{
36 EDJE_INPUT_HINT_NONE = 0, /**< No active hints
37 *
38 * @since 1.12 */
39 EDJE_INPUT_HINT_AUTO_COMPLETE = 1 /* 1 >> 0 */, /**< Suggest word auto
40 * completion
41 *
42 * @since 1.12 */
43 EDJE_INPUT_HINT_SENSITIVE_DATA = 2 /* 1 >> 1 */ /**< Typed text should not be
44 * stored.
45 *
46 * @since 1.12 */
47} Edje_Input_Hints;
48
49/** Input panel language
50 *
51 * @ingroup Edje_Input_Panel
52 */
53typedef enum
54{
55 EDJE_INPUT_PANEL_LANG_AUTOMATIC = 0, /**< Automatic
56 *
57 * @since 1.2 */
58 EDJE_INPUT_PANEL_LANG_ALPHABET /**< Alphabet
59 *
60 * @since 1.2 */
61} Edje_Input_Panel_Lang;
62
63/** Input panel return key types
64 *
65 * @ingroup Edje_Input_Panel
66 */
67typedef enum
68{
69 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT = 0, /**< Default
70 *
71 * @since 1.2 */
72 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DONE, /**< Done
73 *
74 * @since 1.2 */
75 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_GO, /**< Go
76 *
77 * @since 1.2 */
78 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_JOIN, /**< Join
79 *
80 * @since 1.2 */
81 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN, /**< Login
82 *
83 * @since 1.2 */
84 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_NEXT, /**< Next
85 *
86 * @since 1.2 */
87 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH, /**< Search or magnifier icon
88 *
89 * @since 1.2 */
90 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SEND, /**< Send
91 *
92 * @since 1.2 */
93 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN /**< Sign-in
94 *
95 * @since 1.8 */
96} Edje_Input_Panel_Return_Key_Type;
97
98/** Input panel layout
99 *
100 * @ingroup Edje_Input_Panel
101 */
102typedef enum
103{
104 EDJE_INPUT_PANEL_LAYOUT_NORMAL = 0, /**< Default layout */
105 EDJE_INPUT_PANEL_LAYOUT_NUMBER, /**< Number layout */
106 EDJE_INPUT_PANEL_LAYOUT_EMAIL, /**< Email layout */
107 EDJE_INPUT_PANEL_LAYOUT_URL, /**< URL layout */
108 EDJE_INPUT_PANEL_LAYOUT_PHONENUMBER, /**< Phone Number layout */
109 EDJE_INPUT_PANEL_LAYOUT_IP, /**< IP layout */
110 EDJE_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */
111 EDJE_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */
112 EDJE_INPUT_PANEL_LAYOUT_INVALID, /**< Never use this */
113 EDJE_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout
114 *
115 * @since 1.2 */
116 EDJE_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout including
117 * esc, alt, ctrl key, so on (no
118 * auto-correct, no auto-capitalization)
119 *
120 * @since 1.2 */
121 EDJE_INPUT_PANEL_LAYOUT_PASSWORD, /**< Like normal, but no auto-correct, no
122 * auto-capitalization etc.
123 *
124 * @since 1.2 */
125 EDJE_INPUT_PANEL_LAYOUT_DATETIME, /**< Date and time layout
126 *
127 * @since 1.8 */
128 EDJE_INPUT_PANEL_LAYOUT_EMOTICON, /**< Emoticon layout
129 *
130 * @since 1.10 */
131 EDJE_INPUT_PANEL_LAYOUT_VOICE /**< Voice layout, but if the IME does not
132 * support voice layout, then normal layout
133 * will be shown.
134 *
135 * @since 1.19 */
136} Edje_Input_Panel_Layout;
137
138/** Perspective info for maps inside edje objects
139 *
140 * @ingroup Edje
141 */
142typedef struct _Edje_Perspective Edje_Perspective;
143
3/** 144/**
4 * @internal 145 * @internal
5 * @ingroup Edje_General_Group 146 * @ingroup Edje_General_Group
diff --git a/src/lib/edje/edje_types.eot b/src/lib/edje/edje_types.eot
index 87a5cc3b1d..b3eee20d18 100644
--- a/src/lib/edje/edje_types.eot
+++ b/src/lib/edje/edje_types.eot
@@ -21,123 +21,3 @@ enum @beta Efl.Canvas.Layout_Part_Type
21 vector = 17, [[Vector @since 1.18.]] 21 vector = 17, [[Vector @since 1.18.]]
22 last = 18 [[Last type value.]] 22 last = 18 [[Last type value.]]
23} 23}
24
25
26/* TODO: Rename to Efl.Canvas.Layout.Blah */
27
28enum Edje.Cursor {
29 [[All available cursor states]]
30 main, [[Main cursor state]]
31 selection_begin, [[Selection begin cursor state]]
32 selection_end, [[Selection end cursor state]]
33 preedit_start, [[Pre-edit start cursor state]]
34 preedit_end, [[Pre-edit end cursor state]]
35 user, [[User cursor state]]
36 user_extra [[User extra cursor state]]
37}
38
39enum Edje.Text.Autocapital_Type {
40 [[All Text auto capital mode type values]]
41 none, [[None mode value]]
42 word, [[Word mode value]]
43 sentence, [[Sentence mode value]]
44 allcharacter [[All characters mode value]]
45}
46
47enum Edje.Input_Hints {
48 [[Input hints]]
49 legacy: Edje_Input_Hint;
50
51 none = 0, [[No active hints
52
53 @since 1.12]]
54 auto_complete = 1 << 0, [[Suggest word auto completion
55
56 @since 1.12]]
57 sensitive_data = 1 << 1 [[Typed text should not be stored.
58
59 @since 1.12]]
60}
61
62enum Edje.Input_Panel.Lang {
63 [[Input panel language]]
64 automatic, [[Automatic
65
66 @since 1.2]]
67 alphabet [[Alphabet
68
69 @since 1.2]]
70}
71
72enum Edje.Input_Panel.Return_Key_Type {
73 [[Input panel return key types]]
74 default, [[Default
75
76 @since 1.2]]
77 done, [[Done
78
79 @since 1.2]]
80 go, [[Go
81
82 @since 1.2]]
83 join, [[Join
84
85 @since 1.2]]
86 login, [[Login
87
88 @since 1.2]]
89 next, [[Next
90
91 @since 1.2]]
92 search, [[Search or magnifier icon
93
94 @since 1.2]]
95 send, [[Send
96
97 @since 1.2]]
98 signin [[Sign-in
99
100 @since 1.8]]
101}
102
103enum Edje.Input_Panel.Layout {
104 [[Input panel layout]]
105 normal, [[Default layout]]
106 number, [[Number layout]]
107 email, [[Email layout]]
108 url, [[URL layout]]
109 phonenumber, [[Phone Number layout]]
110 ip, [[IP layout]]
111 month, [[Month layout]]
112 numberonly, [[Number Only layout]]
113 invalid, [[Never use this]]
114 hex, [[Hexadecimal layout
115
116 @since 1.2]]
117 terminal, [[Command-line terminal layout including esc, alt, ctrl key,
118 so on (no auto-correct, no auto-capitalization)
119
120 @since 1.2]]
121 password, [[Like normal, but no auto-correct, no auto-capitalization etc.
122
123 @since 1.2]]
124 datetime, [[Date and time layout
125
126 @since 1.8]]
127 emoticon, [[Emoticon layout
128
129 @since 1.10]]
130 voice [[Voice layout, but if the IME does not support voice layout, then normal layout will be shown.
131
132 @since 1.19]]
133}
134
135struct Edje.Perspective; [[Perspective info for maps inside edje objects]]
136
137/* FIXME-cb: Ignore cb types that should be fixed. */
138type Edje.Signal_Cb: __undefined_type; [[Edje signal callback type]]
139type Edje.Markup_Filter_Cb: __undefined_type; [[Edje markup filter callback type]]
140type Edje.Text.Filter_Cb: __undefined_type; [[Edje text filter callback type]]
141type Edje.Text.Change_Cb: __undefined_type; [[Edje text change callback type]]
142type Edje.Item_Provider_Cb: __undefined_type; [[Edje item provider callback type]]
143type Edje.Message_Handler_Cb: __undefined_type; [[Edje message handler callback type]]