summaryrefslogtreecommitdiff
path: root/legacy/elementary/data
diff options
context:
space:
mode:
authorRajeev Ranjan <rajeev.r@samsung.com>2012-03-05 23:51:56 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-03-05 23:51:56 +0000
commit9711e4c796ff9016a65e657781370c7df838703c (patch)
treeef82931b77c041a5f20b71a372887f2372d94e93 /legacy/elementary/data
parent4373acedcc10e4f056ad4c38f84d70b5c20f6a91 (diff)
From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel] [Patch] Elementary: New custom widget Popup Hi All, Attached to the mail is the patch for a new custom elementary widget elm_popup for your review. Change description: New custom widget Popup added. elm_popup is an enhancement over elm_notify widget with widely used parts such as Title, Content and Action Buttons. Items are supported as well and they are put inside the content area which can have either an Evas Object/Set of items/Description text. SVN revision: 68747
Diffstat (limited to 'legacy/elementary/data')
-rw-r--r--legacy/elementary/data/themes/default.edc1
-rw-r--r--legacy/elementary/data/themes/widgets/button.edc1
-rw-r--r--legacy/elementary/data/themes/widgets/popup.edc899
3 files changed, 901 insertions, 0 deletions
diff --git a/legacy/elementary/data/themes/default.edc b/legacy/elementary/data/themes/default.edc
index 5111d77..d8e937e 100644
--- a/legacy/elementary/data/themes/default.edc
+++ b/legacy/elementary/data/themes/default.edc
@@ -366,6 +366,7 @@ collections {
366#include "widgets/video.edc" 366#include "widgets/video.edc"
367#include "widgets/naviframe.edc" 367#include "widgets/naviframe.edc"
368#include "widgets/multibuttonentry.edc" 368#include "widgets/multibuttonentry.edc"
369#include "widgets/popup.edc"
369#include "ews.edc" 370#include "ews.edc"
370#include "widgets/pointer.edc" 371#include "widgets/pointer.edc"
371} 372}
diff --git a/legacy/elementary/data/themes/widgets/button.edc b/legacy/elementary/data/themes/widgets/button.edc
index ee50891..11dcd42 100644
--- a/legacy/elementary/data/themes/widgets/button.edc
+++ b/legacy/elementary/data/themes/widgets/button.edc
@@ -1,4 +1,5 @@
1group { name: "elm/button/base/default"; 1group { name: "elm/button/base/default";
2 alias: "elm/button/base/popup_button/default";
2 images { 3 images {
3 image: "bt_base1.png" COMP; 4 image: "bt_base1.png" COMP;
4 image: "bt_base2.png" COMP; 5 image: "bt_base2.png" COMP;
diff --git a/legacy/elementary/data/themes/widgets/popup.edc b/legacy/elementary/data/themes/widgets/popup.edc
new file mode 100644
index 0000000..11143fc
--- /dev/null
+++ b/legacy/elementary/data/themes/widgets/popup.edc
@@ -0,0 +1,899 @@
1#define POPUP_ITEM_STATE_ENABLED 0
2#define POPUP_ITEM_STATE_DISABLED 1
3
4/*popup widget specific notify style style*/
5group { name: "elm/notify/block_events/popup";
6 parts {
7 part { name: "block_events";
8 type: RECT;
9 description { state: "default" 0.0;
10 color: 61 59 56 180;
11 }
12 }
13 }
14 programs {
15 program { name: "block_clicked";
16 signal: "mouse,clicked,1";
17 source: "block_events";
18 action: SIGNAL_EMIT "elm,action,click" "elm";
19 }
20 }
21}
22
23group { name: "elm/label/base/popup/default";
24 styles
25 {
26 style { name: "popup_desc_style";
27 base: "font=Sans font_size=10 align=center color=#000000 text_class=label";
28 tag: "br" "\n";
29 tag: "ps" "ps";
30 tag: "whitecolor" "+ color=#ffffff";
31 tag: "tab" "\t";
32 }
33 }
34 parts {
35 part { name: "left_top_padding";
36 type: RECT;
37 scale: 1;
38 description { state: "default" 0.0;
39 fixed: 1 1;
40 visible: 0;
41 align: 0.0 0.0;
42 min: 10 0;
43 rel2.relative: 0 0;
44 }
45 }
46 part { name: "right_bottom_padding";
47 type: RECT;
48 scale: 1;
49 description { state: "default" 0.0;
50 fixed: 1 1;
51 visible: 0;
52 align: 1.0 1.0;
53 min: 10 0;
54 rel1.relative: 1 1;
55 }
56 }
57 part { name: "elm.text";
58 type: TEXTBLOCK;
59 mouse_events: 0;
60 scale: 1;
61 description { state: "default" 0.0;
62 min: 380 0;
63 text {
64 style: "popup_desc_style";
65 min: 0 1;
66 max: 0 1;
67 }
68 rel1 {
69 relative: 1.0 1.0;
70 to: left_top_padding;
71 }
72 rel2 {
73 relative: 0.0 0.0;
74 to: right_bottom_padding;
75 }
76 }
77 }
78 }
79}
80
81group { name: "elm/popup/base/default";
82 styles {
83 style { name: "popup_title_style";
84 base: "font=Sans font_size=15 align=center color=#ffffff wrap=mixed ellipsis=1.0";
85 tag: "br" "\n";
86 tag: "tab" "\t";
87 }
88 }
89 parts {
90 part { name: "base";
91 type: RECT;
92 scale : 1;
93 description { state: "default" 0.0;
94 min: 400 0;
95 color: 237 237 237 255;
96 align: 0.0 0.0;
97 }
98 }
99 part { name: "elm.bg.title";
100 type: RECT;
101 scale : 1;
102 description { state: "default" 0.0;
103 min: 400 50;
104 fixed : 1 1;
105 align: 0.5 0.0;
106 visible: 0;
107 color: 172 172 172 255;
108 rel1 {
109 relative: 0.5 0.0;
110 to: "base";
111 }
112 rel2 {
113 relative: 0.5 0.0;
114 to: "base";
115 }
116 }
117 description { state: "visible" 0.0;
118 inherit: "default" 0.0;
119 visible: 1;
120 }
121 }
122 part { name: "left_pad";
123 type: RECT;
124 scale: 1;
125 description { state: "default" 0.0;
126 min: 10 0;
127 max: 10 0;
128 fixed: 1 1;
129 align: 0.0 0.0;
130 visible: 0;
131 rel1.to: "elm.bg.title";
132 }
133 }
134 part { name: "right_pad";
135 type: RECT;
136 scale: 1;
137 description { state: "default" 0.0;
138 min: 10 0;
139 max: 10 0;
140 fixed: 1 1;
141 align: 1.0 1.0;
142 visible: 0;
143 rel2.to: "elm.bg.title";
144 }
145 }
146 part { name: "elm.swallow.title.icon";
147 type: SWALLOW;
148 scale: 1;
149 description { state: "default" 0.0;
150 min: 48 48;
151 max: 48 48;
152 fixed: 1 1;
153 align: 0.0 0.5;
154 rel1 {
155 to: "left_pad";
156 relative: 1.0 0.0;
157 }
158 rel2 {
159 to: "right_pad";
160 relative: 0.0 1.0;
161 }
162 visible: 0;
163 }
164 description { state: "visible" 0.0;
165 inherit: "default" 0.0;
166 visible: 1;
167 }
168 }
169 part { name: "elm.text.title";
170 type: TEXTBLOCK;
171 scale:1;
172 description { state: "default" 0.0;
173 text {
174 style: "popup_title_style";
175 min: 0 0;
176 max: 0 1;
177 }
178 color: 255 255 255 255;
179 visible:0;
180 rel1 {
181 relative: 1.0 0.0;
182 to: "left_pad";
183 }
184 rel2 {
185 relative: 0.0 1.0;
186 to: "right_pad";
187 }
188 }
189 description { state: "visible" 0.0;
190 inherit: "default" 0.0;
191 visible: 1;
192 }
193 }
194 part { name: "elm.swallow.content";
195 type: SWALLOW;
196 scale : 1;
197 description { state: "default" 0.0;
198 min: 400 0;
199 fixed: 1 0;
200 rel1 {
201 relative: 0.5 0.0;
202 to: "base";
203 }
204 rel2 {
205 relative: 0.5 1.0;
206 to: "base";
207 }
208 }
209 description { state: "show_title_area" 0.0;
210 inherit: "default" 0.0;
211 rel1 {
212 relative: 0.5 1.0;
213 to: "elm.bg.title";
214 }
215 }
216 description { state: "show_action_area" 0.0;
217 inherit: "default" 0.0;
218 rel2 {
219 relative: 0.5 0.0;
220 to: "elm.bg.action_area";
221 }
222 }
223 description { state: "show_action_title_area" 0.0;
224 inherit: "default" 0.0;
225 rel1 {
226 relative: 0.5 1.0;
227 to: "elm.bg.title";
228 }
229 rel2 {
230 relative: 0.5 0.0;
231 to: "elm.bg.action_area";
232 }
233 }
234 }
235 part { name: "elm.bg.action_area";
236 type: RECT;
237 scale : 1;
238 description { state: "default" 0.0;
239 min: 400 60;
240 fixed : 1 1;
241 align: 0.5 1.0;
242 visible: 0;
243 color: 183 183 183 255;
244 rel1 {
245 relative: 0.0 1.0;
246 to: "base";
247 }
248 rel2.to: "base";
249 }
250 description { state: "visible" 0.0;
251 inherit: "default" 0.0;
252 visible: 1;
253 }
254 }
255 part { name: "elm.swallow.action_area";
256 type: SWALLOW;
257 scale : 1;
258 description { state: "default" 0.0;
259 align: 0.0 0.0;
260 visible: 0;
261 rel1.to: "elm.bg.action_area";
262 rel2.to: "elm.bg.action_area";
263 }
264 description { state: "visible" 0.0;
265 inherit: "default" 0.0;
266 visible: 1;
267 }
268 }
269 }
270 programs {
271 program { name: show_title_icon;
272 signal: "elm,state,title,icon,visible";
273 source: "elm";
274 action: STATE_SET "visible" 0.0;
275 target: "elm.swallow.title.icon";
276 }
277 program { name: hide_title_icon;
278 signal: "elm,state,title,icon,hidden";
279 source: "elm";
280 action: STATE_SET "default" 0.0;
281 target: "elm.swallow.title.icon";
282 }
283 program { name: show_title_text;
284 signal: "elm,state,title,text,visible";
285 source: "elm";
286 action: STATE_SET "visible" 0.0;
287 target: "elm.text.title";
288 }
289 program { name: hide_title_text;
290 signal: "elm,state,title,text,hidden";
291 source: "elm";
292 action: STATE_SET "default" 0.0;
293 target: "elm.text.title";
294 }
295 program { name: show_title_area;
296 signal: "elm,state,title_area,visible";
297 source: "elm";
298 script {
299 new st[31];
300 new Float:vl;
301 get_state(PART:"elm.swallow.action_area", st, 30, vl);
302 if (!strcmp(st, "visible"))
303 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
304 else
305 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
306 set_state(PART:"elm.bg.title", "visible", 0.0);
307 }
308 }
309 program { name: hide_title_area;
310 signal: "elm,state,title_area,hidden";
311 source: "elm";
312 action: STATE_SET "default" 0.0;
313 script {
314 new st[31];
315 new Float:vl;
316 get_state(PART:"elm.swallow.action_area", st, 30, vl);
317 if (!strcmp(st, "visible"))
318 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
319 else
320 set_state(PART:"elm.swallow.content", "default", 0.0);
321 set_state(PART:"elm.bg.title", "default", 0.0);
322 }
323 }
324 program { name: show_action_area;
325 signal: "elm,state,action_area,visible";
326 source: "elm";
327 script {
328 new st[31];
329 new Float:vl;
330 get_state(PART:"elm.bg.title", st, 30, vl);
331 if (!strcmp(st, "visible"))
332 set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
333 else
334 set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
335 set_state(PART:"elm.bg.action_area", "visible", 0.0);
336 set_state(PART:"elm.swallow.action_area", "visible", 0.0);
337 }
338 }
339 program { name: hide_action_area;
340 signal: "elm,state,action_area,hidden";
341 source: "elm";
342 action: STATE_SET "default" 0.0;
343 script {
344 new st[31];
345 new Float:vl;
346 get_state(PART:"elm.bg.title", st, 30, vl);
347 if (!strcmp(st, "visible"))
348 set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
349 else
350 set_state(PART:"elm.swallow.content", "default", 0.0);
351 set_state(PART:"elm.bg.action_area", "default", 0.0);
352 set_state(PART:"elm.swallow.action_area", "default", 0.0);
353 }
354 }
355 } /* end of programs */
356}
357
358group { name: "elm/popup/content/default";
359 parts{
360 part { name: "pad_t";
361 type: RECT;
362 scale : 1;
363 mouse_events: 0;
364 description { state: "default" 0.0;
365 align: 0.5 0.0;
366 min: 0 14;
367 fixed: 0 1;
368 visible: 0;
369 rel1 {
370 relative: 1.0 0.0;
371 to_x: "pad_l";
372 }
373 rel2 {
374 relative: 0.0 0.0;
375 to_x: "pad_r";
376 }
377 }
378 }
379 part { name: "pad_l";
380 type: RECT;
381 scale: 1;
382 description { state: "default" 0.0;
383 min : 10 0;
384 fixed: 1 0;
385 rel2.relative: 0.0 1.0;
386 visible: 0;
387 align: 0.0 0.0;
388 }
389 }
390 part { name: "pad_r";
391 type: RECT;
392 scale: 1;
393 description { state: "default" 0.0;
394 min : 10 0;
395 fixed: 1 0;
396 rel1.relative: 1.0 0.0;
397 visible: 0;
398 align: 1.0 0.0;
399 }
400 }
401 part{ name:"elm.swallow.content";
402 type: SWALLOW;
403 scale : 1;
404 description { state: "default" 0.0;
405 min: 380 0;
406 fixed: 1 0;
407 rel1 {
408 relative: 0.5 1.0;
409 to: "pad_t";
410 }
411 rel2 {
412 relative: 0.5 0.0;
413 to: "pad_b";
414 }
415 }
416 }
417 part { name: "pad_b";
418 type: RECT;
419 scale : 1;
420 mouse_events: 0;
421 description { state: "default" 0.0;
422 align: 0.5 1.0;
423 min: 0 14;
424 fixed: 0 1;
425 visible: 0;
426 rel1 {
427 relative: 0.0 1.0;
428 to_x: "pad_l";
429 }
430 rel2.to_x: "pad_r";
431 }
432 }
433 }
434}
435
436 group { name: "elm/popup/item/default";
437 script {
438 public item_state = POPUP_ITEM_STATE_ENABLED;
439 }
440 parts {
441 part { name: "event_blocker";
442 description { state: "default" 0.0;
443 }
444 }
445 part { name: "bg";
446 mouse_events: 0;
447 type: RECT;
448 description { state: "default" 0.0;
449 color: 240 240 240 255;
450 min: 0 71;
451 align: 0.5 0.0;
452 }
453 description { state: "clicked" 0.0;
454 color: 190 170 150 255;
455 }
456 }
457 part { name: "padding_left_top";
458 type: RECT;
459 scale: 1;
460 mouse_events: 0;
461 description { state: "default" 0.0;
462 align: 0.0 0.0;
463 rel2.relative: 0.0 0.0;
464 min: 10 10;
465 fixed: 1 1;
466 visible: 0;
467 }
468 }
469 part { name: "padding_right_bottom";
470 type: RECT;
471 scale: 1;
472 mouse_events: 0;
473 description { state: "default" 0.0;
474 align: 1.0 1.0;
475 rel1.relative: 1.0 1.0;
476 min: 10 10;
477 fixed: 1 1;
478 visible: 0;
479 }
480 }
481 part { name: "separator";
482 mouse_events: 0;
483 type: RECT;
484 scale: 1;
485 description { state: "dafault" 0.0;
486 color: 180 180 180 255;
487 align: 0.5 1.0;
488 min: 0 1;
489 max: 999999 1;
490 }
491 }
492 part { name: "padding_icon_text";
493 type: RECT;
494 scale: 1;
495 mouse_events: 0;
496 description { state: "default" 0.0; //when only icon or no icon is there
497 align: 0.0 0.0;
498 rel1 {
499 relative: 1.0 0.0;
500 to: "elm.swallow.content";
501 }
502 rel2.to: "elm.swallow.content";
503 fixed: 1 0;
504 min: 0 0;
505 visible: 0;
506 }
507 description { state: "visible" 0.0; //when icon is visible
508 inherit: "default" 0.0;
509 min: 10 0;
510 }
511 description { state: "icononly" 0.0;
512 inherit: "default" 0.0;
513 }
514 }
515 part { name: "elm.swallow.content";
516 type: SWALLOW;
517 scale: 1;
518 description { state: "default" 0.0;
519 visible: 0;
520 align: 0.0 0.5;
521 rel1 {
522 relative: 1.0 1.0;
523 to: "padding_left_top";
524 }
525 rel2 {
526 relative: 1.0 0.0;
527 to_x: "padding_left_top";
528 to_y: "padding_right_bottom";
529 }
530 fixed: 1 0;
531 }
532 description { state: "visible" 0.0;
533 fixed: 1 0;
534 min: 40 40;
535 max: 40 40;
536 align: 0.0 0.5;
537 rel1 {
538 relative: 1.0 1.0;
539 to: "padding_left_top";
540 }
541 rel2 {
542 relative: 1.0 0.0;
543 to_x: "padding_left_top";
544 to_y: "padding_right_bottom";
545 }
546 aspect: 1.0 1.0;
547 aspect_preference: VERTICAL;
548 }
549 description { state: "icononly" 0.0;
550 min: 40 40;
551 max: 40 40;
552 rel1 {
553 relative: 1.0 1.0;
554 to: "padding_left_top";
555 }
556 rel2 {
557 relative: 0.0 0.0;
558 to: "padding_right_bottom";
559 }
560 aspect: 1.0 1.0;
561 aspect_preference: VERTICAL;
562 }
563 }
564 part { name: "elm.text";
565 type: TEXT;
566 mouse_events: 0;
567 scale: 1;
568 description { state: "default" 0.0;
569 visible: 0;
570 rel1 {
571 relative: 1.0 1.0;
572 to_x: "padding_icon_text";
573 to_y: "padding_left_top";
574 }
575 rel2 {
576 relative: 0.0 0.0;
577 to:"padding_right_bottom";
578 }
579 align: 0.0 0.5;
580 color: 0 0 0 255;
581 text {
582 font: "Sans:style=Bold";
583 size: 20;
584 min: 0 0;
585 align: 0.0 0.5;
586 }
587 }
588 description { state: "visible" 0.0;
589 inherit: "default" 0.0;
590 visible: 1;
591 min: 90 40;
592 }
593 description { state: "clicked" 0.0;
594 inherit: "default" 0.0;
595 visible: 1;
596 min: 0 0;
597 color: 255 255 255 255;
598 }
599 description { state: "disabled" 0.0;
600 inherit: "default" 0.0;
601 color: 128 128 128 255;
602 }
603 description { state: "disabled_visible" 0.0;
604 inherit: "default" 0.0;
605 color: 128 128 128 255;
606 visible: 1;
607 min: 90 40;
608 }
609 }
610 part { name: "over1";
611 repeat_events: 1;
612 ignore_flags: ON_HOLD;
613 description { state: "default" 0.0;
614 }
615 }
616 part { name: "over2";
617 repeat_events: 1;
618 description { state: "default" 0.0;
619 }
620 }
621 part { name: "disclip";
622 type: RECT;
623 description { state: "default" 0.0;
624 visible: 0;
625 }
626 description { state: "disabled" 0.0;
627 color: 87 87 87 128;
628 }
629 }
630 }
631 programs {
632 program { name: "item_unclick";
633 signal: "mouse,up,1";
634 source: "over1";
635 action: SIGNAL_EMIT "elm,action,click" "";
636 }
637 program { name: "disable";
638 signal: "elm,state,item,disabled";
639 source: "elm";
640 action: STATE_SET "disabled" 0.0;
641 target: "disclip";
642 after: "disable_text";
643 }
644 program { name: "enable";
645 signal: "elm,state,item,enabled";
646 source: "elm";
647 action: STATE_SET "default" 0.0;
648 target: "disclip";
649 after: "enable_text";
650 }
651 program { name: "item_click2";
652 signal: "mouse,down,1";
653 source: "over2";
654 script {
655 new st[31];
656 new Float:vl;
657 get_state(PART:"elm.text", st, 30, vl);
658 if (!strcmp(st, "visible"))
659 set_state(PART:"elm.text", "clicked", 0.0);
660 set_state(PART:"bg", "clicked", 0.0);
661 }
662 }
663 program { name: "item_unclick2";
664 signal: "mouse,up,1";
665 source: "over2";
666 script {
667 new st[31];
668 new Float:vl;
669 get_state(PART:"elm.text", st, 30, vl);
670 if (!strcmp(st, "clicked"))
671 set_state(PART:"elm.text", "visible", 0.0);
672 set_state(PART:"bg", "default", 0.0);
673 }
674 }
675 program { name: "disable_text";
676 script {
677 new st[31];
678 new Float:vl;
679 get_state(PART:"elm.text", st, 30, vl);
680 if (!strcmp(st, "visible"))
681 set_state(PART:"elm.text", "disabled_visible", 0.0);
682 else
683 set_state(PART:"elm.text", "disabled", 0.0);
684 set_int(item_state, POPUP_ITEM_STATE_DISABLED);
685 }
686 }
687 program { name: "enable_text";
688 script {
689 new st[31];
690 new Float:vl;
691 get_state(PART:"elm.text", st, 30, vl);
692 if (!strcmp(st, "disabled_visible"))
693 set_state(PART:"elm.text", "visible", 0.0);
694 else
695 set_state(PART:"elm.text", "default", 0.0);
696 set_int(item_state, POPUP_ITEM_STATE_ENABLED);
697 }
698 }
699 program { name: "text_show";
700 signal: "elm,state,item,text,visible";
701 source: "elm";
702 script {
703 new st[31];
704 new Float:vl;
705 get_state(PART:"elm.swallow.content", st, 30, vl);
706 if (!strcmp(st, "icononly")) {
707 set_state(PART:"elm.swallow.content", "visible", 0.0);
708 set_state(PART:"padding_icon_text", "visible", 0.0);
709 }
710 if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED)
711 set_state(PART:"elm.text", "visible", 0.0);
712 else
713 set_state(PART:"elm.text", "disabled_visible", 0.0);
714 }
715 }
716 program { name: "text_hide";
717 signal: "elm,state,item,text,hidden";
718 source: "elm";
719 script {
720 new st[31];
721 new Float:vl;
722 get_state(PART:"elm.swallow.content", st, 30, vl);
723 if (!strcmp(st, "visible")) {
724 set_state(PART:"elm.swallow.content", "icononly", 0.0);
725 set_state(PART:"padding_icon_text", "icononly", 0.0);
726 }
727 set_state(PART:"elm.text", "default", 0.0);
728 }
729 }
730 program { name: "icon_show";
731 signal: "elm,state,item,icon,visible";
732 source: "elm";
733 script {
734 new st[31];
735 new Float:vl;
736 get_state(PART:"elm.text", st, 30, vl);
737 if (!strcmp(st, "visible")) {
738 set_state(PART:"elm.swallow.content", "visible", 0.0);
739 set_state(PART:"padding_icon_text", "visible", 0.0);
740 }
741 else {
742 set_state(PART:"elm.swallow.content", "icononly", 0.0);
743 set_state(PART:"padding_icon_text", "icononly", 0.0);
744 }
745 }
746 }
747 program { name: "icon_hide";
748 signal: "elm,state,item,icon,hidden";
749 source: "elm";
750 action: STATE_SET "default" 0.0;
751 target: "elm.swallow.content";
752 }
753 }
754 }
755
756group { name: "elm/popup/buttons1/default";
757 data.item: "action_area_height" "140";
758 parts{
759 part{ name:"actionbtn1";
760 type: SWALLOW;
761 scale : 1;
762 description { state: "default" 0.0;
763 min: 252 46;
764 max: 252 46;
765 fixed : 1 1;
766 rel1.relative: 0.5 0.0;
767 rel2.relative: 0.5 1.0;
768 }
769 }
770 }
771}
772
773group { name: "elm/popup/buttons2/default";
774 data.item: "action_area_height" "140";
775 parts{
776 part{ name:"actionbtn1";
777 type: SWALLOW;
778 scale : 1;
779 description { state: "default" 0.0;
780 min: 172 46;
781 max: 172 46;
782 fixed : 1 1;
783 align: 1.0 0.5;
784 rel1.to: "elm.rect.pad_btn";
785 rel2 {
786 relative: 0.0 1.0;
787 to: "elm.rect.pad_btn";
788 }
789 }
790 }
791 part { name: "elm.rect.pad_btn";
792 type: RECT;
793 scale : 1;
794 description { state: "default" 0.0;
795 min: 6 46;
796 max: 6 46;
797 fixed : 1 1;
798 visible: 0;
799 rel1.relative: 0.5 0.0;
800 rel2.relative: 0.5 1.0;
801 }
802 }
803 part{ name:"actionbtn2";
804 type: SWALLOW;
805 scale : 1;
806 description { state: "default" 0.0;
807 min: 172 46;
808 max: 172 46;
809 fixed : 1 1;
810 align: 0.0 0.5;
811 rel1 {
812 relative: 1.0 0.0;
813 to: "elm.rect.pad_btn";
814 }
815 rel2.to: "elm.rect.pad_btn";
816 }
817 }
818 }
819}
820
821group { name: "elm/popup/buttons3/default";
822 data.item: "action_area_height" "140";
823 parts{
824 part{ name:"actionbtn1";
825 type: SWALLOW;
826 scale : 1;
827 description { state: "default" 0.0;
828 min: 120 46;
829 max: 120 46;
830 fixed : 1 1;
831 align: 1.0 0.5;
832 rel1.to: "elm.rect.pad_btn";
833 rel2 {
834 relative: 0.0 1.0;
835 to: "elm.rect.pad_btn";
836 }
837 }
838 }
839 part { name: "elm.rect.pad_btn";
840 type: RECT;
841 scale : 1;
842 description { state: "default" 0.0;
843 min: 6 46;
844 max: 6 46;
845 fixed : 1 1;
846 visible: 0;
847 rel1.to: "actionbtn2";
848 rel2 {
849 relative: 0.0 1.0;
850 to: "actionbtn2";
851 }
852 }
853 }
854 part{ name:"actionbtn2";
855 type: SWALLOW;
856 scale : 1;
857 description { state: "default" 0.0;
858 min: 120 46;
859 max: 120 46;
860 fixed : 1 1;
861 rel1.relative: 0.5 0.0;
862 rel2.relative: 0.5 1.0;
863 }
864 }
865 part { name: "elm.rect.pad_btn2";
866 type: RECT;
867 scale : 1;
868 description { state: "default" 0.0;
869 min: 6 46;
870 max: 6 46;
871 fixed : 1 1;
872 visible: 0;
873 rel1 {
874 relative: 1.0 0.0;
875 to: "actionbtn2";
876 }
877 rel2.to: "actionbtn2";
878 }
879 }
880 part{ name:"actionbtn3";
881 type: SWALLOW;
882 scale : 1;
883 description { state: "default" 0.0;
884 min: 120 46;
885 max: 120 46;
886 fixed : 1 1;
887 align: 0.0 0.5;
888 rel1 {
889 relative: 1.0 0.0;
890 to: "elm.rect.pad_btn2";
891 }
892 rel2.to: "elm.rect.pad_btn2";
893 }
894 }
895 }
896}
897
898#undef POPUP_ITEM_STATE_ENABLED
899#undef POPUP_ITEM_STATE_DISABLED