Initialize Tizen 2.3
[framework/uifw/elementary.git] / mobile / data / themes / default-desktop.edc
1 externals.external: "elm";
2
3 #define SCROLLBARS_ADD() \
4             images { \
5                 image: "bt_sm_base2.png" COMP; \
6                 image: "bt_sm_shine.png" COMP; \
7                 image: "bt_sm_hilight.png" COMP; \
8                 image: "sb_runnerh.png" COMP; \
9                 image: "sb_runnerv.png" COMP; \
10                 image: "arrow_up.png" COMP; \
11                 image: "arrow_down.png" COMP; \
12                 image: "arrow_right.png" COMP; \
13                 image: "arrow_left.png" COMP; \
14             } \
15             script { \
16                 public sbvis_v, sbvis_h; \
17             } \
18             part { name: "elm.scrollbar.base"; \
19                 type: SWALLOW; \
20                 mouse_events: 0; \
21                 description { state: "default" 0.0; \
22                     min: 13 13; \
23                     fixed: 1 1; \
24                     align: 1.0 1.0; \
25                     rel1.relative: 1.0 1.0; \
26                     rel2.offset: 12 12; \
27                 } \
28                 description { state: "vertical" 0.0; \
29                     inherit: "default" 0.0; \
30                     align: 1.0 0.0; \
31                     rel2.offset: -2 12; \
32                 } \
33                 description { state: "horizontal" 0.0; \
34                     inherit: "default" 0.0; \
35                     align: 0.0 1.0; \
36                     rel2.offset: 12 -2; \
37                 } \
38                 description { state: "both" 0.0; \
39                     inherit: "default" 0.0; \
40                     align: 1.0 1.0; \
41                     rel2.offset: -2 -2; \
42                 } \
43             } \
44             part { name: "sb_vbar_clip_master"; \
45                 type: RECT; \
46                 mouse_events: 0; \
47                 description { state: "default" 0.0; \
48                 } \
49                 description { state: "hidden" 0.0; \
50                     visible: 0; \
51                 } \
52             } \
53             part { name: "sb_vbar_clip"; \
54                 type: RECT; \
55                 mouse_events: 0; \
56                 clip_to: "sb_vbar_clip_master"; \
57                 description { state: "default" 0.0; \
58                     rel1.to: "sb_vbar_clip_master"; \
59                     rel2.to: "sb_vbar_clip_master"; \
60                 } \
61                 description { state: "hidden" 0.0; \
62                     inherit: "default" 0.0; \
63                     visible: 0; \
64                     max: 0 99999; \
65                 } \
66             } \
67             part { name: "sb_vbar"; \
68                 type: RECT; \
69                 mouse_events: 0; \
70                 clip_to: "sb_vbar_clip"; \
71                 description { state: "default" 0.0; \
72                     min: 13 0; \
73                     fixed: 1 1; \
74                     color: 0 0 0 0; \
75                     align: 0.0 0.5; \
76                     rel1 { \
77                         to_y: "sb_vbar_a1"; \
78                         to_x: "elm.scrollbar.base"; \
79                         relative: 0.0 1.0; \
80                         offset: 0 -1; \
81                     } \
82                     rel2 { \
83                         to_y: "sb_vbar_a2"; \
84                         relative: 1.0 0.0; \
85                         offset: -1 -2; \
86                     } \
87                 } \
88             } \
89             part { name: "sb_vbar_runner"; \
90                 mouse_events: 0; \
91                 clip_to: "sb_vbar_clip"; \
92                 description { state: "default" 0.0; \
93                     min: 3 0; \
94                     max: 3 99999; \
95                     fixed: 1 1; \
96                     align: 1.0 0.5; \
97                     rel1 { \
98                         to: "sb_vbar"; \
99                         relative: 0.5 0.0; \
100                         offset: 0 2; \
101                     } \
102                     rel2 { \
103                         to: "sb_vbar"; \
104                         relative: 0.5 1.0; \
105                         offset: 0 -2; \
106                     } \
107                     image { \
108                         normal: "sb_runnerv.png"; \
109                         border: 0 0 4 4; \
110                     } \
111                     fill.smooth: 0; \
112                 } \
113             } \
114             part { name: "sb_vbar_p1"; \
115                 type: RECT; \
116                 mouse_events: 1; \
117                 clip_to: "sb_vbar_clip"; \
118                 description { state: "default" 0.0; \
119                     color: 0 0 0 0; \
120                     fixed: 1 1; \
121                     rel1 { \
122                         to: "sb_vbar_a1"; \
123                         relative: 0.0 1.0; \
124                     } \
125                     rel2 { \
126                         to: "elm.dragable.vbar"; \
127                         relative: 1.0 0.0; \
128                     } \
129                 } \
130             } \
131             part { name: "sb_vbar_p2"; \
132                 type: RECT; \
133                 mouse_events: 1; \
134                 clip_to: "sb_vbar_clip"; \
135                 description { state: "default" 0.0; \
136                     color: 0 0 0 0; \
137                     fixed: 1 1; \
138                     rel1 { \
139                         to: "elm.dragable.vbar"; \
140                         relative: 0.0 1.0; \
141                     } \
142                     rel2 { \
143                         to: "sb_vbar_a2"; \
144                         relative: 1.0 0.0; \
145                     } \
146                 } \
147             } \
148             part { name: "sb_vbar_a1"; \
149                 type: RECT; \
150                 mouse_events: 1; \
151                 clip_to: "sb_vbar_clip"; \
152                 description { state: "default" 0.0; \
153                     min: 13 13; \
154                     fixed: 1 1; \
155                     align: 0.5 0.0; \
156                     aspect: 1.0 1.0; \
157                     aspect_preference: HORIZONTAL; \
158                     color: 0 0 0 0; \
159                     rel1 { \
160                         to_y: "sb_vbar_clip"; \
161                         to_x: "elm.scrollbar.base"; \
162                         relative: 0.0 0.0; \
163                         offset: 0 1; \
164                     } \
165                     rel2 { \
166                         to: "elm.scrollbar.base"; \
167                         relative: 1.0 0.0; \
168                         offset: -1 -2; \
169                     } \
170                 } \
171             } \
172             part { name: "sb_vbar_a1_arrow"; \
173                 mouse_events: 0; \
174                 clip_to: "sb_vbar_clip"; \
175                 description { state: "default" 0.0; \
176                     rel1.to: "sb_vbar_a1"; \
177                     rel2.to: "sb_vbar_a1"; \
178                     image.normal: "arrow_up.png"; \
179                 } \
180                 description { state: "clicked" 0.0; \
181                     inherit: "default" 0.0; \
182                     rel1.offset: 0 -1; \
183                     rel2.offset: -1 -2; \
184                 } \
185             } \
186             part { name: "sb_vbar_a2"; \
187                 type: RECT; \
188                 mouse_events: 1; \
189                 clip_to: "sb_vbar_clip"; \
190                 description { state: "default" 0.0; \
191                     min: 13 13; \
192                     fixed: 1 1; \
193                     align: 0.5 1.0; \
194                     aspect: 1.0 1.0; \
195                     aspect_preference: HORIZONTAL; \
196                     color: 0 0 0 0; \
197                     rel1.to: "elm.scrollbar.base"; \
198                     rel2 { \
199                         to: "elm.scrollbar.base"; \
200                         relative: 1.0 0.0; \
201                     } \
202                 } \
203             } \
204             part { name: "sb_vbar_a2_arrow"; \
205                 mouse_events: 0; \
206                 clip_to: "sb_vbar_clip"; \
207                 description { state: "default" 0.0; \
208                     rel1.to: "sb_vbar_a2"; \
209                     rel2.to: "sb_vbar_a2"; \
210                     image.normal: "arrow_down.png"; \
211                 } \
212                 description { state: "clicked" 0.0; \
213                     inherit: "default" 0.0; \
214                     rel1.offset: 0 1; \
215                     rel2.offset: -1 0; \
216                 } \
217             } \
218             part { name: "elm.dragable.vbar"; \
219                 type: RECT; \
220                 mouse_events: 1; \
221                 clip_to: "sb_vbar_clip"; \
222                 dragable { \
223                     x: 0 0 0; \
224                     y: 1 1 0; \
225                     confine: "sb_vbar"; \
226                 } \
227                 description { state: "default" 0.0; \
228                     min: 13 20; \
229                     fixed: 1 1; \
230                     aspect: 1.0 0.5; \
231                     aspect_preference: VERTICAL; \
232                     align: 0.5 0.0; \
233                     color: 0 0 0 0; \
234                     rel1 { \
235                         to_y: "sb_vbar"; \
236                         to_x: "elm.scrollbar.base"; \
237                         relative: 0.0 0.0; \
238                     } \
239                     rel2.to_y: "sb_vbar"; \
240                 } \
241             } \
242             part { name: "elm.dragable.vbar.image"; \
243                 mouse_events: 0; \
244                 clip_to: "sb_vbar_clip"; \
245                 description { state: "default" 0.0; \
246                     rel1.to: "elm.dragable.vbar"; \
247                     rel2.to: "elm.dragable.vbar"; \
248                     image { \
249                         normal: "bt_sm_base2.png"; \
250                         border: 6 6 6 6; \
251                     } \
252                 } \
253             } \
254             part { name: "sb_vbar_over1"; \
255                 clip_to: "sb_vbar_clip"; \
256                 mouse_events: 0; \
257                 description { state: "default" 0.0; \
258                     rel1.to: "elm.dragable.vbar.image"; \
259                     rel2 { \
260                         to: "elm.dragable.vbar.image"; \
261                         relative: 1.0 0.5; \
262                     } \
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.image"; \
274                     rel2.to: "elm.dragable.vbar.image"; \
275                     image { \
276                         normal: "bt_sm_shine.png"; \
277                         border: 6 6 6 0; \
278                     } \
279                 } \
280             } \
281             part { name: "sb_hbar_clip_master"; \
282                 type: RECT; \
283                 mouse_events: 0; \
284                 description { state: "default" 0.0; \
285                 } \
286                 description { state: "hidden" 0.0; \
287                     visible: 0; \
288                 } \
289             } \
290             part { name: "sb_hbar_clip"; \
291                 type: RECT; \
292                 mouse_events: 0; \
293                 clip_to: "sb_hbar_clip_master"; \
294                 description { state: "default" 0.0; \
295                     rel1.to: "sb_hbar_clip_master"; \
296                     rel2.to: "sb_hbar_clip_master"; \
297                 } \
298                 description { state: "hidden" 0.0; \
299                     inherit: "default" 0.0; \
300                     visible: 0; \
301                     max: 99999 0; \
302                 } \
303             } \
304             part { name: "sb_hbar"; \
305                 type: RECT; \
306                 mouse_events: 0; \
307                 clip_to: "sb_hbar_clip"; \
308                 description { state: "default" 0.0; \
309                     min: 0 13; \
310                     fixed: 1 1; \
311                     color: 0 0 0 0; \
312                     align: 0.5 0.5; \
313                     rel1 { \
314                         to_x: "sb_hbar_a1"; \
315                         to_y: "elm.scrollbar.base"; \
316                         relative: 1.0 0.0; \
317                         offset: -1 0; \
318                     } \
319                     rel2 { \
320                         to_x: "sb_hbar_a2"; \
321                         relative: 0.0 1.0; \
322                         offset: -2 -1; \
323                     } \
324                 } \
325             } \
326             part { name: "sb_hbar_runner"; \
327                 mouse_events: 0; \
328                 clip_to: "sb_hbar_clip"; \
329                 description { state: "default" 0.0; \
330                     min: 0 3; \
331                     max: 99999 3; \
332                     fixed: 1 1; \
333                     align: 0.5 0.5; \
334                     rel1 { \
335                         to: "sb_hbar"; \
336                         relative: 0.0 0.5; \
337                         offset: 2 0; \
338                     } \
339                     rel2 { \
340                         to: "sb_hbar"; \
341                         relative: 1.0 0.5; \
342                         offset: -2 0; \
343                     } \
344                     image { \
345                         normal: "sb_runnerh.png"; \
346                         border: 4 4 0 0; \
347                     } \
348                     fill.smooth: 0; \
349                 } \
350             } \
351             part { name: "elm.dragable.hbar"; \
352                 type: RECT; \
353                 mouse_events: 1; \
354                 clip_to: "sb_hbar_clip"; \
355                 dragable { \
356                     x: 1 1 0; \
357                     y: 0 0 0; \
358                     confine: "sb_hbar"; \
359                 } \
360                 description { state: "default" 0.0; \
361                     min: 20 13; \
362                     fixed: 1 1; \
363                     aspect_preference: HORIZONTAL; \
364                     align: 0.0 1.0; \
365                     color: 0 0 0 0; \
366                     rel1 { \
367                         to_x: "sb_hbar"; \
368                         relative: 0.0 1.0; \
369                     } \
370                     rel2.to_x: "sb_hbar"; \
371                 } \
372             } \
373             part { name: "elm.dragable.hbar.image"; \
374                 mouse_events: 0; \
375                 clip_to: "sb_hbar_clip"; \
376                 description { state: "default" 0.0; \
377                     rel1.to: "elm.dragable.hbar"; \
378                     rel2.to: "elm.dragable.hbar"; \
379                     image { \
380                         normal: "bt_sm_base2.png"; \
381                         border: 6 6 6 6; \
382                     } \
383                 } \
384             } \
385             part { name: "sb_hbar_over1"; \
386                 clip_to: "sb_hbar_clip"; \
387                 mouse_events: 0; \
388                 description { state: "default" 0.0; \
389                     rel1.to: "elm.dragable.hbar.image"; \
390                     rel2 { \
391                         to: "elm.dragable.hbar.image"; \
392                         relative: 1.0 0.5; \
393                     } \
394                     image { \
395                         normal: "bt_sm_hilight.png"; \
396                         border: 6 6 6 0; \
397                     } \
398                 } \
399             } \
400             part { name: "sb_hbar_over2"; \
401                 clip_to: "sb_hbar_clip"; \
402                 mouse_events: 0; \
403                 description { state: "default" 0.0; \
404                     rel1.to: "elm.dragable.hbar.image"; \
405                     rel2.to: "elm.dragable.hbar.image"; \
406                     image { \
407                         normal: "bt_sm_shine.png"; \
408                         border: 6 6 6 0; \
409                     } \
410                 } \
411             } \
412             part { name: "sb_hbar_p1"; \
413                 type: RECT; \
414                 mouse_events: 1; \
415                 clip_to: "sb_hbar_clip"; \
416                 description { state: "default" 0.0; \
417                     color: 0 0 0 0; \
418                     fixed: 1 1; \
419                     rel1 { \
420                         to: "sb_hbar_a1"; \
421                         relative: 1.0 0.0; \
422                     } \
423                     rel2 { \
424                         to: "elm.dragable.hbar"; \
425                         relative: 0.0 1.0; \
426                     } \
427                 } \
428             } \
429             part { name: "sb_hbar_p2"; \
430                 type: RECT; \
431                 mouse_events: 1; \
432                 clip_to: "sb_hbar_clip"; \
433                 description { state: "default" 0.0; \
434                     color: 0 0 0 0; \
435                     fixed: 1 1; \
436                     rel1 { \
437                         to: "elm.dragable.hbar"; \
438                         relative: 1.0 0.0; \
439                     } \
440                     rel2 { \
441                         to: "sb_hbar_a2"; \
442                         relative: 0.0 1.0; \
443                     } \
444                 } \
445             } \
446             part { name: "sb_hbar_a1"; \
447                 type: RECT; \
448                 mouse_events: 1; \
449                 clip_to: "sb_hbar_clip"; \
450                 description { state: "default" 0.0; \
451                     min: 13 13; \
452                     fixed: 1 1; \
453                     align: 0.0 1.0; \
454                     aspect: 1.0 1.0; \
455                     aspect_preference: VERTICAL; \
456                     color: 0 0 0 0; \
457                     rel1 { \
458                         to_x: "sb_hbar_clip"; \
459                         to_y: "elm.scrollbar.base"; \
460                         relative: 0.0 0.0; \
461                     } \
462                     rel2 { \
463                         to: "elm.scrollbar.base"; \
464                         relative: 0.0 1.0; \
465                         offset: -1 -1; \
466                     } \
467                 } \
468             } \
469             part { name: "sb_hbar_a1_arrow"; \
470                 mouse_events: 0; \
471                 clip_to: "sb_hbar_clip"; \
472                 description { state: "default" 0.0; \
473                     rel1.to: "sb_hbar_a1"; \
474                     rel2.to: "sb_hbar_a1"; \
475                     image.normal: "arrow_left.png"; \
476                 } \
477                 description { state: "clicked" 0.0; \
478                     inherit: "default" 0.0; \
479                     rel1.offset: -1 0; \
480                     rel2.offset: -2 -1; \
481                 } \
482             } \
483             part { name: "sb_hbar_a2"; \
484                 type: RECT; \
485                 mouse_events: 1; \
486                 clip_to: "sb_hbar_clip"; \
487                 description { state: "default" 0.0; \
488                     min: 13 13; \
489                     align: 1.0 1.0; \
490                     aspect: 1.0 1.0; \
491                     fixed: 1 1; \
492                     aspect_preference: VERTICAL; \
493                     color: 0 0 0 0; \
494                     rel1 { \
495                         to: "elm.scrollbar.base"; \
496                         relative: 1.0 0.0; \
497                     } \
498                     rel2 { \
499                         to: "elm.scrollbar.base"; \
500                         relative: 0.0 1.0; \
501                     } \
502                 } \
503             } \
504             part { name: "sb_hbar_a2_arrow"; \
505                 mouse_events: 0; \
506                 clip_to: "sb_hbar_clip"; \
507                 description { state: "default" 0.0; \
508                     rel1.to: "sb_hbar_a2"; \
509                     rel2.to: "sb_hbar_a2"; \
510                     image.normal: "arrow_right.png"; \
511                 } \
512                 description { state: "clicked" 0.0; \
513                     inherit: "default" 0.0; \
514                     rel1.offset: 1 0; \
515                     rel2.offset: 0 -1; \
516                 } \
517             } \
518             part { name: "disabler"; \
519                type: RECT; \
520                description { state: "default" 0.0; \
521                   rel1.to: "clipper"; \
522                   rel2.to: "clipper"; \
523                   color: 0 0 0 0; \
524                   visible: 0; \
525                } \
526                description { state: "disabled" 0.0; \
527                   inherit: "default" 0.0; \
528                   visible: 1; \
529                   color: 128 128 128 128; \
530                } \
531             } \
532             programs { \
533                 program { name: "load"; \
534                     signal: "load"; \
535                     source: ""; \
536                     script { \
537                         set_state(PART:"sb_hbar_clip", "hidden", 0.0); \
538                         set_state(PART:"sb_vbar_clip", "hidden", 0.0); \
539                         set_int(sbvis_h, 0); \
540                         set_int(sbvis_v, 0); \
541                     } \
542                 } \
543                 program { name: "vbar_show"; \
544                     signal: "elm,action,show,vbar"; \
545                     source: "elm"; \
546                     script { \
547                         set_state(PART:"sb_vbar_clip_master", "default", 0.0); \
548                         set_int(sbvis_v, 1); \
549                         if (get_int(sbvis_h)) \
550                             set_state(PART:"elm.scrollbar.base", "both", 0.0); \
551                         else \
552                             set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \
553                         emit("do-show-vbar", ""); \
554                     } \
555                 } \
556                 program { name: "vbar_hide"; \
557                     signal: "elm,action,hide,vbar"; \
558                     source: "elm"; \
559                     script { \
560                         set_state(PART:"sb_vbar_clip_master", "hidden", 0.0); \
561                         set_int(sbvis_v, 0); \
562                         if (get_int(sbvis_h)) \
563                             set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \
564                         else \
565                             set_state(PART:"elm.scrollbar.base", "default", 0.0); \
566                         emit("do-hide-vbar", ""); \
567                     } \
568                 } \
569                 program { name: "sb_vbar_down"; \
570                     signal: "mouse,down,1"; \
571                     source: "elm.dragable.vbar"; \
572                     action: STATE_SET "clicked" 0.0; \
573                     target: "elm.dragable.vbar"; \
574                 } \
575                 program { name: "sb_vbar_up"; \
576                     signal: "mouse,up,1"; \
577                     source: "elm.dragable.vbar"; \
578                     action: STATE_SET "default" 0.0; \
579                     target: "elm.dragable.vbar"; \
580                 } \
581                 program { name: "sb_vbar_show"; \
582                     signal: "do-show-vbar"; \
583                     source: ""; \
584                     action: STATE_SET "default" 0.0; \
585                     transition: LINEAR 0.1; \
586                     target: "sb_vbar_clip"; \
587                 } \
588                 program { name: "sb_vbar_hide"; \
589                     signal: "do-hide-vbar"; \
590                     source: ""; \
591                     action: STATE_SET "hidden" 0.0; \
592                     transition: LINEAR 1.0; \
593                     target: "sb_vbar_clip"; \
594                 } \
595                 program { name: "sb_vbar_a1_down"; \
596                     signal: "mouse,down,1"; \
597                     source: "sb_vbar_a1"; \
598                     action: STATE_SET "clicked" 0.0; \
599                     target: "sb_vbar_a1_arrow"; \
600                 } \
601                 program { name: "sb_vbar_a1_down2"; \
602                     signal: "mouse,down,1"; \
603                     source: "sb_vbar_a1"; \
604                     action: DRAG_VAL_STEP 0.0 -1.0; \
605                     target: "elm.dragable.vbar"; \
606                 } \
607                 program { name: "sb_vbar_a1_up"; \
608                     signal: "mouse,up,1"; \
609                     source: "sb_vbar_a1"; \
610                     action: STATE_SET "default" 0.0; \
611                     target: "sb_vbar_a1_arrow"; \
612                 } \
613                 program { name: "sb_vbar_a2_down"; \
614                     signal: "mouse,down,1"; \
615                     source: "sb_vbar_a2"; \
616                     action: STATE_SET "clicked" 0.0; \
617                     target: "sb_vbar_a2_arrow"; \
618                 } \
619                 program { name: "sb_vbar_a2_down2"; \
620                     signal: "mouse,down,1"; \
621                     source: "sb_vbar_a2"; \
622                     action: DRAG_VAL_STEP 0.0 1.0; \
623                     target: "elm.dragable.vbar"; \
624                 } \
625                 program { name: "sb_vbar_a2_up"; \
626                     signal: "mouse,up,1"; \
627                     source: "sb_vbar_a2"; \
628                     action: STATE_SET "default" 0.0; \
629                     target: "sb_vbar_a2_arrow"; \
630                 } \
631                 program { name: "sb_vbar_p1_down"; \
632                     signal: "mouse,down,1"; \
633                     source: "sb_vbar_p1"; \
634                     action: DRAG_VAL_PAGE 0.0 -1.0; \
635                     target: "elm.dragable.vbar"; \
636                 } \
637                 program { name: "sb_vbar_p2_down"; \
638                     signal: "mouse,down,1"; \
639                     source: "sb_vbar_p2"; \
640                     action: DRAG_VAL_PAGE 0.0 1.0; \
641                     target: "elm.dragable.vbar"; \
642                 } \
643                 program { name: "hbar_show"; \
644                     signal: "elm,action,show,hbar"; \
645                     source: "elm"; \
646                     script { \
647                         set_state(PART:"sb_hbar_clip_master", "default", 0.0); \
648                         set_int(sbvis_h, 1); \
649                         if (get_int(sbvis_v)) \
650                             set_state(PART:"elm.scrollbar.base", "both", 0.0); \
651                         else \
652                             set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \
653                         emit("do-show-hbar", ""); \
654                     } \
655                 } \
656                 program { name: "hbar_hide"; \
657                     signal: "elm,action,hide,hbar"; \
658                     source: "elm"; \
659                     script { \
660                         set_state(PART:"sb_hbar_clip_master", "hidden", 0.0); \
661                         set_int(sbvis_h, 0); \
662                         if (get_int(sbvis_v)) \
663                             set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \
664                         else \
665                             set_state(PART:"elm.scrollbar.base", "default", 0.0); \
666                         emit("do-hide-hbar", ""); \
667                     } \
668                 } \
669                 program { name: "sb_hbar_down"; \
670                     signal: "mouse,down,1"; \
671                     source: "elm.dragable.hbar"; \
672                     action: STATE_SET "clicked" 0.0; \
673                     target: "elm.dragable.hbar"; \
674                 } \
675                 program { name: "sb_hbar_up"; \
676                     signal: "mouse,up,1"; \
677                     source: "elm.dragable.hbar"; \
678                     action: STATE_SET "default" 0.0; \
679                     target: "elm.dragable.hbar"; \
680                 } \
681                 program { name: "sb_hbar_show"; \
682                     signal: "do-show-hbar"; \
683                     source: ""; \
684                     action: STATE_SET "default" 0.0; \
685                     transition: LINEAR 0.1; \
686                     target: "sb_hbar_clip"; \
687                 } \
688                 program { name: "sb_hbar_hide"; \
689                     signal: "do-hide-hbar"; \
690                     source: ""; \
691                     action: STATE_SET "hidden" 0.0; \
692                     transition: LINEAR 1.0; \
693                     target: "sb_hbar_clip"; \
694                 } \
695                 program { name: "sb_hbar_a1_down"; \
696                     signal: "mouse,down,1"; \
697                     source: "sb_hbar_a1"; \
698                     action: STATE_SET "clicked" 0.0; \
699                     target: "sb_hbar_a1_arrow"; \
700                 } \
701                 program { name: "sb_hbar_a1_down2"; \
702                     signal: "mouse,down,1"; \
703                     source: "sb_hbar_a1"; \
704                     action: DRAG_VAL_STEP -1.0 0.0; \
705                     target: "elm.dragable.hbar"; \
706                 } \
707                 program { name: "sb_hbar_a1_up"; \
708                     signal: "mouse,up,1"; \
709                     source: "sb_hbar_a1"; \
710                     action: STATE_SET "default" 0.0; \
711                     target: "sb_hbar_a1_arrow"; \
712                 } \
713                 program { name: "sb_hbar_a2_down"; \
714                     signal: "mouse,down,1"; \
715                     source: "sb_hbar_a2"; \
716                     action: STATE_SET "clicked" 0.0; \
717                     target: "sb_hbar_a2_arrow"; \
718                 } \
719                 program { name: "sb_hbar_a2_down2"; \
720                     signal: "mouse,down,1"; \
721                     source: "sb_hbar_a2"; \
722                     action: DRAG_VAL_STEP 1.0 0.0; \
723                     target: "elm.dragable.hbar"; \
724                 } \
725                 program { name: "sb_hbar_a2_up"; \
726                     signal: "mouse,up,1"; \
727                     source: "sb_hbar_a2"; \
728                     action: STATE_SET "default" 0.0; \
729                     target: "sb_hbar_a2_arrow"; \
730                 } \
731                 program { name: "sb_hbar_p1_down"; \
732                     signal: "mouse,down,1"; \
733                     source: "sb_hbar_p1"; \
734                     action: DRAG_VAL_PAGE -1.0 0.0; \
735                     target: "elm.dragable.hbar"; \
736                 } \
737                 program { name: "sb_hbar_p2_down"; \
738                     signal: "mouse,down,1"; \
739                     source: "sb_hbar_p2"; \
740                     action: DRAG_VAL_PAGE 1.0 0.0; \
741                     target: "elm.dragable.hbar"; \
742                 } \
743                 program { name: "disable"; \
744                     signal: "elm,state,disabled"; \
745                     source: "elm"; \
746                     action: STATE_SET "disabled" 0.0; \
747                     target: "disabler"; \
748                 } \
749                 program { name: "enable"; \
750                     signal: "elm,state,enabled"; \
751                     source: "elm"; \
752                     action: STATE_SET "default" 0.0; \
753                     target: "disabler"; \
754                 } \
755             } \
756
757 collections {
758
759     group { name: "elm/scroller/base/default";
760         alias: "elm/list/base/default";
761         alias: "elm/genlist/base/default";
762         alias: "elm/gengrid/base/default";
763
764         data {
765             item: "focus_highlight" "on";
766         }
767
768         images {
769             image: "shelf_inset.png" COMP;
770             image: "sl_bt2_2.png" COMP;
771         }
772
773         parts {
774             part { name: "bg";
775                 type: RECT;
776                 mouse_events: 0;
777                 description { state: "default" 0.0;
778                     rel1.offset: 1 1;
779                     rel2.offset: -2 -2;
780                     color: 255 255 255 0;
781                 }
782             }
783             part { name: "clipper";
784                 type: RECT;
785                 mouse_events: 0;
786                 description { state: "default" 0.0;
787                     rel1.to: "bg";
788                     rel2.to: "bg";
789                 }
790             }
791             part { name: "elm.swallow.content";
792                 type: SWALLOW;
793                 clip_to: "clipper";
794                 description { state: "default" 0.0;
795                     rel2 {
796                         to_x: "sb_vbar";
797                         to_y: "sb_hbar";
798                         relative: 0.0 0.0;
799                         offset: -1 -1;
800                     }
801                 }
802             }
803             part { name: "conf_over";
804                 mouse_events: 0;
805                 description { state: "default" 0.0;
806                     image {
807                         normal: "shelf_inset.png";
808                         border: 7 7 7 7;
809                         middle: 0;
810                     }
811                     fill.smooth: 0;
812                 }
813             }
814             part { name: "focus_highlight";
815                 mouse_events: 0;
816                 description { state: "default" 0.0;
817                     rel1.offset: -1 -1;
818                     rel2.offset: 0 0;
819                     image {
820                         normal: "sl_bt2_2.png";
821                         border: 7 7 7 7;
822                         middle: 0;
823                     }
824                     fill.smooth: 0;
825                     color: 200 155 0 0;
826                 }
827                 description { state: "enabled" 0.0;
828                     inherit: "default" 0.0;
829                     color: 200 155 0 255;
830                 }
831             }
832             SCROLLBARS_ADD()
833         }
834     }
835
836     group { name: "elm/scroller/entry/default";
837
838         data {
839             item: "focus_highlight" "on";
840         }
841
842         images {
843             image: "shelf_inset.png" COMP;
844             image: "sl_bt2_2.png" COMP;
845         }
846
847         parts {
848             part { name: "bg";
849                 type: RECT;
850                 mouse_events: 0;
851                 description { state: "default" 0.0;
852                     rel1.offset: 1 1;
853                     rel2.offset: -2 -2;
854                     color: 255 255 255 255;
855                 }
856             }
857             part { name: "clipper";
858                 type: RECT;
859                 mouse_events: 0;
860                 description { state: "default" 0.0;
861                     rel1.to: "bg";
862                     rel2.to: "bg";
863                 }
864             }
865             part { name: "content.clipper";
866                 type: RECT;
867                 mouse_events: 0;
868                 clip_to: "clipper";
869                 description { state: "default" 0.0;
870                     rel1 {
871                         to: "elm.swallow.icon";
872                         relative: 1.0 0.0;
873                     }
874                     rel2 {
875                         to: "elm.swallow.end";
876                         relative: 0.0 1.0;
877                     }
878                 }
879             }
880             part { name: "elm.swallow.icon";
881                 type: SWALLOW;
882                 clip_to: "clipper";
883                 description { state: "default" 0.0;
884                     fixed: 1 1;
885                     visible: 0;
886                     rel1 {
887                         to: "bg";
888                         relative: 0.0 0.0;
889                         offset: 0 0;
890                     }
891                     rel2 {
892                         to: "bg";
893                         relative: 0.0 1.0;
894                         offset: -1 -1;
895                     }
896                 }
897                 description { state: "visible" 0.0;
898                     inherit: "default" 0.0;
899                     visible: 1;
900                 }
901             }
902             part { name: "elm.swallow.end";
903                 type: SWALLOW;
904                 clip_to: "clipper";
905                 description { state: "default" 0.0;
906                     fixed: 1 1;
907                     visible: 0;
908                     rel1 {
909                         to: "bg";
910                         relative: 1.0 0.0;
911                         offset: 0 0;
912                     }
913                     rel2 {
914 //                        to_x: "elm.dragable.vbar";
915 //                        to_y: "elm.dragable.hbar";
916 //                        relative: 0.0 0.0;
917                         offset: -1 -1;
918                     }
919                 }
920                 description { state: "visible" 0.0;
921                     inherit: "default" 0.0;
922                     visible: 1;
923                 }
924             }
925             part { name: "elm.swallow.content";
926                 type: SWALLOW;
927                 clip_to: "content.clipper";
928                 description { state: "default" 0.0;
929                     rel1 {
930                         to: "elm.swallow.icon";
931                         relative: 1.0 0.0;
932                         offset: 1 1;
933                     }
934                     rel2 {
935                         to: "elm.swallow.end";
936                         relative: 0.0 1.0;
937                         offset: -2 -2;
938                     }
939                 }
940             }
941             part { name: "conf_over";
942                 mouse_events: 0;
943                 description { state: "default" 0.0;
944                     image {
945                         normal: "shelf_inset.png";
946                         border: 7 7 7 7;
947                         middle: 0;
948                     }
949                     fill.smooth: 0;
950                 }
951             }
952             part { name: "focus_highlight";
953                 mouse_events: 0;
954                 description { state: "default" 0.0;
955                     rel1.offset: -1 -1;
956                     rel2.offset: 0 0;
957                     image {
958                         normal: "sl_bt2_2.png";
959                         border: 7 7 7 7;
960                         middle: 0;
961                     }
962                     fill.smooth: 0;
963                     color: 200 155 0 0;
964                 }
965                 description { state: "enabled" 0.0;
966                     inherit: "default" 0.0;
967                     color: 200 155 0 255;
968                 }
969             }
970             SCROLLBARS_ADD()
971         }
972         programs {
973             program { name: "icon_show";
974                 signal: "elm,action,show,icon";
975                 source: "elm";
976                 action: STATE_SET "visible" 0.0;
977                 target: "elm.swallow.icon";
978             }
979             program { name: "icon_hide";
980                 signal: "elm,action,hide,icon";
981                 source: "elm";
982                 action: STATE_SET "default" 0.0;
983                 target: "elm.swallow.icon";
984             }
985             program { name: "end_show";
986                 signal: "elm,action,show,end";
987                 source: "elm";
988                 action: STATE_SET "visible" 0.0;
989                 target: "elm.swallow.end";
990             }
991             program { name: "end_hide";
992                 signal: "elm,action,hide,end";
993                 source: "elm";
994                 action: STATE_SET "default" 0.0;
995                 target: "elm.swallow.end";
996             }
997             program { name: "highlight_show";
998                 signal: "elm,action,focus_highlight,show";
999                 source: "elm";
1000                 action: STATE_SET "enabled" 0.0;
1001                 transition: ACCELERATE 0.3;
1002                 target: "focus_highlight";
1003                 target: "conf_over";
1004             }
1005             program { name: "highlight_hide";
1006                 signal: "elm,action,focus_highlight,hide";
1007                 source: "elm";
1008                 action: STATE_SET "default" 0.0;
1009                 transition: DECELERATE 0.3;
1010                 target: "focus_highlight";
1011                 target: "conf_over";
1012             }
1013         }
1014     }
1015
1016     group { name: "elm/photocam/base/default";
1017
1018         images {
1019             image: "shelf_inset.png" COMP;
1020             image: "busy-1.png" COMP;
1021             image: "busy-2.png" COMP;
1022             image: "busy-3.png" COMP;
1023             image: "busy-4.png" COMP;
1024             image: "busy-5.png" COMP;
1025             image: "busy-6.png" COMP;
1026             image: "busy-7.png" COMP;
1027             image: "busy-8.png" COMP;
1028             image: "busy-9.png" COMP;
1029         }
1030         parts {
1031             part { name: "bg";
1032                 type: RECT;
1033                 description { state: "default" 0.0;
1034                     rel1.offset: 1 1;
1035                     rel2.offset: -2 -2;
1036                     color: 255 255 255 0;
1037                 }
1038             }
1039             part { name: "clipper";
1040                 type: RECT;
1041                 mouse_events: 0;
1042                 description { state: "default" 0.0;
1043                     rel1.to: "bg";
1044                     rel2.to: "bg";
1045                 }
1046             }
1047             part { name: "elm.swallow.content";
1048                 clip_to: "clipper";
1049                 type: SWALLOW;
1050                 description { state: "default" 0.0;
1051                     rel1.offset: 1 1;
1052                     rel2.offset: -2 -2;
1053                 }
1054             }
1055             part { name: "busy_clip";
1056                 type: RECT;
1057                 mouse_events: 0;
1058                 description { state: "default" 0.0;
1059                     visible: 0;
1060                     color: 255 255 255 0;
1061                 }
1062                 description { state: "active" 0.0;
1063                     visible: 1;
1064                     color: 255 255 255 255;
1065                 }
1066             }
1067             part { name: "busy";
1068                 clip_to: "busy_clip";
1069                 mouse_events: 0;
1070                 description { state: "default" 0.0;
1071                     fixed: 1 1;
1072                     min: 32 32;
1073                     aspect: 1.0 1.0;
1074                     align: 1.0 1.0;
1075                     aspect_preference: BOTH;
1076                     rel1 {
1077                         relative: 0.9 0.9;
1078                         offset:   -9 -9;
1079                     }
1080                     rel2 {
1081                         relative: 0.9 0.9;
1082                         offset:   -9 -9;
1083                     }
1084                     image {
1085                         normal: "busy-9.png";
1086                         tween:  "busy-1.png";
1087                         tween:  "busy-2.png";
1088                         tween:  "busy-3.png";
1089                         tween:  "busy-4.png";
1090                         tween:  "busy-5.png";
1091                         tween:  "busy-6.png";
1092                         tween:  "busy-7.png";
1093                         tween:  "busy-8.png";
1094                     }
1095                 }
1096             }
1097             part { name: "conf_over";
1098                 mouse_events:  0;
1099                 description { state: "default" 0.0;
1100                     rel1.offset: 0 0;
1101                     rel2.offset: -1 -1;
1102                     image {
1103                         normal: "shelf_inset.png";
1104                         border: 7 7 7 7;
1105                         middle: 0;
1106                     }
1107                     fill.smooth : 0;
1108                 }
1109             }
1110             SCROLLBARS_ADD()
1111         }
1112         programs {
1113             program { name: "go1";
1114                 signal: "elm,state,busy,start";
1115                 source: "elm";
1116                 action: STATE_SET "active" 0.0;
1117                 transition: SINUSOIDAL 1.0;
1118                 target:  "busy_clip";
1119             }
1120             program { name: "go2";
1121                 signal: "elm,state,busy,start";
1122                 source: "elm";
1123                 action: STATE_SET "default" 0.0;
1124                 transition: LINEAR 0.5;
1125                 target: "busy";
1126                 after:  "go2";
1127             }
1128             program { name: "stop1";
1129                 signal: "elm,state,busy,stop";
1130                 source: "elm";
1131                 action: STATE_SET "default" 0.0;
1132                 transition: SINUSOIDAL 1.0;
1133                 target: "busy_clip";
1134                 after: "stop2";
1135             }
1136             program { name: "stop2";
1137                 action: ACTION_STOP;
1138                 target: "go2";
1139             }
1140         }
1141     }
1142
1143     ///////////////////////////////////////////////////////////////////////////////
1144     group { name: "elm/map/base/default";
1145         images {
1146             image: "shelf_inset.png" COMP;
1147             image: "busy-1.png" COMP;
1148             image: "busy-2.png" COMP;
1149             image: "busy-3.png" COMP;
1150             image: "busy-4.png" COMP;
1151             image: "busy-5.png" COMP;
1152             image: "busy-6.png" COMP;
1153             image: "busy-7.png" COMP;
1154             image: "busy-8.png" COMP;
1155             image: "busy-9.png" COMP;
1156         }
1157         parts {
1158             part { name: "bg";
1159                 type: RECT;
1160                 description { state: "default" 0.0;
1161                     rel1.offset: 1 1;
1162                     rel2.offset: -2 -2;
1163                     color: 255 255 255 0;
1164                 }
1165             }
1166             part { name: "clipper";
1167                 type: RECT;
1168                 mouse_events: 0;
1169                 description { state: "default" 0.0;
1170                     rel1.to: "bg";
1171                     rel2.to: "bg";
1172                 }
1173             }
1174             part { name: "elm.swallow.content";
1175                 clip_to: "clipper";
1176                 type: SWALLOW;
1177                 description { state: "default" 0.0;
1178                     rel1.offset: 1 1;
1179                     rel2.offset: -2 -2;
1180                 }
1181             }
1182             part { name: "busy_clip";
1183                 type: RECT;
1184                 mouse_events: 0;
1185                 description { state: "default" 0.0;
1186                     visible: 0;
1187                     color: 255 255 255 0;
1188                 }
1189                 description { state: "active" 0.0;
1190                     visible: 1;
1191                     color: 255 255 255 255;
1192                 }
1193             }
1194             part { name: "busy";
1195                 clip_to: "busy_clip";
1196                 mouse_events: 0;
1197                 description { state: "default" 0.0;
1198                     fixed: 1 1;
1199                     min: 32 32;
1200                     aspect: 1.0 1.0;
1201                     align: 1.0 1.0;
1202                     aspect_preference: BOTH;
1203                     rel1 {
1204                         relative: 0.9 0.9;
1205                         offset:   -9 -9;
1206                     }
1207                     rel2 {
1208                         relative: 0.9 0.9;
1209                         offset:   -9 -9;
1210                     }
1211                     image {
1212                         normal: "busy-9.png";
1213                         tween:  "busy-1.png";
1214                         tween:  "busy-2.png";
1215                         tween:  "busy-3.png";
1216                         tween:  "busy-4.png";
1217                         tween:  "busy-5.png";
1218                         tween:  "busy-6.png";
1219                         tween:  "busy-7.png";
1220                         tween:  "busy-8.png";
1221                     }
1222                 }
1223             }
1224             part { name: "conf_over";
1225                 mouse_events:  0;
1226                 description { state: "default" 0.0;
1227                     rel1.offset: 0 0;
1228                     rel2.offset: -1 -1;
1229                     image {
1230                         normal: "shelf_inset.png";
1231                         border: 7 7 7 7;
1232                         middle: 0;
1233                     }
1234                     fill.smooth : 0;
1235                 }
1236             }
1237             SCROLLBARS_ADD()
1238         }
1239         programs {
1240             program { name: "go1";
1241                 signal: "elm,state,busy,start";
1242                 source: "elm";
1243                 action: STATE_SET "active" 0.0;
1244                 transition: SINUSOIDAL 1.0;
1245                 target:  "busy_clip";
1246             }
1247             program { name: "go2";
1248                 signal: "elm,state,busy,start";
1249                 source: "elm";
1250                 action: STATE_SET "default" 0.0;
1251                 transition: LINEAR 0.5;
1252                 target: "busy";
1253                 after:  "go2";
1254             }
1255             program { name: "stop1";
1256                 signal: "elm,state,busy,stop";
1257                 source: "elm";
1258                 action: STATE_SET "default" 0.0;
1259                 transition: SINUSOIDAL 1.0;
1260                 target: "busy_clip";
1261                 after: "stop2";
1262             }
1263             program { name: "stop2";
1264                 action: ACTION_STOP;
1265                 target: "go2";
1266             }
1267         }
1268     }
1269
1270     group { name: "elm/list/base/hoverlist";
1271         data {
1272             item: "focus_highlight" "on";
1273         }
1274         images {
1275             image: "sl_bt2_2.png" COMP;
1276         }
1277         parts {
1278             part { name: "bg";
1279                 type: RECT;
1280                 description { state: "default" 0.0;
1281                     rel1.offset: 2 2;
1282                     rel2.offset: -3 -3;
1283                     color: 255 255 255 0;
1284                 }
1285             }
1286             part { name: "clipper";
1287                 type: RECT;
1288                 mouse_events: 0;
1289                 description { state: "default" 0.0;
1290                     rel1 {
1291                         to: "bg";
1292                         offset: 2 2;
1293                     }
1294                     rel2 {
1295                         to: "bg";
1296                         offset: -3 -3;
1297                     }
1298                 }
1299             }
1300             part { name: "elm.swallow.content";
1301                 clip_to: "clipper";
1302                 type: SWALLOW;
1303                 description { state: "default" 0.0;
1304                     rel1 {
1305                         to: "bg";
1306                         offset: 2 2;
1307                     }
1308                     rel2 {
1309                         to: "bg";
1310                         offset: -3 -3;
1311                     }
1312                 }
1313             }
1314             part { name: "focus_highlight";
1315                 mouse_events: 0;
1316                 description { state: "default" 0.0;
1317                     rel1.offset: -1 -1;
1318                     rel2.offset: 0 0;
1319                     image {
1320                         normal: "sl_bt2_2.png";
1321                         border: 7 7 7 7;
1322                         middle: 0;
1323                     }
1324                     fill.smooth : 0;
1325                     color: 200 155 0 0;
1326                 }
1327                 description { state: "enabled" 0.0;
1328                     inherit: "default" 0.0;
1329                     color: 200 155 0 255;
1330                 }
1331             }
1332             SCROLLBARS_ADD()
1333         }
1334         programs {
1335             program { name: "highlight_show";
1336                 signal: "elm,action,focus_highlight,show";
1337                 source: "elm";
1338                 action: STATE_SET "enabled" 0.0;
1339                 transition: ACCELERATE 0.3;
1340                 target: "focus_highlight";
1341             }
1342             program { name: "highlight_hide";
1343                 signal: "elm,action,focus_highlight,hide";
1344                 source: "elm";
1345                 action: STATE_SET "default" 0.0;
1346                 transition: DECELERATE 0.3;
1347                 target: "focus_highlight";
1348             }
1349         }
1350     }
1351
1352 //------------------------------------------------------------
1353    group { name: "elm/entry/base/default";
1354       styles
1355       {
1356          style { name: "entry_textblock_style";
1357             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
1358             tag:  "br" "\n";
1359             tag:  "ps" "ps";
1360             tag:  "tab" "\t";
1361             tag:  "em" "+ font=Sans:style=Oblique";
1362             tag:  "b" "+ font=Sans:style=Bold";
1363             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1364             tag:  "hilight" "+ font=Sans:style=Bold";
1365          }
1366          style { name: "entry_textblock_disabled_style";
1367             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
1368             tag:  "br" "\n";
1369             tag:  "ps" "ps";
1370             tag:  "tab" "\t";
1371             tag:  "em" "+ font=Sans:style=Oblique";
1372             tag:  "b" "+ font=Sans:style=Bold";
1373             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1374             tag:  "hilight" "+ font=Sans:style=Bold";
1375          }
1376       }
1377       data {
1378 //         item: context_menu_orientation "horizontal";
1379       }
1380       parts {
1381          part { name: "elm.text";
1382             type: TEXTBLOCK;
1383             mouse_events: 1;
1384             scale: 1;
1385             entry_mode: EDITABLE;
1386             select_mode: DEFAULT;
1387             multiline: 1;
1388             source: "elm/entry/selection/default"; // selection under
1389    //       source2: "X"; // selection over
1390    //       source3: "X"; // cursor under
1391             source4: "elm/entry/cursor/default"; // cursorover
1392             source5: "elm/entry/anchor/default"; // anchor under
1393    //       source6: "X"; // anchor over
1394             description { state: "default" 0.0;
1395                /* we gotta use 0 0 here, because of scrolled entries */
1396                fixed: 0 0;
1397                text {
1398                   style: "entry_textblock_style";
1399                   min: 0 1;
1400                   align: 0.0 0.0;
1401                }
1402             }
1403             description { state: "disabled" 0.0;
1404                inherit: "default" 0.0;
1405                text {
1406                   style: "entry_textblock_disabled_style";
1407                   min: 0 1;
1408                }
1409             }
1410          }
1411       }
1412       programs {
1413          program { name: "focus";
1414             signal: "load";
1415             source: "";
1416             action: FOCUS_SET;
1417             target: "elm.text";
1418          }
1419          program { name: "disable";
1420             signal: "elm,state,disabled";
1421             source: "elm";
1422             action: STATE_SET "disabled" 0.0;
1423             target: "elm.text";
1424          }
1425          program { name: "enable";
1426             signal: "elm,state,enabled";
1427             source: "elm";
1428             action: STATE_SET "default" 0.0;
1429             target: "elm.text";
1430          }
1431       }
1432    }
1433
1434    group { name: "elm/entry/base-charwrap/default";
1435       styles
1436       {
1437          style { name: "entry_textblock_style_charwrap";
1438             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
1439             tag:  "br" "\n";
1440             tag:  "ps" "ps";
1441             tag:  "tab" "\t";
1442             tag:  "em" "+ font=Sans:style=Oblique";
1443             tag:  "b" "+ font=Sans:style=Bold";
1444             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1445             tag:  "hilight" "+ font=Sans:style=Bold";
1446          }
1447          style { name: "entry_textblock_disabled_style_charwrap";
1448             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
1449             tag:  "br" "\n";
1450             tag:  "ps" "ps";
1451             tag:  "tab" "\t";
1452             tag:  "em" "+ font=Sans:style=Oblique";
1453             tag:  "b" "+ font=Sans:style=Bold";
1454             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1455             tag:  "hilight" "+ font=Sans:style=Bold";
1456          }
1457       }
1458       parts {
1459          part { name: "elm.text";
1460             type: TEXTBLOCK;
1461             mouse_events: 1;
1462             scale: 1;
1463             entry_mode: EDITABLE;
1464             select_mode: DEFAULT;
1465             multiline: 1;
1466             source: "elm/entry/selection/default"; // selection under
1467 //          source2: "X"; // selection over
1468 //          source3: "X"; // cursor under
1469             source4: "elm/entry/cursor/default"; // cursorover
1470             source5: "elm/entry/anchor/default"; // anchor under
1471 //          source6: "X"; // anchor over
1472             description { state: "default" 0.0;
1473                fixed: 1 0;
1474                text {
1475                   style: "entry_textblock_style_charwrap";
1476                   min: 0 1;
1477                   align: 0.0 0.0;
1478                }
1479             }
1480             description { state: "disabled" 0.0;
1481                inherit: "default" 0.0;
1482                text {
1483                   style: "entry_textblock_disabled_style_charwrap";
1484                   min: 0 1;
1485                }
1486             }
1487          }
1488       }
1489       programs {
1490          program { name: "focus";
1491             signal: "load";
1492             source: "";
1493             action: FOCUS_SET;
1494             target: "elm.text";
1495          }
1496          program { name: "disable";
1497             signal: "elm,state,disabled";
1498             source: "elm";
1499             action: STATE_SET "disabled" 0.0;
1500             target: "elm.text";
1501          }
1502          program { name: "enable";
1503             signal: "elm,state,enabled";
1504             source: "elm";
1505             action: STATE_SET "default" 0.0;
1506             target: "elm.text";
1507          }
1508       }
1509    }
1510
1511    group { name: "elm/entry/base-nowrap/default";
1512       parts {
1513          part { name: "elm.text";
1514             type: TEXTBLOCK;
1515             mouse_events: 1;
1516             scale: 1;
1517             entry_mode: EDITABLE;
1518             select_mode: DEFAULT;
1519             multiline: 1;
1520             source: "elm/entry/selection/default"; // selection under
1521             source4: "elm/entry/cursor/default"; // cursorover
1522             source5: "elm/entry/anchor/default"; // anchor under
1523             description { state: "default" 0.0;
1524                text {
1525                   style: "entry_textblock_style";
1526                   min: 1 1;
1527                   align: 0.0 0.0;
1528                }
1529             }
1530             description { state: "disabled" 0.0;
1531                inherit: "default" 0.0;
1532                text {
1533                   style: "entry_textblock_disabled_style";
1534                   min: 0 1;
1535                }
1536             }
1537          }
1538 /*
1539          part { name: "sel";
1540             type: RECT;
1541             mouse_events: 0;
1542             description { state: "default" 0.0;
1543                align: 1.0 1.0;
1544                max: 16 16;
1545                aspect: 1.0 1.0;
1546                color: 255 0 0 0;
1547             }
1548             description { state: "visible" 0.0;
1549                inherit: "default" 0.0;
1550                color: 255 0 0 50;
1551             }
1552          }
1553  */
1554       }
1555       programs {
1556          program { name: "focus";
1557             signal: "load";
1558             source: "";
1559             action: FOCUS_SET;
1560             target: "elm.text";
1561          }
1562          program { name: "disable";
1563             signal: "elm,state,disabled";
1564             source: "elm";
1565             action: STATE_SET "disabled" 0.0;
1566             target: "elm.text";
1567          }
1568          program { name: "enable";
1569             signal: "elm,state,enabled";
1570             source: "elm";
1571             action: STATE_SET "default" 0.0;
1572             target: "elm.text";
1573          }
1574 /*
1575          program { name: "selmode0";
1576             signal: "elm,state,select,on";
1577             source: "elm";
1578             action: STATE_SET "visible" 0.0;
1579             target: "sel";
1580          }
1581          program { name: "selmode1";
1582             signal: "elm,state,select,off";
1583             source: "elm";
1584             action: STATE_SET "default" 0.0;
1585             target: "sel";
1586          }
1587  */
1588       }
1589    }
1590
1591    group { name: "elm/entry/base-single/default";
1592       styles
1593       {
1594          style { name: "entry_single_textblock_style";
1595             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
1596             tag:  "br" "\n";
1597             tag:  "ps" "ps";
1598             tag:  "tab" "\t";
1599             tag:  "em" "+ font=Sans:style=Oblique";
1600             tag:  "b" "+ font=Sans:style=Bold";
1601             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
1602             tag:  "hilight" "+ font=Sans:style=Bold";
1603          }
1604          style { name: "entry_single_textblock_disabled_style";
1605             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
1606             tag:  "br" "\n";
1607             tag:  "ps" "ps";
1608             tag:  "tab" "\t";
1609             tag:  "em" "+ font=Sans:style=Oblique";
1610             tag:  "b" "+ font=Sans:style=Bold";
1611             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
1612             tag:  "hilight" "+ font=Sans:style=Bold";
1613          }
1614       }
1615       parts {
1616          part { name: "elm.text";
1617             type: TEXTBLOCK;
1618             mouse_events: 1;
1619             scale: 1;
1620             entry_mode: EDITABLE;
1621             select_mode: DEFAULT;
1622             multiline: 0;
1623             source: "elm/entry/selection/default"; // selection under
1624             source4: "elm/entry/cursor/default"; // cursorover
1625             source5: "elm/entry/anchor/default"; // anchor under
1626             description { state: "default" 0.0;
1627                text {
1628                   style: "entry_single_textblock_style";
1629                   min: 1 1;
1630                   max: 0 0;
1631                   align: 0.0 0.5;
1632                }
1633             }
1634             description { state: "disabled" 0.0;
1635                inherit: "default" 0.0;
1636                text {
1637                   style: "entry_single_textblock_disabled_style";
1638                }
1639             }
1640          }
1641       }
1642       programs {
1643          program { name: "focus";
1644             signal: "load";
1645             source: "";
1646             action: FOCUS_SET;
1647             target: "elm.text";
1648          }
1649          program { name: "disable";
1650             signal: "elm,state,disabled";
1651             source: "elm";
1652             action: STATE_SET "disabled" 0.0;
1653             target: "elm.text";
1654          }
1655          program { name: "enable";
1656             signal: "elm,state,enabled";
1657             source: "elm";
1658             action: STATE_SET "default" 0.0;
1659             target: "elm.text";
1660          }
1661       }
1662    }
1663
1664    group { name: "elm/entry/base-single-noedit/default";
1665       parts {
1666          part { name: "elm.text";
1667             type: TEXTBLOCK;
1668             mouse_events: 1;
1669             scale: 1;
1670             entry_mode: PLAIN;
1671             select_mode: DEFAULT;
1672             multiline: 0;
1673             source: "elm/entry/selection/default"; // selection under
1674             source5: "elm/entry/anchor/default"; // anchor under
1675             description { state: "default" 0.0;
1676                text {
1677                   style: "entry_single_textblock_style";
1678                   min: 1 1;
1679                   max: 0 0;
1680                   align: 0.0 0.5;
1681                }
1682             }
1683             description { state: "disabled" 0.0;
1684                inherit: "default" 0.0;
1685                text {
1686                style: "entry_single_textblock_disabled_style";
1687                }
1688             }
1689          }
1690       }
1691       programs {
1692          program { name: "focus";
1693             signal: "load";
1694             source: "";
1695             action: FOCUS_SET;
1696             target: "elm.text";
1697          }
1698          program { name: "disable";
1699             signal: "elm,state,disabled";
1700             source: "elm";
1701             action: STATE_SET "disabled" 0.0;
1702             target: "elm.text";
1703          }
1704          program { name: "enable";
1705             signal: "elm,state,enabled";
1706             source: "elm";
1707             action: STATE_SET "default" 0.0;
1708             target: "elm.text";
1709          }
1710       }
1711    }
1712
1713    group { name: "elm/entry/base-noedit/default";
1714       parts {
1715          part { name: "elm.text";
1716             type: TEXTBLOCK;
1717             mouse_events: 1;
1718             scale: 1;
1719             entry_mode: PLAIN;
1720             select_mode: DEFAULT;
1721             multiline: 1;
1722             source: "elm/entry/selection/default"; // selection under
1723             source5: "elm/entry/anchor/default"; // anchor under
1724             description { state: "default" 0.0;
1725                fixed: 1 0;
1726                text {
1727                   style: "entry_textblock_style";
1728                   min: 0 1;
1729                   align: 0.0 0.0;
1730                }
1731             }
1732             description { state: "disabled" 0.0;
1733                inherit: "default" 0.0;
1734                text {
1735                   style: "entry_textblock_disabled_style";
1736                }
1737             }
1738          }
1739       }
1740       programs {
1741          program { name: "focus";
1742             signal: "load";
1743             source: "";
1744             action: FOCUS_SET;
1745             target: "elm.text";
1746          }
1747          program { name: "disable";
1748             signal: "elm,state,disabled";
1749             source: "elm";
1750             action: STATE_SET "disabled" 0.0;
1751             target: "elm.text";
1752          }
1753          program { name: "enable";
1754             signal: "elm,state,enabled";
1755             source: "elm";
1756             action: STATE_SET "default" 0.0;
1757             target: "elm.text";
1758          }
1759       }
1760    }
1761
1762    group { name: "elm/entry/base-noedit-charwrap/default";
1763       parts {
1764          part { name: "elm.text";
1765             type: TEXTBLOCK;
1766             mouse_events: 1;
1767             scale: 1;
1768             entry_mode: PLAIN;
1769             select_mode: DEFAULT;
1770             multiline: 1;
1771             source: "elm/entry/selection/default"; // selection under
1772             source5: "elm/entry/anchor/default"; // anchor under
1773             description { state: "default" 0.0;
1774                fixed: 1 0;
1775                text {
1776                   style: "entry_textblock_style_charwrap";
1777                   min: 0 1;
1778                   align: 0.0 0.0;
1779                }
1780             }
1781             description { state: "disabled" 0.0;
1782                inherit: "default" 0.0;
1783                text {
1784                   style: "entry_textblock_disabled_style_charwrap";
1785                }
1786             }
1787          }
1788       }
1789       programs {
1790          program { name: "focus";
1791             signal: "load";
1792             source: "";
1793             action: FOCUS_SET;
1794             target: "elm.text";
1795          }
1796          program { name: "disable";
1797             signal: "elm,state,disabled";
1798             source: "elm";
1799             action: STATE_SET "disabled" 0.0;
1800             target: "elm.text";
1801          }
1802          program { name: "enable";
1803             signal: "elm,state,enabled";
1804             source: "elm";
1805             action: STATE_SET "default" 0.0;
1806             target: "elm.text";
1807          }
1808       }
1809    }
1810
1811    group { name: "elm/entry/base-nowrap-noedit/default";
1812       parts {
1813          part { name: "elm.text";
1814             type: TEXTBLOCK;
1815             mouse_events: 1;
1816             scale: 1;
1817             entry_mode: PLAIN;
1818             select_mode: DEFAULT;
1819             multiline: 1;
1820             source: "elm/entry/selection/default"; // selection under
1821             source5: "elm/entry/anchor/default"; // anchor under
1822             description { state: "default" 0.0;
1823                text {
1824                   style: "entry_textblock_style";
1825                   min: 1 1;
1826                   align: 0.0 0.0;
1827                }
1828             }
1829             description { state: "disabled" 0.0;
1830                inherit: "default" 0.0;
1831                text {
1832                   style: "entry_textblock_disabled_style";
1833                }
1834             }
1835          }
1836       }
1837       programs {
1838          program { name: "focus";
1839             signal: "load";
1840             source: "";
1841             action: FOCUS_SET;
1842             target: "elm.text";
1843          }
1844          program { name: "disable";
1845             signal: "elm,state,disabled";
1846             source: "elm";
1847             action: STATE_SET "disabled" 0.0;
1848             target: "elm.text";
1849          }
1850          program { name: "enable";
1851             signal: "elm,state,enabled";
1852             source: "elm";
1853             action: STATE_SET "default" 0.0;
1854             target: "elm.text";
1855          }
1856       }
1857    }
1858
1859    group { name: "elm/entry/base-password/default";
1860       parts {
1861          part { name: "elm.text";
1862             type: TEXTBLOCK;
1863             mouse_events: 1;
1864             scale: 1;
1865             entry_mode: PASSWORD;
1866             select_mode: DEFAULT;
1867             multiline: 0;
1868             source: "elm/entry/selection/default"; // selection under
1869             source4: "elm/entry/cursor/default"; // cursorover
1870             source5: "elm/entry/anchor/default"; // anchor under
1871             description { state: "default" 0.0;
1872                text {
1873                   style: "entry_single_textblock_style";
1874                   repch: "*";
1875                   min: 1 1;
1876                   max: 0 0;
1877                   align: 0.0 0.5;
1878                }
1879             }
1880             description { state: "disabled" 0.0;
1881                inherit: "default" 0.0;
1882                text {
1883                   style: "entry_single_textblock_disabled_style";
1884                }
1885             }
1886          }
1887       }
1888       programs {
1889          program { name: "focus";
1890             signal: "load";
1891             source: "";
1892             action: FOCUS_SET;
1893             target: "elm.text";
1894          }
1895          program { name: "disable";
1896             signal: "elm,state,disabled";
1897             source: "elm";
1898             action: STATE_SET "disabled" 0.0;
1899             target: "elm.text";
1900          }
1901          program { name: "enable";
1902             signal: "elm,state,enabled";
1903             source: "elm";
1904             action: STATE_SET "default" 0.0;
1905             target: "elm.text";
1906          }
1907       }
1908    }
1909
1910 group { name: "elm/entry/cursor/default";
1911    images {
1912       image: "cur_box.png" COMP;
1913       image: "cur_hi.png" COMP;
1914       image: "cur_shad.png" COMP;
1915       image: "cur_shine.png" COMP;
1916       image: "cur_glow.png" COMP;
1917    }
1918    parts {
1919       part { name: "clip2";
1920          type: RECT;
1921          mouse_events: 0;
1922          description { state: "default" 0.0;
1923             rel1.to: "clip";
1924             rel2.to: "clip";
1925             visible: 0;
1926          }
1927          description { state: "focused" 0.0;
1928             inherit: "default" 0.0;
1929             visible: 1;
1930          }
1931       }
1932       part { name: "clip";
1933          type: RECT;
1934          mouse_events: 0;
1935          clip_to: "clip2";
1936          description { state: "default" 0.0;
1937             rel1.offset: -10 0;
1938             rel2.offset: 9 9;
1939             visible: 0;
1940          }
1941          description { state: "visible" 0.0;
1942             inherit: "default" 0.0;
1943             visible: 1;
1944          }
1945       }
1946       part { name: "bg";
1947          mouse_events: 0;
1948          clip_to: "clip";
1949          description { state: "default" 0.0;
1950             rel1.to: "base";
1951             rel1.offset: -2 0;
1952             rel2.to: "base";
1953             rel2.offset: 1 1;
1954             image.border: 2 2 2 2;
1955             image.normal: "cur_shad.png";
1956          }
1957       }
1958       part { name: "base";
1959          mouse_events: 0;
1960          scale: 1;
1961          clip_to: "clip";
1962          description { state: "default" 0.0;
1963             min: 2 2;
1964             align: 0.5 1.0;
1965             rel1.relative: 0.0 1.0;
1966             rel1.offset: 0 -1;
1967             rel2.relative: 1.0 1.0;
1968             rel2.offset: -1 -1;
1969             image.normal: "cur_box.png";
1970          }
1971       }
1972       part { name: "hi";
1973          mouse_events: 0;
1974          clip_to: "clip";
1975          description { state: "default" 0.0;
1976             rel1.to: "base";
1977             rel2.to: "base";
1978             rel2.relative: 1.0 0.5;
1979             image.normal: "cur_hi.png";
1980          }
1981       }
1982       part { name: "shine";
1983          mouse_events: 0;
1984          clip_to: "clip";
1985          clip_to: "clip2";
1986          description { state: "default" 0.0;
1987             rel1.to: "base";
1988             rel2.to: "base";
1989             rel2.relative: 1.0 0.75;
1990             image.border: 2 2 1 0;
1991             image.normal: "cur_shine.png";
1992             fill.smooth: 0;
1993          }
1994       }
1995       part { name: "glow";
1996          mouse_events: 0;
1997          clip_to: "clip2";
1998          description { state: "default" 0.0;
1999             rel1.to: "base";
2000             rel1.relative: 0.0 -2.0;
2001             rel1.offset: -2 0;
2002             rel2.to: "base";
2003             rel2.relative: 1.0 0.0;
2004             rel2.offset: 1 1;
2005             image.border: 2 2 0 4;
2006             image.normal: "cur_glow.png";
2007             fill.smooth: 0;
2008             color: 255 255 255 0;
2009             visible: 0;
2010          }
2011          description { state: "visible" 0.0;
2012             inherit: "default" 0.0;
2013             color: 255 255 255 55;
2014             visible: 1;
2015          }
2016       }
2017    }
2018    programs {
2019       program { name: "blink";
2020          action: STATE_SET "visible" 0.0;
2021          in: 0.2 0.0;
2022          target: "clip";
2023          after: "blink2";
2024       }
2025       program { name: "blink2";
2026          action: STATE_SET "visible" 0.0;
2027          in: 0.2 0.0;
2028          target: "glow";
2029          after: "blink3";
2030       }
2031       program { name: "blink3";
2032          action: STATE_SET "default" 0.0;
2033          in: 0.2 0.0;
2034          target: "glow";
2035          after: "blink4";
2036       }
2037       program { name: "blink4";
2038          action: STATE_SET "default" 0.0;
2039          in: 0.2 0.0;
2040          target: "clip";
2041          after: "blink";
2042       }
2043       program { name: "noblink";
2044          action: ACTION_STOP;
2045          target: "blink";
2046          target: "blink2";
2047          target: "blink3";
2048          target: "blink4";
2049          after: "noblink2";
2050       }
2051       program { name: "noblink2";
2052          action: STATE_SET "default" 0.0;
2053          target: "clip";
2054          target: "glow";
2055       }
2056       program { name: "focused";
2057          signal: "elm,action,focus";
2058          source: "elm";
2059          action: STATE_SET "focused" 0.0;
2060          target: "clip2";
2061          after: "blink";
2062       }
2063       program { name: "unfocused";
2064          signal: "elm,action,unfocus";
2065          source: "elm";
2066          action: STATE_SET "default" 0.0;
2067          target: "clip2";
2068          after: "noblink";
2069       }
2070    }
2071 }
2072
2073    group { name: "elm/entry/selection/default";
2074       parts {
2075          part { name: "bg";
2076             type: RECT;
2077             mouse_events: 0;
2078             description { state: "default" 0.0;
2079                color: 128 128 128 128;
2080             }
2081          }
2082       }
2083    }
2084
2085    group { name: "elm/entry/anchor/default";
2086       parts {
2087          part { name: "bg";
2088             type: RECT;
2089             mouse_events: 0;
2090             description { state: "default" 0.0;
2091                color: 128 0 0 64;
2092             }
2093          }
2094       }
2095    }
2096 }