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