3d, gesturelayer, index, naviframe, transit, fileselector, frame, glview, layout...
[framework/uifw/elementary.git] / 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: 0 0; \
23                     fixed: 1 1; \
24                     align: 0.0 0.0; \
25                     rel1.relative: 1.0 1.0; \
26                 } \
27                 description { state: "vertical" 0.0; \
28                     inherit: "default" 0.0; \
29                     min: 17 0; \
30                     align: 1.0 0.0; \
31                 } \
32                 description { state: "horizontal" 0.0; \
33                     inherit: "default" 0.0; \
34                     min: 0 17; \
35                     align: 0.0 1.0; \
36                 } \
37                 description { state: "both" 0.0; \
38                     inherit: "default" 0.0; \
39                     min: 17 17; \
40                     align: 1.0 1.0; \
41                 } \
42             } \
43             part { name: "sb_vbar_clip_master"; \
44                 type: RECT; \
45                 mouse_events: 0; \
46                 description { state: "default" 0.0; \
47                 } \
48                 description { state: "hidden" 0.0; \
49                     visible: 0; \
50                 } \
51             } \
52             part { name: "sb_vbar_clip"; \
53                 type: RECT; \
54                 mouse_events: 0; \
55                 clip_to: "sb_vbar_clip_master"; \
56                 description { state: "default" 0.0; \
57                     rel1.to: "sb_vbar_clip_master"; \
58                     rel2.to: "sb_vbar_clip_master"; \
59                 } \
60                 description { state: "hidden" 0.0; \
61                     inherit: "default" 0.0; \
62                     visible: 0; \
63                     max: 0 99999; \
64                 } \
65             } \
66             part { name: "sb_vbar"; \
67                 type: RECT; \
68                 mouse_events: 0; \
69                 clip_to: "sb_vbar_clip"; \
70                 description { state: "default" 0.0; \
71                     min: 17 0; \
72                     fixed: 1 1; \
73                     color: 0 0 0 0; \
74                     align: 0.5 0.5; \
75                     rel1 { \
76                         to_y: "sb_vbar_a1"; \
77                         to_x: "elm.scrollbar.base"; \
78                         relative: 0.0 1.0; \
79                         offset: 0 -1; \
80                     } \
81                     rel2 { \
82                         to_y: "sb_vbar_a2"; \
83                         relative: 1.0 0.0; \
84                         offset: -1 -2; \
85                     } \
86                 } \
87             } \
88             part { name: "sb_vbar_runner"; \
89                 mouse_events: 0; \
90                 clip_to: "sb_vbar_clip"; \
91                 description { state: "default" 0.0; \
92                     min: 3 0; \
93                     max: 3 99999; \
94                     fixed: 1 1; \
95                     align: 1.0 0.5; \
96                     rel1 { \
97                         to: "sb_vbar"; \
98                         relative: 0.5 0.0; \
99                         offset: 0 2; \
100                     } \
101                     rel2 { \
102                         to: "sb_vbar"; \
103                         relative: 0.5 1.0; \
104                         offset: 0 -2; \
105                     } \
106                     image { \
107                         normal: "sb_runnerv.png"; \
108                         border: 0 0 4 4; \
109                     } \
110                     fill.smooth: 0; \
111                 } \
112             } \
113             part { name: "sb_vbar_p1"; \
114                 type: RECT; \
115                 mouse_events: 1; \
116                 clip_to: "sb_vbar_clip"; \
117                 description { state: "default" 0.0; \
118                     color: 0 0 0 0; \
119                     fixed: 1 1; \
120                     rel1 { \
121                         to: "sb_vbar_a1"; \
122                         relative: 0.0 1.0; \
123                     } \
124                     rel2 { \
125                         to: "elm.dragable.vbar"; \
126                         relative: 1.0 0.0; \
127                     } \
128                 } \
129             } \
130             part { name: "sb_vbar_p2"; \
131                 type: RECT; \
132                 mouse_events: 1; \
133                 clip_to: "sb_vbar_clip"; \
134                 description { state: "default" 0.0; \
135                     color: 0 0 0 0; \
136                     fixed: 1 1; \
137                     rel1 { \
138                         to: "elm.dragable.vbar"; \
139                         relative: 0.0 1.0; \
140                     } \
141                     rel2 { \
142                         to: "sb_vbar_a2"; \
143                         relative: 1.0 0.0; \
144                     } \
145                 } \
146             } \
147             part { name: "sb_vbar_a1"; \
148                 type: RECT; \
149                 mouse_events: 1; \
150                 clip_to: "sb_vbar_clip"; \
151                 description { state: "default" 0.0; \
152                     min: 17 17; \
153                     fixed: 1 1; \
154                     align: 0.5 0.0; \
155                     aspect: 1.0 1.0; \
156                     aspect_preference: HORIZONTAL; \
157                     color: 0 0 0 0; \
158                     rel1 { \
159                         to_y: "sb_vbar_clip"; \
160                         to_x: "elm.scrollbar.base"; \
161                         relative: 0.0 0.0; \
162                         offset: 0 1; \
163                     } \
164                     rel2 { \
165                         to: "elm.scrollbar.base"; \
166                         relative: 1.0 0.0; \
167                         offset: -1 -2; \
168                     } \
169                 } \
170             } \
171             part { name: "sb_vbar_a1_arrow"; \
172                 mouse_events: 0; \
173                 clip_to: "sb_vbar_clip"; \
174                 description { state: "default" 0.0; \
175                     rel1.to: "sb_vbar_a1"; \
176                     rel2.to: "sb_vbar_a1"; \
177                     image.normal: "arrow_up.png"; \
178                 } \
179                 description { state: "clicked" 0.0; \
180                     inherit: "default" 0.0; \
181                     rel1.offset: 0 -1; \
182                     rel2.offset: -1 -2; \
183                 } \
184             } \
185             part { name: "sb_vbar_a2"; \
186                 type: RECT; \
187                 mouse_events: 1; \
188                 clip_to: "sb_vbar_clip"; \
189                 description { state: "default" 0.0; \
190                     min: 17 17; \
191                     fixed: 1 1; \
192                     align: 0.5 1.0; \
193                     aspect: 1.0 1.0; \
194                     aspect_preference: HORIZONTAL; \
195                     color: 0 0 0 0; \
196                     rel1.to: "elm.scrollbar.base"; \
197                     rel2 { \
198                         to: "elm.scrollbar.base"; \
199                         relative: 1.0 0.0; \
200                     } \
201                 } \
202             } \
203             part { name: "sb_vbar_a2_arrow"; \
204                 mouse_events: 0; \
205                 clip_to: "sb_vbar_clip"; \
206                 description { state: "default" 0.0; \
207                     rel1.to: "sb_vbar_a2"; \
208                     rel2.to: "sb_vbar_a2"; \
209                     image.normal: "arrow_down.png"; \
210                 } \
211                 description { state: "clicked" 0.0; \
212                     inherit: "default" 0.0; \
213                     rel1.offset: 0 1; \
214                     rel2.offset: -1 0; \
215                 } \
216             } \
217             part { name: "elm.dragable.vbar"; \
218                 type: RECT; \
219                 mouse_events: 1; \
220                 clip_to: "sb_vbar_clip"; \
221                 dragable { \
222                     x: 0 0 0; \
223                     y: 1 1 0; \
224                     confine: "sb_vbar"; \
225                 } \
226                 description { state: "default" 0.0; \
227                     min: 17 17; \
228                     fixed: 1 1; \
229                     aspect: 1.0 0.5; \
230                     aspect_preference: VERTICAL; \
231                     align: 0.5 0.0; \
232                     color: 0 0 0 0; \
233                     rel1 { \
234                         to_y: "sb_vbar"; \
235                         to_x: "elm.scrollbar.base"; \
236                         relative: 0.0 0.0; \
237                     } \
238                     rel2.to_y: "sb_vbar"; \
239                 } \
240             } \
241             part { name: "elm.dragable.vbar.image"; \
242                 mouse_events: 0; \
243                 clip_to: "sb_vbar_clip"; \
244                 description { state: "default" 0.0; \
245                     rel1.to: "elm.dragable.vbar"; \
246                     rel2.to: "elm.dragable.vbar"; \
247                     image { \
248                         normal: "bt_sm_base2.png"; \
249                         border: 6 6 6 6; \
250                     } \
251                 } \
252             } \
253             part { name: "sb_vbar_over1"; \
254                 clip_to: "sb_vbar_clip"; \
255                 mouse_events: 0; \
256                 description { state: "default" 0.0; \
257                     rel1.to: "elm.dragable.vbar.image"; \
258                     rel2 { \
259                         to: "elm.dragable.vbar.image"; \
260                         relative: 1.0 0.5; \
261                     } \
262                     image { \
263                         normal: "bt_sm_hilight.png"; \
264                         border: 6 6 6 0; \
265                     } \
266                 } \
267             } \
268             part { name: "sb_vbar_over2"; \
269                 clip_to: "sb_vbar_clip"; \
270                 mouse_events: 0; \
271                 description { state: "default" 0.0; \
272                     rel1.to: "elm.dragable.vbar.image"; \
273                     rel2.to: "elm.dragable.vbar.image"; \
274                     image { \
275                         normal: "bt_sm_shine.png"; \
276                         border: 6 6 6 0; \
277                     } \
278                 } \
279             } \
280             part { name: "sb_hbar_clip_master"; \
281                 type: RECT; \
282                 mouse_events: 0; \
283                 description { state: "default" 0.0; \
284                 } \
285                 description { state: "hidden" 0.0; \
286                     visible: 0; \
287                 } \
288             } \
289             part { name: "sb_hbar_clip"; \
290                 type: RECT; \
291                 mouse_events: 0; \
292                 clip_to: "sb_hbar_clip_master"; \
293                 description { state: "default" 0.0; \
294                     rel1.to: "sb_hbar_clip_master"; \
295                     rel2.to: "sb_hbar_clip_master"; \
296                 } \
297                 description { state: "hidden" 0.0; \
298                     inherit: "default" 0.0; \
299                     visible: 0; \
300                     max: 99999 0; \
301                 } \
302             } \
303             part { name: "sb_hbar"; \
304                 type: RECT; \
305                 mouse_events: 0; \
306                 clip_to: "sb_hbar_clip"; \
307                 description { state: "default" 0.0; \
308                     min: 0 17; \
309                     fixed: 1 1; \
310                     color: 0 0 0 0; \
311                     align: 0.5 0.5; \
312                     rel1 { \
313                         to_x: "sb_hbar_a1"; \
314                         to_y: "elm.scrollbar.base"; \
315                         relative: 1.0 0.0; \
316                         offset: -1 0; \
317                     } \
318                     rel2 { \
319                         to_x: "sb_hbar_a2"; \
320                         relative: 0.0 1.0; \
321                         offset: -2 -1; \
322                     } \
323                 } \
324             } \
325             part { name: "sb_hbar_runner"; \
326                 mouse_events: 0; \
327                 clip_to: "sb_hbar_clip"; \
328                 description { state: "default" 0.0; \
329                     min: 0 3; \
330                     max: 99999 3; \
331                     fixed: 1 1; \
332                     align: 0.5 0.5; \
333                     rel1 { \
334                         to: "sb_hbar"; \
335                         relative: 0.0 0.5; \
336                         offset: 2 0; \
337                     } \
338                     rel2 { \
339                         to: "sb_hbar"; \
340                         relative: 1.0 0.5; \
341                         offset: -2 0; \
342                     } \
343                     image { \
344                         normal: "sb_runnerh.png"; \
345                         border: 4 4 0 0; \
346                     } \
347                     fill.smooth: 0; \
348                 } \
349             } \
350             part { name: "elm.dragable.hbar"; \
351                 type: RECT; \
352                 mouse_events: 1; \
353                 clip_to: "sb_hbar_clip"; \
354                 dragable { \
355                     x: 1 1 0; \
356                     y: 0 0 0; \
357                     confine: "sb_hbar"; \
358                 } \
359                 description { state: "default" 0.0; \
360                     min: 17 17; \
361                     fixed: 1 1; \
362                     aspect_preference: HORIZONTAL; \
363                     align: 0.0 1.0; \
364                     color: 0 0 0 0; \
365                     rel1 { \
366                         to_x: "sb_hbar"; \
367                         relative: 0.0 1.0; \
368                     } \
369                     rel2.to_x: "sb_hbar"; \
370                 } \
371             } \
372             part { name: "elm.dragable.hbar.image"; \
373                 mouse_events: 0; \
374                 clip_to: "sb_hbar_clip"; \
375                 description { state: "default" 0.0; \
376                     rel1.to: "elm.dragable.hbar"; \
377                     rel2.to: "elm.dragable.hbar"; \
378                     image { \
379                         normal: "bt_sm_base2.png"; \
380                         border: 6 6 6 6; \
381                     } \
382                 } \
383             } \
384             part { name: "sb_hbar_over1"; \
385                 clip_to: "sb_hbar_clip"; \
386                 mouse_events: 0; \
387                 description { state: "default" 0.0; \
388                     rel1.to: "elm.dragable.hbar.image"; \
389                     rel2 { \
390                         to: "elm.dragable.hbar.image"; \
391                         relative: 1.0 0.5; \
392                     } \
393                     image { \
394                         normal: "bt_sm_hilight.png"; \
395                         border: 6 6 6 0; \
396                     } \
397                 } \
398             } \
399             part { name: "sb_hbar_over2"; \
400                 clip_to: "sb_hbar_clip"; \
401                 mouse_events: 0; \
402                 description { state: "default" 0.0; \
403                     rel1.to: "elm.dragable.hbar.image"; \
404                     rel2.to: "elm.dragable.hbar.image"; \
405                     image { \
406                         normal: "bt_sm_shine.png"; \
407                         border: 6 6 6 0; \
408                     } \
409                 } \
410             } \
411             part { name: "sb_hbar_p1"; \
412                 type: RECT; \
413                 mouse_events: 1; \
414                 clip_to: "sb_hbar_clip"; \
415                 description { state: "default" 0.0; \
416                     color: 0 0 0 0; \
417                     fixed: 1 1; \
418                     rel1 { \
419                         to: "sb_hbar_a1"; \
420                         relative: 1.0 0.0; \
421                     } \
422                     rel2 { \
423                         to: "elm.dragable.hbar"; \
424                         relative: 0.0 1.0; \
425                     } \
426                 } \
427             } \
428             part { name: "sb_hbar_p2"; \
429                 type: RECT; \
430                 mouse_events: 1; \
431                 clip_to: "sb_hbar_clip"; \
432                 description { state: "default" 0.0; \
433                     color: 0 0 0 0; \
434                     fixed: 1 1; \
435                     rel1 { \
436                         to: "elm.dragable.hbar"; \
437                         relative: 1.0 0.0; \
438                     } \
439                     rel2 { \
440                         to: "sb_hbar_a2"; \
441                         relative: 0.0 1.0; \
442                     } \
443                 } \
444             } \
445             part { name: "sb_hbar_a1"; \
446                 type: RECT; \
447                 mouse_events: 1; \
448                 clip_to: "sb_hbar_clip"; \
449                 description { state: "default" 0.0; \
450                     min: 17 17; \
451                     fixed: 1 1; \
452                     align: 0.0 1.0; \
453                     aspect: 1.0 1.0; \
454                     aspect_preference: VERTICAL; \
455                     color: 0 0 0 0; \
456                     rel1 { \
457                         to_x: "sb_hbar_clip"; \
458                         to_y: "elm.scrollbar.base"; \
459                         relative: 0.0 0.0; \
460                     } \
461                     rel2 { \
462                         to: "elm.scrollbar.base"; \
463                         relative: 0.0 1.0; \
464                         offset: -1 -1; \
465                     } \
466                 } \
467             } \
468             part { name: "sb_hbar_a1_arrow"; \
469                 mouse_events: 0; \
470                 clip_to: "sb_hbar_clip"; \
471                 description { state: "default" 0.0; \
472                     rel1.to: "sb_hbar_a1"; \
473                     rel2.to: "sb_hbar_a1"; \
474                     image.normal: "arrow_left.png"; \
475                 } \
476                 description { state: "clicked" 0.0; \
477                     inherit: "default" 0.0; \
478                     rel1.offset: -1 0; \
479                     rel2.offset: -2 -1; \
480                 } \
481             } \
482             part { name: "sb_hbar_a2"; \
483                 type: RECT; \
484                 mouse_events: 1; \
485                 clip_to: "sb_hbar_clip"; \
486                 description { state: "default" 0.0; \
487                     min: 17 17; \
488                     align: 1.0 1.0; \
489                     aspect: 1.0 1.0; \
490                     fixed: 1 1; \
491                     aspect_preference: VERTICAL; \
492                     color: 0 0 0 0; \
493                     rel1 { \
494                         to: "elm.scrollbar.base"; \
495                         relative: 1.0 0.0; \
496                     } \
497                     rel2 { \
498                         to: "elm.scrollbar.base"; \
499                         relative: 0.0 1.0; \
500                     } \
501                 } \
502             } \
503             part { name: "sb_hbar_a2_arrow"; \
504                 mouse_events: 0; \
505                 clip_to: "sb_hbar_clip"; \
506                 description { state: "default" 0.0; \
507                     rel1.to: "sb_hbar_a2"; \
508                     rel2.to: "sb_hbar_a2"; \
509                     image.normal: "arrow_right.png"; \
510                 } \
511                 description { state: "clicked" 0.0; \
512                     inherit: "default" 0.0; \
513                     rel1.offset: 1 0; \
514                     rel2.offset: 0 -1; \
515                 } \
516             } \
517             part { name: "disabler"; \
518                type: RECT; \
519                description { state: "default" 0.0; \
520                   rel1.to: "clipper"; \
521                   rel2.to: "clipper"; \
522                   color: 0 0 0 0; \
523                   visible: 0; \
524                } \
525                description { state: "disabled" 0.0; \
526                   inherit: "default" 0.0; \
527                   visible: 1; \
528                   color: 128 128 128 128; \
529                } \
530             } \
531             programs { \
532                 program { name: "load"; \
533                     signal: "load"; \
534                     source: ""; \
535                     script { \
536                         set_state(PART:"sb_hbar_clip", "hidden", 0.0); \
537                         set_state(PART:"sb_vbar_clip", "hidden", 0.0); \
538                         set_int(sbvis_h, 0); \
539                         set_int(sbvis_v, 0); \
540                     } \
541                 } \
542                 program { name: "vbar_show"; \
543                     signal: "elm,action,show,vbar"; \
544                     source: "elm"; \
545                     script { \
546                         set_state(PART:"sb_vbar_clip_master", "default", 0.0); \
547                         set_int(sbvis_v, 1); \
548                         if (get_int(sbvis_h)) \
549                             set_state(PART:"elm.scrollbar.base", "both", 0.0); \
550                         else \
551                             set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \
552                         emit("do-show-vbar", ""); \
553                     } \
554                 } \
555                 program { name: "vbar_hide"; \
556                     signal: "elm,action,hide,vbar"; \
557                     source: "elm"; \
558                     script { \
559                         set_state(PART:"sb_vbar_clip_master", "hidden", 0.0); \
560                         set_int(sbvis_v, 0); \
561                         if (get_int(sbvis_h)) \
562                             set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \
563                         else \
564                             set_state(PART:"elm.scrollbar.base", "default", 0.0); \
565                         emit("do-hide-vbar", ""); \
566                     } \
567                 } \
568                 program { name: "sb_vbar_down"; \
569                     signal: "mouse,down,1"; \
570                     source: "elm.dragable.vbar"; \
571                     action: STATE_SET "clicked" 0.0; \
572                     target: "elm.dragable.vbar"; \
573                 } \
574                 program { name: "sb_vbar_up"; \
575                     signal: "mouse,up,1"; \
576                     source: "elm.dragable.vbar"; \
577                     action: STATE_SET "default" 0.0; \
578                     target: "elm.dragable.vbar"; \
579                 } \
580                 program { name: "sb_vbar_show"; \
581                     signal: "do-show-vbar"; \
582                     source: ""; \
583                     action: STATE_SET "default" 0.0; \
584                     transition: LINEAR 0.1; \
585                     target: "sb_vbar_clip"; \
586                 } \
587                 program { name: "sb_vbar_hide"; \
588                     signal: "do-hide-vbar"; \
589                     source: ""; \
590                     action: STATE_SET "hidden" 0.0; \
591                     transition: LINEAR 1.0; \
592                     target: "sb_vbar_clip"; \
593                 } \
594                 program { name: "sb_vbar_a1_down"; \
595                     signal: "mouse,down,1"; \
596                     source: "sb_vbar_a1"; \
597                     action: STATE_SET "clicked" 0.0; \
598                     target: "sb_vbar_a1_arrow"; \
599                 } \
600                 program { name: "sb_vbar_a1_down2"; \
601                     signal: "mouse,down,1"; \
602                     source: "sb_vbar_a1"; \
603                     action: DRAG_VAL_STEP 0.0 -1.0; \
604                     target: "elm.dragable.vbar"; \
605                 } \
606                 program { name: "sb_vbar_a1_up"; \
607                     signal: "mouse,up,1"; \
608                     source: "sb_vbar_a1"; \
609                     action: STATE_SET "default" 0.0; \
610                     target: "sb_vbar_a1_arrow"; \
611                 } \
612                 program { name: "sb_vbar_a2_down"; \
613                     signal: "mouse,down,1"; \
614                     source: "sb_vbar_a2"; \
615                     action: STATE_SET "clicked" 0.0; \
616                     target: "sb_vbar_a2_arrow"; \
617                 } \
618                 program { name: "sb_vbar_a2_down2"; \
619                     signal: "mouse,down,1"; \
620                     source: "sb_vbar_a2"; \
621                     action: DRAG_VAL_STEP 0.0 1.0; \
622                     target: "elm.dragable.vbar"; \
623                 } \
624                 program { name: "sb_vbar_a2_up"; \
625                     signal: "mouse,up,1"; \
626                     source: "sb_vbar_a2"; \
627                     action: STATE_SET "default" 0.0; \
628                     target: "sb_vbar_a2_arrow"; \
629                 } \
630                 program { name: "sb_vbar_p1_down"; \
631                     signal: "mouse,down,1"; \
632                     source: "sb_vbar_p1"; \
633                     action: DRAG_VAL_PAGE 0.0 -1.0; \
634                     target: "elm.dragable.vbar"; \
635                 } \
636                 program { name: "sb_vbar_p2_down"; \
637                     signal: "mouse,down,1"; \
638                     source: "sb_vbar_p2"; \
639                     action: DRAG_VAL_PAGE 0.0 1.0; \
640                     target: "elm.dragable.vbar"; \
641                 } \
642                 program { name: "hbar_show"; \
643                     signal: "elm,action,show,hbar"; \
644                     source: "elm"; \
645                     script { \
646                         set_state(PART:"sb_hbar_clip_master", "default", 0.0); \
647                         set_int(sbvis_h, 1); \
648                         if (get_int(sbvis_v)) \
649                             set_state(PART:"elm.scrollbar.base", "both", 0.0); \
650                         else \
651                             set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \
652                         emit("do-show-hbar", ""); \
653                     } \
654                 } \
655                 program { name: "hbar_hide"; \
656                     signal: "elm,action,hide,hbar"; \
657                     source: "elm"; \
658                     script { \
659                         set_state(PART:"sb_hbar_clip_master", "hidden", 0.0); \
660                         set_int(sbvis_h, 0); \
661                         if (get_int(sbvis_v)) \
662                             set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \
663                         else \
664                             set_state(PART:"elm.scrollbar.base", "default", 0.0); \
665                         emit("do-hide-hbar", ""); \
666                     } \
667                 } \
668                 program { name: "sb_hbar_down"; \
669                     signal: "mouse,down,1"; \
670                     source: "elm.dragable.hbar"; \
671                     action: STATE_SET "clicked" 0.0; \
672                     target: "elm.dragable.hbar"; \
673                 } \
674                 program { name: "sb_hbar_up"; \
675                     signal: "mouse,up,1"; \
676                     source: "elm.dragable.hbar"; \
677                     action: STATE_SET "default" 0.0; \
678                     target: "elm.dragable.hbar"; \
679                 } \
680                 program { name: "sb_hbar_show"; \
681                     signal: "do-show-hbar"; \
682                     source: ""; \
683                     action: STATE_SET "default" 0.0; \
684                     transition: LINEAR 0.1; \
685                     target: "sb_hbar_clip"; \
686                 } \
687                 program { name: "sb_hbar_hide"; \
688                     signal: "do-hide-hbar"; \
689                     source: ""; \
690                     action: STATE_SET "hidden" 0.0; \
691                     transition: LINEAR 1.0; \
692                     target: "sb_hbar_clip"; \
693                 } \
694                 program { name: "sb_hbar_a1_down"; \
695                     signal: "mouse,down,1"; \
696                     source: "sb_hbar_a1"; \
697                     action: STATE_SET "clicked" 0.0; \
698                     target: "sb_hbar_a1_arrow"; \
699                 } \
700                 program { name: "sb_hbar_a1_down2"; \
701                     signal: "mouse,down,1"; \
702                     source: "sb_hbar_a1"; \
703                     action: DRAG_VAL_STEP -1.0 0.0; \
704                     target: "elm.dragable.hbar"; \
705                 } \
706                 program { name: "sb_hbar_a1_up"; \
707                     signal: "mouse,up,1"; \
708                     source: "sb_hbar_a1"; \
709                     action: STATE_SET "default" 0.0; \
710                     target: "sb_hbar_a1_arrow"; \
711                 } \
712                 program { name: "sb_hbar_a2_down"; \
713                     signal: "mouse,down,1"; \
714                     source: "sb_hbar_a2"; \
715                     action: STATE_SET "clicked" 0.0; \
716                     target: "sb_hbar_a2_arrow"; \
717                 } \
718                 program { name: "sb_hbar_a2_down2"; \
719                     signal: "mouse,down,1"; \
720                     source: "sb_hbar_a2"; \
721                     action: DRAG_VAL_STEP 1.0 0.0; \
722                     target: "elm.dragable.hbar"; \
723                 } \
724                 program { name: "sb_hbar_a2_up"; \
725                     signal: "mouse,up,1"; \
726                     source: "sb_hbar_a2"; \
727                     action: STATE_SET "default" 0.0; \
728                     target: "sb_hbar_a2_arrow"; \
729                 } \
730                 program { name: "sb_hbar_p1_down"; \
731                     signal: "mouse,down,1"; \
732                     source: "sb_hbar_p1"; \
733                     action: DRAG_VAL_PAGE -1.0 0.0; \
734                     target: "elm.dragable.hbar"; \
735                 } \
736                 program { name: "sb_hbar_p2_down"; \
737                     signal: "mouse,down,1"; \
738                     source: "sb_hbar_p2"; \
739                     action: DRAG_VAL_PAGE 1.0 0.0; \
740                     target: "elm.dragable.hbar"; \
741                 } \
742                 program { name: "disable"; \
743                     signal: "elm,state,disabled"; \
744                     source: "elm"; \
745                     action: STATE_SET "disabled" 0.0; \
746                     target: "disabler"; \
747                 } \
748                 program { name: "enable"; \
749                     signal: "elm,state,enabled"; \
750                     source: "elm"; \
751                     action: STATE_SET "default" 0.0; \
752                     target: "disabler"; \
753                 } \
754             } \
755
756 collections {
757
758     group { name: "elm/scroller/base/default";
759         alias: "elm/list/base/default";
760         alias: "elm/genlist/base/default";
761         alias: "elm/carousel/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: 4 4;
933                     }
934                     rel2 {
935                         to: "elm.swallow.end";
936                         relative: 0.0 1.0;
937                         offset: -5 -5;
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             }
1940             description { state: "hidden" 0.0;
1941                inherit: "default" 0.0;
1942                visible: 0;
1943             }
1944          }
1945          part { name: "bg";
1946             mouse_events: 0;
1947             clip_to: "clip";
1948             description { state: "default" 0.0;
1949                rel1.to: "base";
1950                rel1.offset: -2 0;
1951                rel2.to: "base";
1952                rel2.offset: 1 1;
1953                image.border: 2 2 2 2;
1954                image.normal: "cur_shad.png";
1955             }
1956          }
1957          part { name: "base";
1958             mouse_events: 0;
1959             scale: 1;
1960             clip_to: "clip";
1961             description { state: "default" 0.0;
1962                min: 2 2;
1963                align: 0.5 1.0;
1964                rel1.relative: 0.0 1.0;
1965                rel1.offset: 0 -1;
1966                rel2.relative: 1.0 1.0;
1967                rel2.offset: -1 -1;
1968                image.normal: "cur_box.png";
1969             }
1970          }
1971          part { name: "hi";
1972             mouse_events: 0;
1973             clip_to: "clip";
1974             description { state: "default" 0.0;
1975                rel1.to: "base";
1976                rel2.to: "base";
1977                rel2.relative: 1.0 0.5;
1978                image.normal: "cur_hi.png";
1979             }
1980          }
1981          part { name: "shine";
1982             mouse_events: 0;
1983             clip_to: "clip";
1984             clip_to: "clip2";
1985             description { state: "default" 0.0;
1986                rel1.to: "base";
1987                rel2.to: "base";
1988                rel2.relative: 1.0 0.75;
1989                image.border: 2 2 1 0;
1990                image.normal: "cur_shine.png";
1991                fill.smooth: 0;
1992             }
1993          }
1994          part { name: "glow";
1995             mouse_events: 0;
1996             clip_to: "clip2";
1997             description { state: "default" 0.0;
1998                rel1.to: "base";
1999                rel1.relative: 0.0 -2.0;
2000                rel1.offset: -2 0;
2001                rel2.to: "base";
2002                rel2.relative: 1.0 0.0;
2003                rel2.offset: 1 1;
2004                image.border: 2 2 0 4;
2005                image.normal: "cur_glow.png";
2006                fill.smooth: 0;
2007             }
2008             description { state: "hidden" 0.0;
2009                inherit: "default" 0.0;
2010                color: 255 255 255 0;
2011             }
2012          }
2013       }
2014       programs {
2015          program { name: "show";
2016             signal: "show";
2017             source: "";
2018             action: STATE_SET "hidden" 0.0;
2019             in: 1.0 0.0;
2020             transition: DECELERATE 2.0;
2021             target: "glow";
2022             after: "show2";
2023          }
2024          program { name: "show2";
2025             action: STATE_SET "hidden" 0.0;
2026             in: 0.2 0.0;
2027             target: "clip";
2028             after: "show3";
2029          }
2030          program { name: "show3";
2031             action: STATE_SET "default" 0.0;
2032             in: 0.5 0.0;
2033             target: "clip";
2034             after: "show4";
2035          }
2036          program { name: "show4";
2037             action: STATE_SET "default" 0.0;
2038             in: 0.5 0.0;
2039             transition: DECELERATE 0.5;
2040             target: "glow";
2041             after: "show";
2042          }
2043          program { name: "focused";
2044             signal: "elm,action,focus";
2045             source: "elm";
2046             action: STATE_SET "focused" 0.0;
2047             target: "clip2";
2048          }
2049          program { name: "unfocused";
2050             signal: "elm,action,unfocus";
2051             source: "elm";
2052             action: STATE_SET "default" 0.0;
2053             target: "clip2";
2054          }
2055       }
2056    }
2057
2058    group { name: "elm/entry/selection/default";
2059       parts {
2060          part { name: "bg";
2061             type: RECT;
2062             mouse_events: 0;
2063             description { state: "default" 0.0;
2064                color: 128 128 128 128;
2065             }
2066          }
2067       }
2068    }
2069
2070    group { name: "elm/entry/anchor/default";
2071       parts {
2072          part { name: "bg";
2073             type: RECT;
2074             mouse_events: 0;
2075             description { state: "default" 0.0;
2076                color: 128 0 0 64;
2077             }
2078          }
2079       }
2080    }
2081 }