1 ///////////////////////////////////////////////////////////////////////////////
2 group { name: "elm/ctxpopup/bg/default";
4 part { name: "ctxpopup_bg";
7 description { state: "default" 0.0;
10 description { state: "visible" 0.0;
11 inherit: "default" 0.0;
17 program { name: "clicked_event";
18 signal: "mouse,clicked,1";
19 source: "ctxpopup_bg";
20 action: SIGNAL_EMIT "elm,action,click" "";
22 program { name: "show";
23 signal: "elm,state,show";
25 action: STATE_SET "visible" 0.0;
26 target: "ctxpopup_bg";
27 transition: LINEAR 0.25;
29 program { name: "hide";
30 signal: "elm,state,hide";
32 action: STATE_SET "default" 0.0;
33 target: "ctxpopup_bg";
34 transition: LINEAR 0.25;
38 ///////////////////////////////////////////////////////////////////////////////
39 group { name: "elm/ctxpopup/base/default";
41 image: "bt_base2.png" COMP;
42 image: "bt_hilight.png" COMP;
43 image: "bt_shine.png" COMP;
46 part { name: "arrow_area_left";
49 clip_to: "ctxpopup_clip";
50 description { state: "default" 0.0;
64 part { name: "arrow_area_right";
67 clip_to: "ctxpopup_clip";
68 description { state: "default" 0.0;
82 part { name: "arrow_area_up";
85 clip_to: "ctxpopup_clip";
86 description { state: "default" 0.0;
100 part { name: "arrow_area_down";
103 clip_to: "ctxpopup_clip";
104 description { state: "default" 0.0;
118 part { name: "elm.swallow.arrow_up";
122 clip_to: "ctxpopup_clip";
126 confine: "arrow_area_up";
128 description { state: "default" 0.0;
134 part { name: "elm.swallow.arrow_down";
138 clip_to: "ctxpopup_clip";
142 confine: "arrow_area_down";
144 description { state: "default" 0.0;
150 part { name: "elm.swallow.arrow_left";
154 clip_to: "ctxpopup_clip";
158 confine: "arrow_area_left";
160 description { state: "default" 0.0;
166 part { name: "elm.swallow.arrow_right";
170 clip_to: "ctxpopup_clip";
174 confine: "arrow_area_right";
176 description { state: "default" 0.0;
184 clip_to: "ctxpopup_clip";
185 description { state: "default" 0.0;
188 image { normal: "bt_base2.png";
193 part { name: "over1";
195 clip_to: "ctxpopup_clip";
196 description { state: "default" 0.0;
199 rel2.relative: 1.0 0.5;
200 image { normal: "bt_hilight.png";
205 part { name: "over2";
207 clip_to: "ctxpopup_clip";
208 description { state: "default" 0.0;
211 image { normal: "bt_shine.png";
216 part { name: "elm.swallow.content";
218 clip_to: "ctxpopup_clip";
219 description { state: "default" 0.0;
220 rel1 { to:"base"; offset: 4 4; }
221 rel2 { to:"base"; offset: -5 -5; }
224 part { name: "ctxpopup_clip";
226 description { state: "default" 0.0;
227 color: 255 255 255 0;
228 rel1 { to:"base"; relative: 0 0; }
229 rel2 { to:"base"; relative: 0 1; }
231 description { state: "show_up" 0.0;
232 color: 255 255 255 0;
233 rel1 { to:"arrow_area_down"; relative: 0 1; }
234 rel2 { to:"arrow_area_down"; relative: 1 1; }
236 description { state: "show_left" 0.0;
237 color: 255 255 255 0;
238 rel1 { to:"arrow_area_right"; relative: 1 0; }
239 rel2 { to:"arrow_area_right"; relative: 1 1; }
241 description { state: "show_right" 0.0;
242 color: 255 255 255 0;
243 rel1 { to:"arrow_area_left"; relative: 0 0; }
244 rel2 { to:"arrow_area_left"; relative: 0 1; }
246 description { state: "show_down" 0.0;
247 color: 255 255 255 0;
248 rel1 { to:"arrow_area_up"; relative: 0 0; }
249 rel2 { to:"arrow_area_up"; relative: 1 0; }
251 description { state: "hide_up" 0.0;
252 color: 255 255 255 255;
253 rel1 { to:"arrow_area_down"; relative: 0 1; }
254 rel2 { to:"arrow_area_down"; relative: 1 1; }
256 description { state: "hide_left" 0.0;
257 color: 255 255 255 255;
258 rel1 { to:"arrow_area_right"; relative: 1 0; }
259 rel2 { to:"arrow_area_right"; relative: 1 1; }
261 description { state: "hide_right" 0.0;
262 color: 255 255 255 255;
263 rel1 { to:"arrow_area_left"; relative: 0 0; }
264 rel2 { to:"arrow_area_left"; relative: 0 1; }
266 description { state: "hide_down" 0.0;
267 color: 255 255 255 255;
268 rel1 { to:"arrow_area_up"; relative: 0 0; }
269 rel2 { to:"arrow_area_up"; relative: 1 0; }
271 description { state: "visible" 0.0;
272 color: 255 255 255 255;
273 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
274 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
279 program { name: "show";
280 signal: "elm,state,show";
282 action: STATE_SET "visible" 0.0;
283 transition: LINEAR 0.25;
284 target: "ctxpopup_clip";
286 program { name: "show_up";
287 signal: "elm,state,show,up";
289 action: STATE_SET "show_up" 0.0;
290 transition: LINEAR 0.25;
291 target: "ctxpopup_clip";
293 program { name: "show_left";
294 signal: "elm,state,show,left";
296 action: STATE_SET "show_left" 0.0;
297 transition: LINEAR 0.25;
298 target: "ctxpopup_clip";
300 program { name: "show_right";
301 signal: "elm,state,show,right";
303 action: STATE_SET "show_right" 0.0;
304 transition: LINEAR 0.25;
305 target: "ctxpopup_clip";
307 program { name: "show_down";
308 signal: "elm,state,show,down";
310 action: STATE_SET "show_down" 0.0;
311 transition: LINEAR 0.25;
312 target: "ctxpopup_clip";
314 program { name: "hide_up";
315 signal: "elm,state,hide,up";
317 action: STATE_SET "hide_up" 0.0;
318 transition: LINEAR 0.25;
319 target: "ctxpopup_clip";
320 after: "hide_finished";
322 program { name: "hide_left";
323 signal: "elm,state,hide,left";
325 action: STATE_SET "hide_left" 0.0;
326 transition: LINEAR 0.25;
327 target: "ctxpopup_clip";
328 after: "hide_finished";
330 program { name: "hide_right";
331 signal: "elm,state,hide,right";
333 action: STATE_SET "hide_right" 0.0;
334 transition: LINEAR 0.25;
335 target: "ctxpopup_clip";
336 after: "hide_finished";
338 program { name: "hide_down";
339 signal: "elm,state,hide,down";
341 action: STATE_SET "hide_down" 0.0;
342 transition: LINEAR 0.25;
343 target: "ctxpopup_clip";
344 after: "hide_finished";
346 program { name: "hide_finished";
347 action: SIGNAL_EMIT "elm,action,hide,finished" "";
352 ///////////////////////////////////////////////////////////////////////////////
353 group { name: "elm/ctxpopup/arrow/default";
355 image: "ctxpopup_arrow_left.png" COMP;
356 image: "ctxpopup_arrow_right.png" COMP;
357 image: "ctxpopup_arrow_up.png" COMP;
358 image: "ctxpopup_arrow_down.png" COMP;
361 part { name: "ctxpopup_arrow";
365 state: "default" 0.0;
376 rel1 { offset: 3 0; }
377 rel2 { offset: 2 -1; }
378 image { normal: "ctxpopup_arrow_left.png"; }
380 description { state: "right" 0.0;
384 rel1 { offset: -5 0; }
385 rel2 { offset: -6 -1; }
386 image { normal: "ctxpopup_arrow_right.png"; }
388 description { state: "top" 0.0;
392 rel1 { offset: 0 5; }
393 rel2 { offset: -1 4; }
394 image { normal: "ctxpopup_arrow_up.png"; }
396 description { state: "bottom" 0.0;
400 rel1 { offset: 0 -5; }
401 rel2 { offset: -1 -6; }
402 image { normal: "ctxpopup_arrow_down.png"; }
407 program { name: "enable_left_arrow";
408 signal: "elm,state,left";
410 action: STATE_SET "left" 0.0;
411 target: "ctxpopup_arrow";
413 program { name: "enable_right_arrow";
414 signal: "elm,state,right";
416 action: STATE_SET "right" 0.0;
417 target: "ctxpopup_arrow";
419 program { name: "enable_top_arrow";
420 signal: "elm,state,top";
422 action: STATE_SET "top" 0.0;
423 target: "ctxpopup_arrow";
425 program { name: "enable_bottom_arrow";
426 signal: "elm,state,bottom";
428 action: STATE_SET "bottom" 0.0;
429 target: "ctxpopup_arrow";
433 ///////////////////////////////////////////////////////////////////////////////
435 name: "elm/ctxpopup/icon_text_style_item/default";
436 alias: "elm/ctxpopup/text_style_item/default";
437 alias: "elm/ctxpopup/icon_style_item/default";
439 image: "hoversel_entry_bg.png" COMP;
444 description { state: "default" 0.0;
447 image { normal:"hoversel_entry_bg.png";
451 color: 255 255 255 0;
453 description { state: "clicked" 0.0;
454 inherit: "default" 0.0;
455 color: 255 255 255 255;
458 part { name: "elm.swallow.icon";
462 description { state: "default" 0.0;
467 rel1 { offset: 10 10; }
468 rel2 { offset: 0 -10; }
471 part { name: "elm.text";
476 description { state: "default" 0.0;
480 rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
481 rel2 { relative: 1.0 1.0; offset: -11 -1; }
482 color: 255 255 255 255;
490 description { state: "clicked" 0.0;
491 inherit: "default" 0.0;
495 part { name: "over1";
499 description { state: "default" 0.0;
500 color: 255 255 255 0;
502 description { state: "clicked" 0.0;
503 inherit: "default" 0.0;
504 color: 255 255 255 255;
507 part { name: "over2";
511 description { state: "default" 0.0;
512 color: 255 255 255 0;
514 description { state: "clicked" 0.0;
515 inherit: "default" 0.0;
516 color: 255 255 255 255;
519 part { name: "disclip";
521 description { state: "default" 0.0;
522 color: 255 255 255 255;
524 description { state: "enabled" 0.0;
525 color: 127 127 127 127;
528 part { name: "blocker";
530 description { state: "default" 0.0;
533 description { state: "enabled" 0.0;
541 name: "item_unclick";
542 signal: "mouse,clicked,1";
544 action: SIGNAL_EMIT "elm,action,click" "";
546 program { name: "disable";
547 signal: "elm,state,disabled";
549 action: STATE_SET "enabled" 0.0;
553 program { name: "enable";
554 signal: "elm,state,enabled";
556 action: STATE_SET "default" 0.0;
560 program { name: "item_click2";
561 signal: "mouse,down,1";
564 set_state(PART:"elm.text", "clicked", 0.0);
565 set_state(PART:"bg", "clicked", 0.0);
568 program { name: "item_unclick2";
569 signal: "mouse,up,1";
572 set_state(PART:"elm.text", "default", 0.0);
573 set_state(PART:"bg", "default", 0.0);
578 ///////////////////////////////////////////////////////////////////////////////
580 name: "elm/ctxpopup/item_compress/default";
582 image: "hoversel_entry_bg.png" COMP;
587 description { state: "default" 0.0;
590 image { normal:"hoversel_entry_bg.png";
594 color: 255 255 255 0;
596 description { state: "clicked" 0.0;
597 inherit: "default" 0.0;
598 color: 255 255 255 255;
601 part { name: "elm.swallow.icon";
605 description { state: "default" 0.0;
610 rel1 { offset: 10 10; }
611 rel2 { offset: 0 -10; }
614 part { name: "elm.text";
619 description { state: "default" 0.0;
623 rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
624 rel2 { relative: 1.0 1.0; }
625 color: 255 255 255 255;
633 description { state: "clicked" 0.0;
634 inherit: "default" 0.0;
638 part { name: "over1";
642 description { state: "default" 0.0;
643 color: 255 255 255 0;
645 description { state: "clicked" 0.0;
646 inherit: "default" 0.0;
647 color: 255 255 255 255;
650 part { name: "over2";
654 description { state: "default" 0.0;
655 color: 255 255 255 0;
657 description { state: "clicked" 0.0;
658 inherit: "default" 0.0;
659 color: 255 255 255 255;
662 part { name: "disclip";
664 description { state: "default" 0.0;
665 color: 255 255 255 255;
667 description { state: "enabled" 0.0;
668 color: 127 127 127 127;
671 part { name: "blocker";
673 description { state: "default" 0.0;
676 description { state: "enabled" 0.0;
684 name: "item_unclick";
685 signal: "mouse,clicked,1";
687 action: SIGNAL_EMIT "elm,action,click" "";
689 program { name: "disable";
690 signal: "elm,state,disabled";
692 action: STATE_SET "enabled" 0.0;
696 program { name: "enable";
697 signal: "elm,state,enabled";
699 action: STATE_SET "default" 0.0;
703 program { name: "item_click2";
704 signal: "mouse,down,1";
707 set_state(PART:"elm.text", "clicked", 0.0);
708 set_state(PART:"bg", "clicked", 0.0);
711 program { name: "item_unclick2";
712 signal: "mouse,up,1";
715 set_state(PART:"elm.text", "default", 0.0);
716 set_state(PART:"bg", "default", 0.0);