f171de24bc29f61ca0f571d809eb0161edfc8722
[framework/uifw/elementary.git] / data / themes / widgets / entry.edc
1 group { name: "elm/scroller/entry/default";
2
3    data {
4       item: "focus_highlight" "on";
5    }
6
7    script {
8       public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
9       public timer0(val) {
10          new v;
11          v = get_int(sbvis_v);
12          if (v) {
13             v = get_int(sbalways_v);
14             if (!v) {
15                emit("do-hide-vbar", "");
16                set_int(sbvis_v, 0);
17             }
18          }
19          v = get_int(sbvis_h);
20          if (v) {
21             v = get_int(sbalways_h);
22             if (!v) {
23                emit("do-hide-hbar", "");
24                set_int(sbvis_h, 0);
25             }
26          }
27          set_int(sbvis_timer, 0);
28          return 0;
29       }
30    }
31    images {
32       image: "shelf_inset.png" COMP;
33       image: "bt_sm_base2.png" COMP;
34       image: "bt_sm_shine.png" COMP;
35       image: "bt_sm_hilight.png" COMP;
36       image: "sl_bt2_2.png" COMP;
37    }
38    parts {
39       part { name: "bg";
40          type: RECT;
41          description { state: "default" 0.0;
42             rel1.offset: 2 2;
43             rel2.offset: -3 -3;
44          }
45       }
46       part { name: "clipper";
47          type: RECT;
48          mouse_events: 0;
49          description { state: "default" 0.0;
50             rel1.to: "bg";
51             rel2.to: "bg";
52             rel1.offset: 2 2;
53             rel2.offset: -3 -3;
54          }
55       }
56       part { name: "contentclipper";
57          type: RECT;
58          mouse_events: 0;
59          clip_to: "clipper";
60          description { state: "default" 0.0;
61             rel1.to: "elm.swallow.icon";
62             rel1.relative: 1.0 0.0;
63             rel2.to: "elm.swallow.end";
64             rel2.relative: 0.0 1.0;
65          }
66       }
67       part { name: "elm.swallow.icon";
68          type: SWALLOW;
69          clip_to: "clipper";
70          description { state: "default" 0.0;
71             fixed: 1 1;
72             rel1 {
73                to: "bg";
74                relative: 0.0 0.0;
75                offset: 0 0;
76             }
77             rel2 {
78                to: "bg";
79                relative: 0.0 1.0;
80                offset: -1 -1;
81             }
82             visible: 0;
83          }
84          description { state: "visible" 0.0;
85             fixed: 1 1;
86             align: 0.0 1.0;
87             rel1 {
88                to: "bg";
89                relative: 0.0 0.0;
90                offset: 0 0;
91             }
92             rel2 {
93                to: "bg";
94                relative: 0.0 1.0;
95                offset: -1 -1;
96             }
97             visible: 1;
98          }
99       }
100       part { name: "elm.swallow.end";
101          type: SWALLOW;
102          clip_to: "clipper";
103          description { state: "default" 0.0;
104             fixed: 1 1;
105             rel1 {
106                to: "bg";
107                relative: 1.0 0.0;
108                offset: 0 0;
109             }
110             rel2 {
111                to: "bg";
112                relative: 1.0 1.0;
113                offset: -1 -1;
114             }
115             visible: 0;
116          }
117          description { state: "visible" 0.0;
118             fixed: 1 1;
119             align: 1.0 1.0;
120             rel1 {
121                to: "bg";
122                relative: 1.0 0.0;
123                offset: 0 0;
124             }
125             rel2 {
126                to: "bg";
127                relative: 1.0 1.0;
128                offset: -1 -1;
129             }
130             visible: 1;
131          }
132       }
133       part { name: "elm.swallow.content";
134          clip_to: "contentclipper";
135          type: SWALLOW;
136          description { state: "default" 0.0;
137             rel1 {
138                to: "elm.swallow.icon";
139                relative: 1.0 0.0;
140                offset: 4 4;
141             }
142             rel2 {
143                to: "elm.swallow.end";
144                relative: 0.0 1.0;
145                offset: -5 -5;
146             }
147          }
148       }
149       part { name: "conf_over";
150          mouse_events:  0;
151          description { state: "default" 0.0;
152             rel1.to: "bg";
153             rel2.to: "bg";
154             image {
155                normal: "shelf_inset.png";
156                border: 7 7 7 7;
157                middle: 0;
158             }
159             fill.smooth : 0;
160          }
161          description { state: "enabled" 0.0;
162             inherit: "default" 0.0;
163             color: 200 155 0 255;
164          }
165       }
166       part { name: "focus_highlight";
167          mouse_events: 0;
168          description { state: "default" 0.0;
169             rel1.offset: -1 -1;
170             rel2.offset: 0 0;
171             image {
172                normal: "sl_bt2_2.png";
173                border: 7 7 7 7;
174                middle: 0;
175             }
176             fill.smooth : 0;
177             color: 200 155 0 0;
178          }
179          description { state: "enabled" 0.0;
180             inherit: "default" 0.0;
181             color: 200 155 0 255;
182          }
183       }
184       part { name: "sb_vbar_clip_master";
185          type: RECT;
186          mouse_events: 0;
187          description { state: "default" 0.0;
188          }
189          description { state: "hidden" 0.0;
190             visible: 0;
191             color: 255 255 255 0;
192          }
193       }
194       part { name: "sb_vbar_clip";
195          clip_to: "sb_vbar_clip_master";
196          type: RECT;
197          mouse_events: 0;
198          description { state: "default" 0.0;
199          }
200          description { state: "hidden" 0.0;
201             visible: 0;
202             color: 255 255 255 0;
203          }
204       }
205       part { name: "sb_vbar";
206          type: RECT;
207          mouse_events: 0;
208          description { state: "default" 0.0;
209             fixed: 1 1;
210             visible: 0;
211             min: 10 17;
212             align: 1.0 0.0;
213             rel1 {
214                relative: 0.0 0.0;
215                offset:   -2 2;
216                to_y:     "elm.swallow.content";
217                to_x:     "elm.swallow.end";
218             }
219             rel2 {
220                relative: 0.0 0.0;
221                offset:   -2 -1;
222                to_y:     "sb_hbar";
223                to_x:     "elm.swallow.end";
224             }
225          }
226       }
227       part { name: "elm.dragable.vbar";
228          clip_to: "sb_vbar_clip";
229          mouse_events: 0;
230          dragable {
231             x: 0 0 0;
232             y: 1 1 0;
233             confine: "sb_vbar";
234          }
235          description { state: "default" 0.0;
236             fixed: 1 1;
237             min: 10 17;
238             max: 10 99999;
239             rel1 {
240                relative: 0.5  0.5;
241                offset:   0    0;
242                to: "sb_vbar";
243             }
244             rel2 {
245                relative: 0.5  0.5;
246                offset:   0    0;
247                to: "sb_vbar";
248             }
249             image {
250                normal: "bt_sm_base2.png";
251                border: 6 6 6 6;
252                middle: SOLID;
253             }
254          }
255       }
256       part { name: "sb_vbar_over1";
257          clip_to: "sb_vbar_clip";
258          mouse_events: 0;
259          description { state: "default" 0.0;
260             rel1.to: "elm.dragable.vbar";
261             rel2.relative: 1.0 0.5;
262             rel2.to: "elm.dragable.vbar";
263             image {
264                normal: "bt_sm_hilight.png";
265                border: 6 6 6 0;
266             }
267          }
268       }
269       part { name: "sb_vbar_over2";
270          clip_to: "sb_vbar_clip";
271          mouse_events: 0;
272          description { state: "default" 0.0;
273             rel1.to: "elm.dragable.vbar";
274             rel2.to: "elm.dragable.vbar";
275             image {
276                normal: "bt_sm_shine.png";
277                border: 6 6 6 0;
278             }
279          }
280       }
281
282       part { name: "sb_hbar_clip_master";
283          type: RECT;
284          mouse_events: 0;
285          description { state: "default" 0.0;
286          }
287          description { state: "hidden" 0.0;
288             visible: 0;
289             color: 255 255 255 0;
290          }
291       }
292       part { name: "sb_hbar_clip";
293          clip_to: "sb_hbar_clip_master";
294          type: RECT;
295          mouse_events: 0;
296          description { state: "default" 0.0;
297          }
298          description { state: "hidden" 0.0;
299             visible: 0;
300             color: 255 255 255 0;
301          }
302       }
303       part { name: "sb_hbar";
304          type: RECT;
305          mouse_events: 0;
306          description { state: "default" 0.0;
307             fixed: 1 1;
308             visible: 0;
309             min: 17 10;
310             align: 0.0 1.0;
311             rel1 {
312                relative: 0.0 1.0;
313                offset:   2 0;
314                to_x:     "elm.swallow.content";
315                to_y:     "elm.swallow.content";
316             }
317             rel2 {
318                relative: 0.0 1.0;
319                offset:   -1 -1;
320                to_x:     "sb_vbar";
321                to_y:     "elm.swallow.content";
322             }
323          }
324       }
325       part { name: "elm.dragable.hbar";
326          clip_to: "sb_hbar_clip";
327          mouse_events: 0;
328          dragable {
329             x: 1 1 0;
330             y: 0 0 0;
331             confine: "sb_hbar";
332          }
333          description { state: "default" 0.0;
334             fixed: 1 1;
335             min: 17 10;
336             max: 99999 10;
337             rel1 {
338                relative: 0.5  0.5;
339                offset:   0    0;
340                to: "sb_hbar";
341             }
342             rel2 {
343                relative: 0.5  0.5;
344                offset:   0    0;
345                to: "sb_hbar";
346             }
347             image {
348                normal: "bt_sm_base2.png";
349                border: 4 4 4 4;
350                middle: SOLID;
351             }
352          }
353       }
354       part { name: "sb_hbar_over1";
355          clip_to: "sb_hbar_clip";
356          mouse_events: 0;
357          description { state: "default" 0.0;
358             rel1.to: "elm.dragable.hbar";
359             rel2.relative: 1.0 0.5;
360             rel2.to: "elm.dragable.hbar";
361             image {
362                normal: "bt_sm_hilight.png";
363                border: 4 4 4 0;
364             }
365          }
366       }
367       part { name: "sb_hbar_over2";
368          clip_to: "sb_hbar_clip";
369          mouse_events: 0;
370          description { state: "default" 0.0;
371             rel1.to: "elm.dragable.hbar";
372             rel2.to: "elm.dragable.hbar";
373             image {
374                normal: "bt_sm_shine.png";
375                border: 4 4 4 0;
376             }
377          }
378       }
379    }
380    programs {
381       program { name: "load";
382          signal: "load";
383          source: "";
384          script {
385             set_state(PART:"sb_hbar_clip", "hidden", 0.0);
386             set_state(PART:"sb_vbar_clip", "hidden", 0.0);
387             set_int(sbvis_h, 0);
388             set_int(sbvis_v, 0);
389             set_int(sbalways_v, 0);
390             set_int(sbalways_h, 0);
391             set_int(sbvis_timer, 0);
392          }
393       }
394       program { name: "icon_show";
395          signal: "elm,action,show,icon";
396          source: "elm";
397          action: STATE_SET "visible" 0.0;
398          target: "elm.swallow.icon";
399       }
400       program { name: "icon_hide";
401          signal: "elm,action,hide,icon";
402          source: "elm";
403          action: STATE_SET "default" 0.0;
404          target: "elm.swallow.icon";
405       }
406       program { name: "end_show";
407          signal: "elm,action,show,end";
408          source: "elm";
409          action: STATE_SET "visible" 0.0;
410          target: "elm.swallow.end";
411       }
412       program { name: "end_hide";
413          signal: "elm,action,hide,end";
414          source: "elm";
415          action: STATE_SET "default" 0.0;
416          target: "elm.swallow.end";
417       }
418       program { name: "vbar_show";
419          signal: "elm,action,show,vbar";
420          source: "elm";
421          action:  STATE_SET "default" 0.0;
422          target: "sb_vbar_clip_master";
423       }
424       program { name: "vbar_hide";
425          signal: "elm,action,hide,vbar";
426          source: "elm";
427          action:  STATE_SET "hidden" 0.0;
428          target: "sb_vbar_clip_master";
429       }
430       program { name: "vbar_show_always";
431          signal: "elm,action,show_always,vbar";
432          source: "elm";
433          script {
434             new v;
435             v = get_int(sbvis_v);
436             v |= get_int(sbalways_v);
437             if (!v) {
438                set_int(sbalways_v, 1);
439                emit("do-show-vbar", "");
440                set_int(sbvis_v, 1);
441             }
442          }
443       }
444       program { name: "vbar_show_notalways";
445          signal: "elm,action,show_notalways,vbar";
446          source: "elm";
447          script {
448             new v;
449             v = get_int(sbalways_v);
450             if (v) {
451                set_int(sbalways_v, 0);
452                v = get_int(sbvis_v);
453                if (!v) {
454                   emit("do-hide-vbar", "");
455                   set_int(sbvis_v, 0);
456                }
457             }
458          }
459       }
460       program { name: "sb_vbar_show";
461          signal: "do-show-vbar";
462          source: "";
463          action:  STATE_SET "default" 0.0;
464          transition: LINEAR 0.5;
465          target: "sb_vbar_clip";
466       }
467       program { name: "sb_vbar_hide";
468          signal: "do-hide-vbar";
469          source: "";
470          action:  STATE_SET "hidden" 0.0;
471          transition: LINEAR 0.5;
472          target: "sb_vbar_clip";
473       }
474
475       program { name: "hbar_show";
476          signal: "elm,action,show,hbar";
477          source: "elm";
478          action:  STATE_SET "default" 0.0;
479          target: "sb_hbar_clip_master";
480       }
481       program { name: "hbar_hide";
482          signal: "elm,action,hide,hbar";
483          source: "elm";
484          action:  STATE_SET "hidden" 0.0;
485          target: "sb_hbar_clip_master";
486       }
487       program { name: "hbar_show_always";
488          signal: "elm,action,show_always,hbar";
489          source: "elm";
490          script {
491             new v;
492             v = get_int(sbvis_h);
493             v |= get_int(sbalways_h);
494             if (!v) {
495                set_int(sbalways_h, 1);
496                emit("do-show-hbar", "");
497                set_int(sbvis_h, 1);
498             }
499          }
500       }
501       program { name: "hbar_show_notalways";
502          signal: "elm,action,show_notalways,hbar";
503          source: "elm";
504          script {
505             new v;
506             v = get_int(sbalways_h);
507             if (v) {
508                set_int(sbalways_h, 0);
509                v = get_int(sbvis_h);
510                if (!v) {
511                   emit("do-hide-hbar", "");
512                   set_int(sbvis_h, 0);
513                }
514             }
515          }
516       }
517       program { name: "sb_hbar_show";
518          signal: "do-show-hbar";
519          source: "";
520          action:  STATE_SET "default" 0.0;
521          transition: LINEAR 0.5;
522          target: "sb_hbar_clip";
523       }
524       program { name: "sb_hbar_hide";
525          signal: "do-hide-hbar";
526          source: "";
527          action:  STATE_SET "hidden" 0.0;
528          transition: LINEAR 0.5;
529          target: "sb_hbar_clip";
530       }
531
532       program { name: "scroll";
533          signal: "elm,action,scroll";
534          source: "elm";
535          script {
536             new v;
537             v = get_int(sbvis_v);
538             v |= get_int(sbalways_v);
539             if (!v) {
540                emit("do-show-vbar", "");
541                set_int(sbvis_v, 1);
542             }
543             v = get_int(sbvis_h);
544             v |= get_int(sbalways_h);
545             if (!v) {
546                emit("do-show-hbar", "");
547                set_int(sbvis_h, 1);
548             }
549             v = get_int(sbvis_timer);
550             if (v > 0) cancel_timer(v);
551             v = timer(1.0, "timer0", 0);
552             set_int(sbvis_timer, v);
553          }
554       }
555
556       program { name: "highlight_show";
557          signal: "elm,action,focus_highlight,show";
558          source: "elm";
559          action: STATE_SET "enabled" 0.0;
560          transition: ACCELERATE 0.3;
561          target: "focus_highlight";
562          target: "conf_over";
563       }
564       program { name: "highlight_hide";
565          signal: "elm,action,focus_highlight,hide";
566          source: "elm";
567          action: STATE_SET "default" 0.0;
568          transition: DECELERATE 0.3;
569          target: "focus_highlight";
570          target: "conf_over";
571       }
572    }
573 }
574
575 ///////////////////////////////////////////////////////////////////////////////
576 // emoticon images from:
577 // Tanya - Latvia
578 // http://lazycrazy.deviantart.com/
579 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
580 group { name: "elm/entry/emoticon/angry/default"; images.image:
581    "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
582             "emo-angry.png"; } } } }
583 group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
584    "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
585             "emo-angry-shout.png"; } } } }
586 group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
587    "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
588             "emo-crazy-laugh.png"; } } } }
589 group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
590    "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
591             "emo-evil-laugh.png"; } } } }
592 group { name: "elm/entry/emoticon/evil/default"; images.image:
593    "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
594             "emo-evil.png"; } } } }
595 group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
596    "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
597             "emo-goggle-smile.png"; } } } }
598 group { name: "elm/entry/emoticon/grumpy/default"; images.image:
599    "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
600             "emo-grumpy.png"; } } } }
601 group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
602    "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
603             "emo-grumpy-smile.png"; } } } }
604 group { name: "elm/entry/emoticon/guilty/default"; images.image:
605    "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
606             "emo-guilty.png"; } } } }
607 group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
608    "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
609             "emo-guilty-smile.png"; } } } }
610 group { name: "elm/entry/emoticon/haha/default"; images.image:
611    "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
612             "emo-haha.png"; } } } }
613 group { name: "elm/entry/emoticon/half-smile/default"; images.image:
614    "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
615             "emo-half-smile.png"; } } } }
616 group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
617    "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
618             "emo-happy-panting.png"; } } } }
619 group { name: "elm/entry/emoticon/happy/default"; images.image:
620    "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
621             "emo-happy.png"; } } } }
622 group { name: "elm/entry/emoticon/indifferent/default"; images.image:
623    "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
624             "emo-indifferent.png"; } } } }
625 group { name: "elm/entry/emoticon/kiss/default"; images.image:
626    "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
627             "emo-kiss.png"; } } } }
628 group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
629    "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
630             "emo-knowing-grin.png"; } } } }
631 group { name: "elm/entry/emoticon/laugh/default"; images.image:
632    "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
633             "emo-laugh.png"; } } } }
634 group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
635    "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
636             "emo-little-bit-sorry.png"; } } } }
637 group { name: "elm/entry/emoticon/love-lots/default"; images.image:
638    "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
639             "emo-love-lots.png"; } } } }
640 group { name: "elm/entry/emoticon/love/default"; images.image:
641    "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
642             "emo-love.png"; } } } }
643 group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
644    "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
645             "emo-minimal-smile.png"; } } } }
646 group { name: "elm/entry/emoticon/not-happy/default"; images.image:
647    "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
648             "emo-not-happy.png"; } } } }
649 group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
650    "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
651             "emo-not-impressed.png"; } } } }
652 group { name: "elm/entry/emoticon/omg/default"; images.image:
653    "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
654             "emo-omg.png"; } } } }
655 group { name: "elm/entry/emoticon/opensmile/default"; images.image:
656    "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
657             "emo-opensmile.png"; } } } }
658 group { name: "elm/entry/emoticon/smile/default"; images.image:
659    "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
660             "emo-smile.png"; } } } }
661 group { name: "elm/entry/emoticon/sorry/default"; images.image:
662    "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
663             "emo-sorry.png"; } } } }
664 group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
665    "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
666             "emo-squint-laugh.png"; } } } }
667 group { name: "elm/entry/emoticon/surprised/default"; images.image:
668    "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
669             "emo-surprised.png"; } } } }
670 group { name: "elm/entry/emoticon/suspicious/default"; images.image:
671    "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
672             "emo-suspicious.png"; } } } }
673 group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
674    "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
675             "emo-tongue-dangling.png"; } } } }
676 group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
677    "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
678             "emo-tongue-poke.png"; } } } }
679 group { name: "elm/entry/emoticon/uh/default"; images.image:
680    "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
681             "emo-uh.png"; } } } }
682 group { name: "elm/entry/emoticon/unhappy/default"; images.image:
683    "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
684             "emo-unhappy.png"; } } } }
685 group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
686    "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
687             "emo-very-sorry.png"; } } } }
688 group { name: "elm/entry/emoticon/what/default"; images.image:
689    "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
690             "emo-what.png"; } } } }
691 group { name: "elm/entry/emoticon/wink/default"; images.image:
692    "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
693             "emo-wink.png"; } } } }
694 group { name: "elm/entry/emoticon/worried/default"; images.image:
695    "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
696             "emo-worried.png"; } } } }
697 group { name: "elm/entry/emoticon/wtf/default"; images.image:
698    "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
699             "emo-wtf.png"; } } } }
700             //------------------------------------------------------------
701 group { name: "elm/entry/base/default";
702    styles
703    {
704       style { name: "entry_textblock_style";
705          base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
706          tag:  "br" "\n";
707          tag:  "ps" "ps";
708          tag:  "tab" "\t";
709          tag:  "em" "+ font_style=Oblique";
710          tag:  "b" "+ font_weight=Bold";
711          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
712          tag:  "hilight" "+ font_weight=Bold";
713       }
714       style { name: "entry_textblock_disabled_style";
715          base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
716          tag:  "br" "\n";
717          tag:  "ps" "ps";
718          tag:  "tab" "\t";
719          tag:  "em" "+ font_style=Oblique";
720          tag:  "b" "+ font_weight=Bold";
721          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
722          tag:  "hilight" "+ font_weight=Bold";
723       }
724    }
725    data {
726         //         item: context_menu_orientation "horizontal";
727    }
728    parts {
729       part { name: "elm.text";
730          type: TEXTBLOCK;
731          mouse_events: 1;
732          scale: 1;
733          entry_mode: EDITABLE;
734          select_mode: EXPLICIT;
735          multiline: 1;
736          source: "elm/entry/selection/default"; // selection under
737                  //       source2: "X"; // selection over
738                  //       source3: "X"; // cursor under
739          source4: "elm/entry/cursor/default"; // cursorover
740          source5: "elm/entry/anchor/default"; // anchor under
741                   //       source6: "X"; // anchor over
742          description { state: "default" 0.0;
743             /* we gotta use 0 0 here, because of scrolled entries */
744             fixed: 0 0;
745             text {
746                style: "entry_textblock_style";
747                min: 0 1;
748                align: 0.0 0.0;
749             }
750          }
751          description { state: "disabled" 0.0;
752             inherit: "default" 0.0;
753             text {
754                style: "entry_textblock_disabled_style";
755                min: 0 1;
756             }
757          }
758       }
759    }
760    programs {
761       program { name: "focus";
762          signal: "load";
763          source: "";
764          action: FOCUS_SET;
765          target: "elm.text";
766       }
767       program { name: "disable";
768          signal: "elm,state,disabled";
769          source: "elm";
770          action: STATE_SET "disabled" 0.0;
771          target: "elm.text";
772       }
773       program { name: "enable";
774          signal: "elm,state,enabled";
775          source: "elm";
776          action: STATE_SET "default" 0.0;
777          target: "elm.text";
778       }
779    }
780 }
781
782 group { name: "elm/entry/base-mixedwrap/default";
783    styles
784    {
785       style { name: "entry_textblock_style_mixedwrap";
786          base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
787          tag:  "br" "\n";
788          tag:  "ps" "ps";
789          tag:  "tab" "\t";
790          tag:  "em" "+ font_style=Oblique";
791          tag:  "b" "+ font_weight=Bold";
792          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
793          tag:  "hilight" "+ font_weight=Bold";
794       }
795       style { name: "entry_textblock_disabled_style_mixedwrap";
796          base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
797          tag:  "br" "\n";
798          tag:  "ps" "ps";
799          tag:  "tab" "\t";
800          tag:  "em" "+ font_style=Oblique";
801          tag:  "b" "+ font_weight=Bold";
802          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
803          tag:  "hilight" "+ font_weight=Bold";
804       }
805    }
806    parts {
807       part { name: "elm.text";
808          type: TEXTBLOCK;
809          mouse_events: 1;
810          scale: 1;
811          entry_mode: EDITABLE;
812          select_mode: EXPLICIT;
813          multiline: 1;
814          source: "elm/entry/selection/default"; // selection under
815                  //          source2: "X"; // selection over
816                  //          source3: "X"; // cursor under
817          source4: "elm/entry/cursor/default"; // cursorover
818          source5: "elm/entry/anchor/default"; // anchor under
819                   //          source6: "X"; // anchor over
820          description { state: "default" 0.0;
821             fixed: 1 0;
822             text {
823                style: "entry_textblock_style_mixedwrap";
824                min: 0 1;
825                align: 0.0 0.0;
826             }
827          }
828          description { state: "disabled" 0.0;
829             inherit: "default" 0.0;
830             text {
831                style: "entry_textblock_disabled_style_mixedwrap";
832                min: 0 1;
833             }
834          }
835       }
836    }
837    programs {
838       program { name: "focus";
839          signal: "load";
840          source: "";
841          action: FOCUS_SET;
842          target: "elm.text";
843       }
844       program { name: "disable";
845          signal: "elm,state,disabled";
846          source: "elm";
847          action: STATE_SET "disabled" 0.0;
848          target: "elm.text";
849       }
850       program { name: "enable";
851          signal: "elm,state,enabled";
852          source: "elm";
853          action: STATE_SET "default" 0.0;
854          target: "elm.text";
855       }
856    }
857 }
858
859 group { name: "elm/entry/base-charwrap/default";
860    styles
861    {
862       style { name: "entry_textblock_style_charwrap";
863          base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
864          tag:  "br" "\n";
865          tag:  "ps" "ps";
866          tag:  "tab" "\t";
867          tag:  "em" "+ font_style=Oblique";
868          tag:  "b" "+ font_weight=Bold";
869          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
870          tag:  "hilight" "+ font_weight=Bold";
871       }
872       style { name: "entry_textblock_disabled_style_charwrap";
873          base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
874          tag:  "br" "\n";
875          tag:  "ps" "ps";
876          tag:  "tab" "\t";
877          tag:  "em" "+ font_style=Oblique";
878          tag:  "b" "+ font_weight=Bold";
879          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
880          tag:  "hilight" "+ font_weight=Bold";
881       }
882    }
883    parts {
884       part { name: "elm.text";
885          type: TEXTBLOCK;
886          mouse_events: 1;
887          scale: 1;
888          entry_mode: EDITABLE;
889          select_mode: EXPLICIT;
890          multiline: 1;
891          source: "elm/entry/selection/default"; // selection under
892                  //          source2: "X"; // selection over
893                  //          source3: "X"; // cursor under
894          source4: "elm/entry/cursor/default"; // cursorover
895          source5: "elm/entry/anchor/default"; // anchor under
896                   //          source6: "X"; // anchor over
897          description { state: "default" 0.0;
898             fixed: 1 0;
899             text {
900                style: "entry_textblock_style_charwrap";
901                min: 0 1;
902                align: 0.0 0.0;
903             }
904          }
905          description { state: "disabled" 0.0;
906             inherit: "default" 0.0;
907             text {
908                style: "entry_textblock_disabled_style_charwrap";
909                min: 0 1;
910             }
911          }
912       }
913    }
914    programs {
915       program { name: "focus";
916          signal: "load";
917          source: "";
918          action: FOCUS_SET;
919          target: "elm.text";
920       }
921       program { name: "disable";
922          signal: "elm,state,disabled";
923          source: "elm";
924          action: STATE_SET "disabled" 0.0;
925          target: "elm.text";
926       }
927       program { name: "enable";
928          signal: "elm,state,enabled";
929          source: "elm";
930          action: STATE_SET "default" 0.0;
931          target: "elm.text";
932       }
933    }
934 }
935
936 group { name: "elm/entry/base-nowrap/default";
937    parts {
938       part { name: "elm.text";
939          type: TEXTBLOCK;
940          mouse_events: 1;
941          scale: 1;
942          entry_mode: EDITABLE;
943          select_mode: EXPLICIT;
944          multiline: 1;
945          source: "elm/entry/selection/default"; // selection under
946          source4: "elm/entry/cursor/default"; // cursorover
947          source5: "elm/entry/anchor/default"; // anchor under
948          description { state: "default" 0.0;
949             text {
950                style: "entry_textblock_style";
951                min: 1 1;
952                align: 0.0 0.0;
953             }
954          }
955          description { state: "disabled" 0.0;
956             inherit: "default" 0.0;
957             text {
958                style: "entry_textblock_disabled_style";
959                min: 0 1;
960             }
961          }
962       }
963       /*
964       part { name: "sel";
965       type: RECT;
966       mouse_events: 0;
967       description { state: "default" 0.0;
968       align: 1.0 1.0;
969       max: 16 16;
970       aspect: 1.0 1.0;
971       color: 255 0 0 0;
972       }
973          description { state: "visible" 0.0;
974          inherit: "default" 0.0;
975          color: 255 0 0 50;
976          }
977          }
978          */
979    }
980    programs {
981       program { name: "focus";
982          signal: "load";
983          source: "";
984          action: FOCUS_SET;
985          target: "elm.text";
986       }
987       program { name: "disable";
988          signal: "elm,state,disabled";
989          source: "elm";
990          action: STATE_SET "disabled" 0.0;
991          target: "elm.text";
992       }
993       program { name: "enable";
994          signal: "elm,state,enabled";
995          source: "elm";
996          action: STATE_SET "default" 0.0;
997          target: "elm.text";
998       }
999       /*
1000       program { name: "selmode0";
1001       signal: "elm,state,select,on";
1002       source: "elm";
1003       action: STATE_SET "visible" 0.0;
1004       target: "sel";
1005       }
1006          program { name: "selmode1";
1007          signal: "elm,state,select,off";
1008          source: "elm";
1009          action: STATE_SET "default" 0.0;
1010          target: "sel";
1011          }
1012          */
1013    }
1014 }
1015
1016 group { name: "elm/entry/base-single/default";
1017    styles
1018    {
1019       style { name: "entry_single_textblock_style";
1020          base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
1021          tag:  "br" "\n";
1022          tag:  "ps" "ps";
1023          tag:  "tab" "\t";
1024          tag:  "em" "+ font_style=Oblique";
1025          tag:  "b" "+ font_weight=Bold";
1026          tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1027          tag:  "hilight" "+ font_weight=Bold";
1028       }
1029       style { name: "entry_single_textblock_disabled_style";
1030          base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
1031          tag:  "br" "\n";
1032          tag:  "ps" "ps";
1033          tag:  "tab" "\t";
1034          tag:  "em" "+ font_style=Oblique";
1035          tag:  "b" "+ font_weight=Bold";
1036          tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1037          tag:  "hilight" "+ font_weight=Bold";
1038       }
1039    }
1040    parts {
1041       part { name: "elm.text";
1042          type: TEXTBLOCK;
1043          mouse_events: 1;
1044          scale: 1;
1045          entry_mode: EDITABLE;
1046          select_mode: EXPLICIT;
1047          multiline: 0;
1048          source: "elm/entry/selection/default"; // selection under
1049          source4: "elm/entry/cursor/default"; // cursorover
1050          source5: "elm/entry/anchor/default"; // anchor under
1051          description { state: "default" 0.0;
1052             text {
1053                style: "entry_single_textblock_style";
1054                min: 1 1;
1055                max: 0 0;
1056                align: 0.0 0.5;
1057             }
1058          }
1059          description { state: "disabled" 0.0;
1060             inherit: "default" 0.0;
1061             text {
1062                style: "entry_single_textblock_disabled_style";
1063             }
1064          }
1065       }
1066    }
1067    programs {
1068       program { name: "focus";
1069          signal: "load";
1070          source: "";
1071          action: FOCUS_SET;
1072          target: "elm.text";
1073       }
1074       program { name: "disable";
1075          signal: "elm,state,disabled";
1076          source: "elm";
1077          action: STATE_SET "disabled" 0.0;
1078          target: "elm.text";
1079       }
1080       program { name: "enable";
1081          signal: "elm,state,enabled";
1082          source: "elm";
1083          action: STATE_SET "default" 0.0;
1084          target: "elm.text";
1085       }
1086    }
1087 }
1088
1089 group { name: "elm/entry/base-single-noedit/default";
1090    parts {
1091       part { name: "elm.text";
1092          type: TEXTBLOCK;
1093          mouse_events: 1;
1094          scale: 1;
1095          entry_mode: PLAIN;
1096          select_mode: EXPLICIT;
1097          multiline: 0;
1098          source: "elm/entry/selection/default"; // selection under
1099          source5: "elm/entry/anchor/default"; // anchor under
1100          description { state: "default" 0.0;
1101             text {
1102                style: "entry_single_textblock_style";
1103                min: 1 1;
1104                max: 0 0;
1105                align: 0.0 0.5;
1106             }
1107          }
1108          description { state: "disabled" 0.0;
1109             inherit: "default" 0.0;
1110             text {
1111                style: "entry_single_textblock_disabled_style";
1112             }
1113          }
1114       }
1115    }
1116    programs {
1117       program { name: "focus";
1118          signal: "load";
1119          source: "";
1120          action: FOCUS_SET;
1121          target: "elm.text";
1122       }
1123       program { name: "disable";
1124          signal: "elm,state,disabled";
1125          source: "elm";
1126          action: STATE_SET "disabled" 0.0;
1127          target: "elm.text";
1128       }
1129       program { name: "enable";
1130          signal: "elm,state,enabled";
1131          source: "elm";
1132          action: STATE_SET "default" 0.0;
1133          target: "elm.text";
1134       }
1135    }
1136 }
1137
1138 group { name: "elm/entry/base-noedit/default";
1139    parts {
1140       part { name: "elm.text";
1141          type: TEXTBLOCK;
1142          mouse_events: 1;
1143          scale: 1;
1144          entry_mode: PLAIN;
1145          select_mode: EXPLICIT;
1146          multiline: 1;
1147          source: "elm/entry/selection/default"; // selection under
1148          source5: "elm/entry/anchor/default"; // anchor under
1149          description { state: "default" 0.0;
1150             fixed: 1 0;
1151             text {
1152                style: "entry_textblock_style";
1153                min: 0 1;
1154                align: 0.0 0.0;
1155             }
1156          }
1157          description { state: "disabled" 0.0;
1158             inherit: "default" 0.0;
1159             text {
1160                style: "entry_textblock_disabled_style";
1161             }
1162          }
1163       }
1164    }
1165    programs {
1166       program { name: "focus";
1167          signal: "load";
1168          source: "";
1169          action: FOCUS_SET;
1170          target: "elm.text";
1171       }
1172       program { name: "disable";
1173          signal: "elm,state,disabled";
1174          source: "elm";
1175          action: STATE_SET "disabled" 0.0;
1176          target: "elm.text";
1177       }
1178       program { name: "enable";
1179          signal: "elm,state,enabled";
1180          source: "elm";
1181          action: STATE_SET "default" 0.0;
1182          target: "elm.text";
1183       }
1184    }
1185 }
1186
1187 group { name: "elm/entry/base-noedit-mixedwrap/default";
1188    parts {
1189       part { name: "elm.text";
1190          type: TEXTBLOCK;
1191          mouse_events: 1;
1192          scale: 1;
1193          entry_mode: PLAIN;
1194          select_mode: EXPLICIT;
1195          multiline: 1;
1196          source: "elm/entry/selection/default"; // selection under
1197          source5: "elm/entry/anchor/default"; // anchor under
1198          description { state: "default" 0.0;
1199             fixed: 1 0;
1200             text {
1201                style: "entry_textblock_style_mixedwrap";
1202                min: 0 1;
1203                align: 0.0 0.0;
1204             }
1205          }
1206          description { state: "disabled" 0.0;
1207             inherit: "default" 0.0;
1208             text {
1209                style: "entry_textblock_disabled_style_mixedwrap";
1210             }
1211          }
1212       }
1213    }
1214    programs {
1215       program { name: "focus";
1216          signal: "load";
1217          source: "";
1218          action: FOCUS_SET;
1219          target: "elm.text";
1220       }
1221       program { name: "disable";
1222          signal: "elm,state,disabled";
1223          source: "elm";
1224          action: STATE_SET "disabled" 0.0;
1225          target: "elm.text";
1226       }
1227       program { name: "enable";
1228          signal: "elm,state,enabled";
1229          source: "elm";
1230          action: STATE_SET "default" 0.0;
1231          target: "elm.text";
1232       }
1233    }
1234 }
1235
1236 group { name: "elm/entry/base-noedit-charwrap/default";
1237    parts {
1238       part { name: "elm.text";
1239          type: TEXTBLOCK;
1240          mouse_events: 1;
1241          scale: 1;
1242          entry_mode: PLAIN;
1243          select_mode: EXPLICIT;
1244          multiline: 1;
1245          source: "elm/entry/selection/default"; // selection under
1246          source5: "elm/entry/anchor/default"; // anchor under
1247          description { state: "default" 0.0;
1248             fixed: 1 0;
1249             text {
1250                style: "entry_textblock_style_charwrap";
1251                min: 0 1;
1252                align: 0.0 0.0;
1253             }
1254          }
1255          description { state: "disabled" 0.0;
1256             inherit: "default" 0.0;
1257             text {
1258                style: "entry_textblock_disabled_style_charwrap";
1259             }
1260          }
1261       }
1262    }
1263    programs {
1264       program { name: "focus";
1265          signal: "load";
1266          source: "";
1267          action: FOCUS_SET;
1268          target: "elm.text";
1269       }
1270       program { name: "disable";
1271          signal: "elm,state,disabled";
1272          source: "elm";
1273          action: STATE_SET "disabled" 0.0;
1274          target: "elm.text";
1275       }
1276       program { name: "enable";
1277          signal: "elm,state,enabled";
1278          source: "elm";
1279          action: STATE_SET "default" 0.0;
1280          target: "elm.text";
1281       }
1282    }
1283 }
1284
1285 group { name: "elm/entry/base-nowrap-noedit/default";
1286    parts {
1287       part { name: "elm.text";
1288          type: TEXTBLOCK;
1289          mouse_events: 1;
1290          scale: 1;
1291          entry_mode: PLAIN;
1292          select_mode: EXPLICIT;
1293          multiline: 1;
1294          source: "elm/entry/selection/default"; // selection under
1295          source5: "elm/entry/anchor/default"; // anchor under
1296          description { state: "default" 0.0;
1297             text {
1298                style: "entry_textblock_style";
1299                min: 1 1;
1300                align: 0.0 0.0;
1301             }
1302          }
1303          description { state: "disabled" 0.0;
1304             inherit: "default" 0.0;
1305             text {
1306                style: "entry_textblock_disabled_style";
1307             }
1308          }
1309       }
1310    }
1311    programs {
1312       program { name: "focus";
1313          signal: "load";
1314          source: "";
1315          action: FOCUS_SET;
1316          target: "elm.text";
1317       }
1318       program { name: "disable";
1319          signal: "elm,state,disabled";
1320          source: "elm";
1321          action: STATE_SET "disabled" 0.0;
1322          target: "elm.text";
1323       }
1324       program { name: "enable";
1325          signal: "elm,state,enabled";
1326          source: "elm";
1327          action: STATE_SET "default" 0.0;
1328          target: "elm.text";
1329       }
1330    }
1331 }
1332
1333 group { name: "elm/entry/base-password/default";
1334    parts {
1335       part { name: "elm.text";
1336          type: TEXTBLOCK;
1337          mouse_events: 1;
1338          scale: 1;
1339          entry_mode: PASSWORD;
1340          select_mode: EXPLICIT;
1341          multiline: 0;
1342          source: "elm/entry/selection/default"; // selection under
1343          source4: "elm/entry/cursor/default"; // cursorover
1344          source5: "elm/entry/anchor/default"; // anchor under
1345          description { state: "default" 0.0;
1346             text {
1347                style: "entry_single_textblock_style";
1348                repch: "*";
1349                min: 1 1;
1350                max: 0 0;
1351                align: 0.0 0.5;
1352             }
1353          }
1354          description { state: "disabled" 0.0;
1355             inherit: "default" 0.0;
1356             text {
1357                style: "entry_single_textblock_disabled_style";
1358             }
1359          }
1360       }
1361    }
1362    programs {
1363       program { name: "focus";
1364          signal: "load";
1365          source: "";
1366          action: FOCUS_SET;
1367          target: "elm.text";
1368       }
1369       program { name: "disable";
1370          signal: "elm,state,disabled";
1371          source: "elm";
1372          action: STATE_SET "disabled" 0.0;
1373          target: "elm.text";
1374       }
1375       program { name: "enable";
1376          signal: "elm,state,enabled";
1377          source: "elm";
1378          action: STATE_SET "default" 0.0;
1379          target: "elm.text";
1380       }
1381    }
1382 }
1383
1384 group { name: "elm/entry/cursor/default";
1385    images {
1386       image: "cur_box.png" COMP;
1387       image: "cur_hi.png" COMP;
1388       image: "cur_shad.png" COMP;
1389       image: "cur_shine.png" COMP;
1390       image: "cur_glow.png" COMP;
1391    }
1392    parts {
1393       part { name: "clip2";
1394          type: RECT;
1395          mouse_events: 0;
1396          description { state: "default" 0.0;
1397             rel1.to: "clip";
1398             rel2.to: "clip";
1399             visible: 0;
1400          }
1401          description { state: "focused" 0.0;
1402             inherit: "default" 0.0;
1403             visible: 1;
1404          }
1405       }
1406       part { name: "clip";
1407          type: RECT;
1408          mouse_events: 0;
1409          clip_to: "clip2";
1410          description { state: "default" 0.0;
1411             rel1.offset: -10 0;
1412             rel2.offset: 9 9;
1413          }
1414          description { state: "hidden" 0.0;
1415             inherit: "default" 0.0;
1416             visible: 0;
1417          }
1418       }
1419       part { name: "bg";
1420          mouse_events: 0;
1421          clip_to: "clip";
1422          description { state: "default" 0.0;
1423             rel1.to: "base";
1424             rel1.offset: -2 0;
1425             rel2.to: "base";
1426             rel2.offset: 1 1;
1427             image.border: 2 2 2 2;
1428             image.normal: "cur_shad.png";
1429          }
1430       }
1431       part { name: "base";
1432          mouse_events: 0;
1433          scale: 1;
1434          clip_to: "clip";
1435          description { state: "default" 0.0;
1436             min: 2 2;
1437             align: 0.5 1.0;
1438             rel1.relative: 0.0 1.0;
1439             rel1.offset: 0 -1;
1440             rel2.relative: 1.0 1.0;
1441             rel2.offset: -1 -1;
1442             image.normal: "cur_box.png";
1443          }
1444       }
1445       part { name: "hi";
1446          mouse_events: 0;
1447          clip_to: "clip";
1448          description { state: "default" 0.0;
1449             rel1.to: "base";
1450             rel2.to: "base";
1451             rel2.relative: 1.0 0.5;
1452             image.normal: "cur_hi.png";
1453          }
1454       }
1455       part { name: "shine";
1456          mouse_events: 0;
1457          clip_to: "clip";
1458          clip_to: "clip2";
1459          description { state: "default" 0.0;
1460             rel1.to: "base";
1461             rel2.to: "base";
1462             rel2.relative: 1.0 0.75;
1463             image.border: 2 2 1 0;
1464             image.normal: "cur_shine.png";
1465             fill.smooth: 0;
1466          }
1467       }
1468       part { name: "glow";
1469          mouse_events: 0;
1470          clip_to: "clip2";
1471          description { state: "default" 0.0;
1472             rel1.to: "base";
1473             rel1.relative: 0.0 -2.0;
1474             rel1.offset: -2 0;
1475             rel2.to: "base";
1476             rel2.relative: 1.0 0.0;
1477             rel2.offset: 1 1;
1478             image.border: 2 2 0 4;
1479             image.normal: "cur_glow.png";
1480             fill.smooth: 0;
1481          }
1482          description { state: "hidden" 0.0;
1483             inherit: "default" 0.0;
1484             color: 255 255 255 0;
1485          }
1486       }
1487    }
1488    programs {
1489       program { name: "show";
1490          signal: "show";
1491          source: "";
1492          action: STATE_SET "hidden" 0.0;
1493          in: 1.0 0.0;
1494          transition: DECELERATE 2.0;
1495          target: "glow";
1496          after: "show2";
1497       }
1498       program { name: "show2";
1499          action: STATE_SET "hidden" 0.0;
1500          in: 0.2 0.0;
1501          target: "clip";
1502          after: "show3";
1503       }
1504       program { name: "show3";
1505          action: STATE_SET "default" 0.0;
1506          in: 0.5 0.0;
1507          target: "clip";
1508          after: "show4";
1509       }
1510       program { name: "show4";
1511          action: STATE_SET "default" 0.0;
1512          in: 0.5 0.0;
1513          transition: DECELERATE 0.5;
1514          target: "glow";
1515          after: "show";
1516       }
1517       program { name: "focused";
1518          signal: "elm,action,focus";
1519          source: "elm";
1520          action: STATE_SET "focused" 0.0;
1521          target: "clip2";
1522       }
1523       program { name: "unfocused";
1524          signal: "elm,action,unfocus";
1525          source: "elm";
1526          action: STATE_SET "default" 0.0;
1527          target: "clip2";
1528       }
1529    }
1530 }
1531
1532 group { name: "elm/entry/selection/default";
1533    parts {
1534       part { name: "bg";
1535          type: RECT;
1536          mouse_events: 0;
1537          description { state: "default" 0.0;
1538             color: 128 128 128 128;
1539          }
1540       }
1541    }
1542 }
1543
1544 group { name: "elm/entry/anchor/default";
1545    parts {
1546       part { name: "bg";
1547          type: RECT;
1548          mouse_events: 0;
1549          description { state: "default" 0.0;
1550             color: 128 0 0 64;
1551          }
1552       }
1553    }
1554 }
1555