summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochan Lee <wc0917.lee@samsung.com>2017-12-06 17:32:13 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-06 18:02:43 +0900
commit431c99e52688e8a3a5d8dd5e5f8d3ab5d5594c70 (patch)
tree73586a699896861479087ea06097ec335ca0479e
parentab601acc58b7deebfb818db111741563a7c079b4 (diff)
efl_ui_multibuttonentry: Apply lazy edc, code clean up.
Summary: Apply lazy edc, code clean up. Test Plan: elementary_test -> multibuttonentry sample. Reviewers: jpeg, taxi2se, Jaehyun_Cho Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5607
-rw-r--r--data/elementary/themes/Makefile.am1
-rw-r--r--data/elementary/themes/default.edc1
-rw-r--r--data/elementary/themes/edc/efl/multibuttonentry.edc332
-rw-r--r--data/elementary/themes/edc/elm/multibuttonentry.edc328
-rw-r--r--src/lib/elementary/efl_ui_multibuttonentry.c9
5 files changed, 332 insertions, 339 deletions
diff --git a/data/elementary/themes/Makefile.am b/data/elementary/themes/Makefile.am
index 4bc6ec9987..8facbde810 100644
--- a/data/elementary/themes/Makefile.am
+++ b/data/elementary/themes/Makefile.am
@@ -127,7 +127,6 @@ elementary/themes/edc/elm/layout.edc \
127elementary/themes/edc/elm/list.edc \ 127elementary/themes/edc/elm/list.edc \
128elementary/themes/edc/elm/map.edc \ 128elementary/themes/edc/elm/map.edc \
129elementary/themes/edc/elm/menu.edc \ 129elementary/themes/edc/elm/menu.edc \
130elementary/themes/edc/elm/multibuttonentry.edc \
131elementary/themes/edc/elm/naviframe.edc \ 130elementary/themes/edc/elm/naviframe.edc \
132elementary/themes/edc/elm/notify.edc \ 131elementary/themes/edc/elm/notify.edc \
133elementary/themes/edc/elm/panel.edc \ 132elementary/themes/edc/elm/panel.edc \
diff --git a/data/elementary/themes/default.edc b/data/elementary/themes/default.edc
index 1bbd492217..f33b9602b3 100644
--- a/data/elementary/themes/default.edc
+++ b/data/elementary/themes/default.edc
@@ -45,7 +45,6 @@ collections {
45#include "edc/elm/slideshow.edc" 45#include "edc/elm/slideshow.edc"
46#include "edc/elm/diskselector.edc" 46#include "edc/elm/diskselector.edc"
47#include "edc/elm/ctxpopup.edc" 47#include "edc/elm/ctxpopup.edc"
48#include "edc/elm/multibuttonentry.edc"
49#include "edc/elm/dayselector.edc" 48#include "edc/elm/dayselector.edc"
50#include "edc/elm/actionslider.edc" 49#include "edc/elm/actionslider.edc"
51#include "edc/elm/photocam.edc" 50#include "edc/elm/photocam.edc"
diff --git a/data/elementary/themes/edc/efl/multibuttonentry.edc b/data/elementary/themes/edc/efl/multibuttonentry.edc
index 149f9e6b26..f667128c72 100644
--- a/data/elementary/themes/edc/efl/multibuttonentry.edc
+++ b/data/elementary/themes/edc/efl/multibuttonentry.edc
@@ -1,19 +1,341 @@
1group { "efl/multibuttonentry"; 1group { "efl/multibuttonentry";
2 inherit: "elm/multibuttonentry/base/default"; 2 data.item: "horizontal_pad" 0;
3 data.item: "vertical_pad" 0;
4 data.item: "closed_height" 0;
5 parts {
6 rect { "bg";
7 scale;
8 desc { "default";
9 color_class: "multibuttonentry_bg";
10 }
11 }
12 swallow { "elm.swallow.background";
13 scale;
14 desc { "default";
15 rel.to: "bg";
16 }
17 }
18 swallow { "box.swallow";
19 desc { "default";
20 rel.to: "bg";
21 }
22 }
23 }
3} 24}
4 25
5group { "efl/multibuttonentry/label"; 26group { "efl/multibuttonentry/label";
6 inherit: "elm/multibuttonentry/label/default"; 27 parts {
28 text { "elm.text";
29 nomouse;
30 effect: GLOW;
31 scale;
32 desc { "default";
33 color: FN_COL_HIGHLIGHT;
34 color_class: "multibuttonentry_label";
35 text { font: FNBD; size: 10;
36 min: 1 1;
37 ellipsis: -1;
38 align: 0.5 0.5;
39 text_class: "multibuttonentry_label";
40 }
41 rel1.offset: 2 2;
42 rel2.offset: -5 -5;
43 }
44 }
45 }
7} 46}
8 47
9group { "efl/multibuttonentry/guidetext"; 48group { "efl/multibuttonentry/guidetext";
10 inherit: "elm/multibuttonentry/guidetext/default"; 49 parts {
50 text { "elm.text";
51 scale;
52 effect: SHADOW BOTTOM;
53 desc { "default";
54 rel1.offset: 2 2;
55 rel2.offset: -4 -4;
56 color: FN_COL_DISABLE;
57 text { font: FNBD; size: 10;
58 min: 0 1;
59 align: 0.0 0.5;
60 }
61 }
62 }
63 }
11} 64}
12 65
13group { "efl/multibuttonentry/btn"; 66group { "efl/multibuttonentry/btn";
14 inherit: "elm/multibuttonentry/btn/default"; 67 images.image: "button_normal.png" COMP;
68 images.image: "button_clicked.png" COMP;
69 images.image: "sym_close_dark_normal.png" COMP;
70 images.image: "sym_close_dark_selected.png" COMP;
71 images.image: "win_glow.png" COMP;
72 styles {
73 style { name: "multibuttonentry_textblock_style";
74 base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=multibuttonentry_item ellipsis=1.0";
75 tag: "br" "\n";
76 tag: "ps" "ps";
77 tag: "hilight" "+ font="FNBD;
78 tag: "b" "+ font="FNBD;
79 tag: "tab" "\t";
80 }
81 }
82
83 script {
84 public disabled = 0;
85 }
86
87 parts {
88 rect { "bg";
89 desc { "default";
90 color_class: "multibuttonentry_item_bg";
91 }
92 desc { "pressed";
93 color_class: "multibuttonentry_item_bg_selected";
94 }
95 }
96 image { "base";
97 desc { "default";
98 image.normal: "button_normal.png";
99 image.border: 4 4 3 5;
100 image.middle: SOLID;
101 rel1.offset: -1 0;
102 rel2.offset: 0 1;
103 fill.smooth: 0;
104 }
105 desc { "pressed";
106 inherit: "default";
107 image.normal: "button_clicked.png";
108 image.border: 5 5 4 6;
109 }
110 }
111 image { "glow";
112 nomouse;
113 desc { "default";
114 image.normal: "win_glow.png";
115 image.border: 9 9 9 9;
116 image.middle: 0;
117 rel1.offset: -2 -3;
118 rel1.to: "base";
119 rel2.offset: 1 0;
120 rel2.to: "base";
121 fill.smooth: 0;
122 color: 255 255 255 0;
123 hid;
124 }
125 desc { "focused";
126 inherit: "default";
127 color: 255 255 255 255;
128 vis;
129 }
130 desc { "unfocused";
131 inherit: "default";
132 }
133 }
134 image { "close";
135 nomouse;
136 desc { "default";
137 image.normal: "sym_close_dark_normal.png";
138 rel1.to: "del";
139 rel2.to: "del";
140 min: 15 15;
141 max: 15 15;
142 fixed: 1 1;
143 }
144 desc { "clicked";
145 inherit: "default";
146 image.normal: "sym_close_dark_selected.png";
147 }
148 }
149 rect { "del";
150 scale;
151 desc { "default";
152 fixed: 1 0;
153 min: 4 4;
154 align: 1.0 0.5;
155 aspect: 1.0 1.0; aspect_preference: VERTICAL;
156 rel1.relative: 1.0 0.0;
157 rel1.to: "base";
158 rel1.offset: -6 5;
159 rel2.offset: -6 -7;
160 rel2.to: "base";
161 color: 0 0 0 0;
162 }
163 }
164 textblock { "elm.btn.text";
165 nomouse;
166 scale;
167 desc { "default";
168 color_class: "multibuttonentry_item_text";
169 text { style: "multibuttonentry_textblock_style";
170 min: 1 1;
171 ellipsis: -1;
172 text_class: "multibuttonentry_item_text";
173 }
174 hid;
175 rel1.offset: 5 5;
176 rel1.to: "base";
177 rel2.to_x: "del";
178 rel2.to_y: "base";
179 rel2.relative: 0.0 1.0;
180 rel2.offset: -3 -7;
181 }
182 }
183 textblock { "text";
184 nomouse;
185 scale;
186 desc { "default";
187 color_class: "multibuttonentry_item_text";
188 text { style: "multibuttonentry_textblock_style";
189 text_source: "elm.btn.text";
190 min: 0 1;
191 align: 0.0 0.5;
192 text_class: "multibuttonentry_item_text";
193 }
194 align: 0.0 0.5;
195 rel1.offset: 5 5;
196 rel1.to: "base";
197 rel2.to_x: "del";
198 rel2.to_y: "base";
199 rel2.relative: 0.0 1.0;
200 rel2.offset: -3 -7;
201 }
202 desc { "pressed";
203 inherit: "default";
204 color_class: "multibuttonentry_item_text_pressed";
205 text {
206 text_class: "multibuttonentry_item_text_pressed";
207 }
208 }
209 desc { "disabled";
210 inherit: "default";
211 color_class: "multibuttonentry_item_text_disabled";
212 text {
213 text_class: "multibuttonentry_item_text_disabled";
214 }
215 }
216 }
217 }
218 programs {
219 program {
220 signal: "mouse,clicked,1";
221 source: "base";
222 script {
223 if (get_int(disabled) == 0) {
224 emit("clicked", "");
225 }
226 }
227 }
228 program {
229 signal: "elm,state,default";
230 source: "elm";
231 action: STATE_SET "default";
232 target: "glow";
233 }
234 program {
235 signal: "elm,state,focused";
236 source: "elm";
237 action: STATE_SET "focused";
238 target: "glow";
239 }
240 program {
241 signal: "elm,state,enabled";
242 source: "elm";
243 script {
244 set_state(PART:"text", "default", 0.0);
245 set_int(disabled , 0);
246 }
247 }
248 program {
249 signal: "elm,state,disabled";
250 source: "elm";
251 script {
252 new st[31];
253 new Float: vl;
254 get_state(PART:"glow", st, 30, vl);
255 if (!strcmp(st, "focused"))
256 set_state(PART:"glow", "default", 0.0);
257 set_state(PART:"text", "disabled", 0.0);
258 set_int(disabled , 1);
259 }
260 }
261 program {
262 signal: "elm,state,unfocused";
263 source: "elm";
264 action: STATE_SET "unfocused";
265 target: "glow";
266 }
267 program {
268 signal: "mouse,down,1";
269 source: "base";
270 script {
271 if (get_int(disabled) == 0) {
272 set_state(PART:"base", "pressed", 0.0);
273 set_state(PART:"bg", "pressed", 0.0);
274 set_state(PART:"text", "pressed", 0.0);
275 }
276 }
277 }
278 program {
279 signal: "mouse,up,1";
280 source: "base";
281 script {
282 if (get_int(disabled) == 0) {
283 set_state(PART:"base", "default", 0.0);
284 set_state(PART:"bg", "default", 0.0);
285 set_state(PART:"text", "default", 0.0);
286 }
287 }
288 }
289 program {
290 signal: "mouse,clicked,1";
291 source: "del";
292 action: SIGNAL_EMIT "elm,deleted" "elm";
293 }
294 program {
295 signal: "mouse,down,1";
296 source: "del";
297 action: STATE_SET "clicked";
298 target: "close";
299 }
300 program {
301 signal: "mouse,up,1";
302 source: "del";
303 action: STATE_SET "default";
304 target: "close";
305 }
306 }
15} 307}
16 308
17group { "efl/multibuttonentry/closedbutton"; 309group { "efl/multibuttonentry/closedbutton";
18 inherit: "elm/multibuttonentry/closedbutton/default"; 310 styles {
311 style { name: "textblock_style_multibuttonentry_default";
312 base: "font="FNBD" font_size=10 text_class=multibuttonentry_closed style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12 wrap=char";
313 tag: "br" "\n";
314 tag: "ps" "ps";
315 tag: "hilight" "+ font="FNBD;
316 tag: "b" "+ font="FNBD;
317 tag: "tab" "\t";
318 }
319 }
320 parts {
321 rect { "bg";
322 desc { "default";
323 color: 0 0 0 0;
324 }
325 }
326 textblock { "elm.text";
327 nomouse;
328 scale;
329 desc { "default";
330 rel1.offset: 2 2;
331 rel1.to: "bg";
332 rel2.offset: -3 -3;
333 rel2.to: "bg";
334 text { style: "textblock_style_multibuttonentry_default";
335 min: 1 1;
336 ellipsis: -1;
337 }
338 }
339 }
340 }
19} 341}
diff --git a/data/elementary/themes/edc/elm/multibuttonentry.edc b/data/elementary/themes/edc/elm/multibuttonentry.edc
deleted file mode 100644
index cefb816419..0000000000
--- a/data/elementary/themes/edc/elm/multibuttonentry.edc
+++ /dev/null
@@ -1,328 +0,0 @@
1group { name: "elm/multibuttonentry/base/default";
2 data.item: "horizontal_pad" 0;
3 data.item: "vertical_pad" 0;
4 data.item: "closed_height" 0;
5 parts {
6 part { name: "bg";
7 type: RECT;
8 scale: 1;
9 description { state: "default" 0.0;
10 color_class: "multibuttonentry_bg";
11 }
12 }
13 part { name: "elm.swallow.background";
14 type: SWALLOW;
15 scale: 1;
16 description { state: "default" 0.0;
17 rel1.to: "bg";
18 rel2.to: "bg";
19 }
20 }
21 part { name: "box.swallow"; type: SWALLOW;
22 description { state: "default" 0.0;
23 rel1.to: "bg";
24 rel2.to: "bg";
25 }
26 }
27 }
28}
29
30group { name: "elm/multibuttonentry/label/default";
31 parts {
32 part { name: "elm.text"; type: TEXT; mouse_events: 0;
33 effect: GLOW;
34 scale: 1;
35 description { state: "default" 0.0;
36 color: FN_COL_HIGHLIGHT;
37 color_class: "multibuttonentry_label";
38 text { font: FNBD; size: 10;
39 min: 1 1;
40 ellipsis: -1;
41 align: 0.5 0.5;
42 text_class: "multibuttonentry_label";
43 }
44 rel1.offset: 2 2;
45 rel2.offset: -5 -5;
46 }
47 }
48 }
49}
50
51group { name: "elm/multibuttonentry/guidetext/default";
52 parts {
53 part { name: "elm.text"; type: TEXT;
54 scale: 1;
55 effect: SHADOW BOTTOM;
56 description { state: "default" 0.0;
57 rel1.offset: 2 2;
58 rel2.offset: -4 -4;
59 color: FN_COL_DISABLE;
60 text { font: FNBD; size: 10;
61 min: 0 1;
62 align: 0.0 0.5;
63 }
64 }
65 }
66 }
67}
68
69group { name: "elm/multibuttonentry/btn/default";
70 images.image: "button_normal.png" COMP;
71 images.image: "button_clicked.png" COMP;
72 images.image: "sym_close_dark_normal.png" COMP;
73 images.image: "sym_close_dark_selected.png" COMP;
74 images.image: "win_glow.png" COMP;
75 styles {
76 style { name: "multibuttonentry_textblock_style";
77 base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=multibuttonentry_item ellipsis=1.0";
78 tag: "br" "\n";
79 tag: "ps" "ps";
80 tag: "hilight" "+ font="FNBD;
81 tag: "b" "+ font="FNBD;
82 tag: "tab" "\t";
83 }
84 }
85
86 script {
87 public disabled = 0;
88 }
89
90 parts {
91 part { name: "bg"; type: RECT;
92 description { state: "default" 0.0;
93 color_class: "multibuttonentry_item_bg";
94 }
95 description { state: "pressed" 0.0;
96 color_class: "multibuttonentry_item_bg_selected";
97 }
98 }
99 part { name: "base";
100 description { state: "default" 0.0;
101 image.normal: "button_normal.png";
102 image.border: 4 4 3 5;
103 image.middle: SOLID;
104 rel1.offset: -1 0;
105 rel2.offset: 0 1;
106 fill.smooth: 0;
107 }
108 description { state: "pressed" 0.0;
109 inherit: "default" 0.0;
110 image.normal: "button_clicked.png";
111 image.border: 5 5 4 6;
112 }
113 }
114 part { name: "glow"; mouse_events: 0;
115 description { state: "default" 0.0;
116 image.normal: "win_glow.png";
117 image.border: 9 9 9 9;
118 image.middle: 0;
119 rel1.offset: -2 -3;
120 rel1.to: "base";
121 rel2.offset: 1 0;
122 rel2.to: "base";
123 fill.smooth: 0;
124 color: 255 255 255 0;
125 visible: 0;
126 }
127 description { state: "focused" 0.0;
128 inherit: "default" 0.0;
129 color: 255 255 255 255;
130 visible: 1;
131 }
132 description { state: "unfocused" 0.0;
133 inherit: "default" 0.0;
134 }
135 }
136 part { name: "close"; mouse_events: 0;
137 description { state: "default" 0.0;
138 image.normal: "sym_close_dark_normal.png";
139 rel1.to: "del";
140 rel2.to: "del";
141 min: 15 15;
142 max: 15 15;
143 fixed: 1 1;
144 }
145 description { state: "clicked" 0.0;
146 inherit: "default" 0.0;
147 image.normal: "sym_close_dark_selected.png";
148 }
149 }
150 part { name: "del"; type: RECT;
151 scale: 1;
152 description { state: "default" 0.0;
153 fixed: 1 0;
154 min: 4 4;
155 align: 1.0 0.5;
156 aspect: 1.0 1.0; aspect_preference: VERTICAL;
157 rel1.relative: 1.0 0.0;
158 rel1.to: "base";
159 rel1.offset: -6 5;
160 rel2.offset: -6 -7;
161 rel2.to: "base";
162 color: 0 0 0 0;
163 }
164 }
165 part { name: "elm.btn.text"; type: TEXTBLOCK; mouse_events: 0;
166 scale: 1;
167 description { state: "default" 0.0;
168 color_class: "multibuttonentry_item_text";
169 text { style: "multibuttonentry_textblock_style";
170 min: 1 1;
171 ellipsis: -1;
172 text_class: "multibuttonentry_item_text";
173 }
174 visible: 0;
175 rel1.offset: 5 5;
176 rel1.to: "base";
177 rel2.to_x: "del";
178 rel2.to_y: "base";
179 rel2.relative: 0.0 1.0;
180 rel2.offset: -3 -7;
181 }
182 }
183 part { name: "text"; type: TEXTBLOCK; mouse_events: 0;
184 scale: 1;
185 description { state: "default" 0.0;
186 color_class: "multibuttonentry_item_text";
187 text { style: "multibuttonentry_textblock_style";
188 text_source: "elm.btn.text";
189 min: 0 1;
190 align: 0.0 0.5;
191 text_class: "multibuttonentry_item_text";
192 }
193 align: 0.0 0.5;
194 rel1.offset: 5 5;
195 rel1.to: "base";
196 rel2.to_x: "del";
197 rel2.to_y: "base";
198 rel2.relative: 0.0 1.0;
199 rel2.offset: -3 -7;
200 }
201 description { state: "pressed" 0.0;
202 inherit: "default";
203 color_class: "multibuttonentry_item_text_pressed";
204 text {
205 text_class: "multibuttonentry_item_text_pressed";
206 }
207 }
208 description { state: "disabled" 0.0;
209 inherit: "default";
210 color_class: "multibuttonentry_item_text_disabled";
211 text {
212 text_class: "multibuttonentry_item_text_disabled";
213 }
214 }
215 }
216 }
217 programs {
218 program {
219 signal: "mouse,clicked,1"; source: "base";
220 script {
221 if (get_int(disabled) == 0) {
222 emit("clicked", "");
223 }
224 }
225 }
226 program {
227 signal: "elm,state,default"; source: "elm";
228 action: STATE_SET "default" 0.0;
229 target: "glow";
230 }
231 program {
232 signal: "elm,state,focused"; source: "elm";
233 action: STATE_SET "focused" 0.0;
234 target: "glow";
235 }
236 program {
237 signal: "elm,state,enabled"; source: "elm";
238 script {
239 set_state(PART:"text", "default", 0.0);
240 set_int(disabled , 0);
241 }
242 }
243 program {
244 signal: "elm,state,disabled"; source: "elm";
245 script {
246 new st[31];
247 new Float: vl;
248 get_state(PART:"glow", st, 30, vl);
249 if (!strcmp(st, "focused"))
250 set_state(PART:"glow", "default", 0.0);
251 set_state(PART:"text", "disabled", 0.0);
252 set_int(disabled , 1);
253 }
254 }
255 program {
256 signal: "elm,state,unfocused"; source: "elm";
257 action: STATE_SET "unfocused" 0.0;
258 target: "glow";
259 }
260 program {
261 signal: "mouse,down,1"; source: "base";
262 script {
263 if (get_int(disabled) == 0) {
264 set_state(PART:"base", "pressed", 0.0);
265 set_state(PART:"bg", "pressed", 0.0);
266 set_state(PART:"text", "pressed", 0.0);
267 }
268 }
269 }
270 program {
271 signal: "mouse,up,1"; source: "base";
272 script {
273 if (get_int(disabled) == 0) {
274 set_state(PART:"base", "default", 0.0);
275 set_state(PART:"bg", "default", 0.0);
276 set_state(PART:"text", "default", 0.0);
277 }
278 }
279 }
280 program {
281 signal: "mouse,clicked,1"; source: "del";
282 action: SIGNAL_EMIT "elm,deleted" "elm";
283 }
284 program {
285 signal: "mouse,down,1"; source: "del";
286 action: STATE_SET "clicked" 0.0;
287 target: "close";
288 }
289 program {
290 signal: "mouse,up,1"; source: "del";
291 action: STATE_SET "default" 0.0;
292 target: "close";
293 }
294 }
295}
296
297group { name: "elm/multibuttonentry/closedbutton/default";
298 styles {
299 style { name: "textblock_style_multibuttonentry_default";
300 base: "font="FNBD" font_size=10 text_class=multibuttonentry_closed style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12 wrap=char";
301 tag: "br" "\n";
302 tag: "ps" "ps";
303 tag: "hilight" "+ font="FNBD;
304 tag: "b" "+ font="FNBD;
305 tag: "tab" "\t";
306 }
307 }
308 parts {
309 part { name: "bg"; type: RECT;
310 description { state: "default" 0.0;
311 color: 0 0 0 0;
312 }
313 }
314 part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
315 scale: 1;
316 description { state: "default" 0.0;
317 rel1.offset: 2 2;
318 rel1.to: "bg";
319 rel2.offset: -3 -3;
320 rel2.to: "bg";
321 text { style: "textblock_style_multibuttonentry_default";
322 min: 1 1;
323 ellipsis: -1;
324 }
325 }
326 }
327 }
328}
diff --git a/src/lib/elementary/efl_ui_multibuttonentry.c b/src/lib/elementary/efl_ui_multibuttonentry.c
index a1a7bdeb57..c5304f1246 100644
--- a/src/lib/elementary/efl_ui_multibuttonentry.c
+++ b/src/lib/elementary/efl_ui_multibuttonentry.c
@@ -36,10 +36,6 @@ static const char SIG_EXPANDED[] = "expanded";
36static const char SIG_CONTRACTED[] = "contracted"; 36static const char SIG_CONTRACTED[] = "contracted";
37static const char SIG_EXPAND_STATE_CHANGED[] = "expand,state,changed"; 37static const char SIG_EXPAND_STATE_CHANGED[] = "expand,state,changed";
38 38
39static const char PART_NAME_BUTTON[] = "btn";
40static const char PART_NAME_GUIDE_TEXT[] = "guidetext";
41static const char PART_NAME_LABEL[] = "label";
42static const char PART_NAME_CLOSED_BUTTON[] = "closedbutton";
43static const Evas_Smart_Cb_Description _smart_callbacks[] = { 39static const Evas_Smart_Cb_Description _smart_callbacks[] = {
44 {SIG_ITEM_SELECTED, ""}, 40 {SIG_ITEM_SELECTED, ""},
45 {SIG_ITEM_ADDED, ""}, 41 {SIG_ITEM_ADDED, ""},
@@ -55,6 +51,11 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
55 {NULL, NULL} 51 {NULL, NULL}
56}; 52};
57 53
54static const char PART_NAME_BUTTON[] = "btn";
55static const char PART_NAME_GUIDE_TEXT[] = "guidetext";
56static const char PART_NAME_LABEL[] = "label";
57static const char PART_NAME_CLOSED_BUTTON[] = "closedbutton";
58
58static Eina_Bool _efl_ui_multibuttonentry_smart_focus_next_enable = EINA_FALSE; 59static Eina_Bool _efl_ui_multibuttonentry_smart_focus_next_enable = EINA_FALSE;
59static Eina_Bool _efl_ui_multibuttonentry_smart_focus_direction_enable = EINA_TRUE; 60static Eina_Bool _efl_ui_multibuttonentry_smart_focus_direction_enable = EINA_TRUE;
60 61