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