summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-17 11:02:52 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-17 11:02:52 +0000
commited336b2bccbd0b7b1500509ea130c6409f193091 (patch)
tree0561327cb7ee5d5a61ad3be085e0b7c60259bc06 /data
parent106a0bb896ace7160e1e6856014a3feb03307c4a (diff)
TH - efl.ui.panel
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/efl/panel.edc1107
1 files changed, 101 insertions, 1006 deletions
diff --git a/data/elementary/themes/edc/efl/panel.edc b/data/elementary/themes/edc/efl/panel.edc
index afe22f3440..45a3c7f740 100644
--- a/data/elementary/themes/edc/efl/panel.edc
+++ b/data/elementary/themes/edc/efl/panel.edc
@@ -9,10 +9,10 @@ group { name: "efl/panel";
9 } 9 }
10} 10}
11 11
12group { name: "efl/panel/scrollable/left"; data.item: "version" "123"; 12group { name: "efl/scroller/panel/left";
13 data.item: "version" "123";
13 parts { 14 parts {
14 part { name: "efl.panel_area"; 15 part { name: "efl.panel_area"; type: SWALLOW;
15 type: SWALLOW;
16 description { state: "default" 0.0; 16 description { state: "default" 0.0;
17 rel2.relative: 0.0 1.0; 17 rel2.relative: 0.0 1.0;
18 align: 0.0 0.5; 18 align: 0.0 0.5;
@@ -24,17 +24,11 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
24 visible: 1; 24 visible: 1;
25 } 25 }
26 } 26 }
27 part { name: "efl.event_area"; 27 part { name: "efl.event_area"; type: SWALLOW;
28 type: SWALLOW;
29 description { state: "default" 0.0; 28 description { state: "default" 0.0;
30 rel1 { 29 rel.to: "efl.panel_area";
31 relative: 1.0 0.0; 30 rel1.relative: 1.0 0.0;
32 to: "efl.panel_area"; 31 rel2.relative: 1.0 1.0;
33 }
34 rel2 {
35 relative: 1.0 1.0;
36 to: "efl.panel_area";
37 }
38 align: 0.0 0.5; 32 align: 0.0 0.5;
39 fixed: 1 1; 33 fixed: 1 1;
40 visible: 0; 34 visible: 0;
@@ -44,20 +38,16 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
44 visible: 1; 38 visible: 1;
45 } 39 }
46 } 40 }
47 part { name: "access.outline"; 41 part { name: "access.outline"; type: RECT;
48 type: RECT;
49 repeat_events: 1; 42 repeat_events: 1;
50 description { state: "default" 0.0; 43 description { state: "default" 0.0;
51 rel1.to: "efl.panel_area"; 44 rel.to: "efl.panel_area";
52 rel2.to: "efl.panel_area";
53 color: 0 0 0 0; 45 color: 0 0 0 0;
54 } 46 }
55 } 47 }
56 part { name: "bg"; 48 part { name: "bg"; type: RECT;
57 type: RECT;
58 description { state: "default" 0.0; 49 description { state: "default" 0.0;
59 rel1.to: "efl.panel_area"; 50 rel.to: "efl.panel_area";
60 rel2.to: "efl.panel_area";
61 color: 64 64 64 255; 51 color: 64 64 64 255;
62 visible: 0; 52 visible: 0;
63 } 53 }
@@ -66,11 +56,9 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
66 visible: 1; 56 visible: 1;
67 } 57 }
68 } 58 }
69 part { name: "efl.content"; 59 part { name: "efl.swallow.content"; type: SWALLOW;
70 type: SWALLOW;
71 description { state: "default" 0.0; 60 description { state: "default" 0.0;
72 rel1.to: "efl.panel_area"; 61 rel.to: "efl.panel_area";
73 rel2.to: "efl.panel_area";
74 visible: 0; 62 visible: 0;
75 } 63 }
76 description { state: "visible" 0.0; 64 description { state: "visible" 0.0;
@@ -80,31 +68,27 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
80 } 68 }
81 } 69 }
82 programs { 70 programs {
83 program { name: "active"; 71 program { signal: "efl,state,content,visible"; source: "efl";
84 signal: "efl,state,content,visible";
85 source: "efl";
86 action: STATE_SET "visible" 0.0; 72 action: STATE_SET "visible" 0.0;
87 target: "efl.panel_area"; 73 target: "efl.panel_area";
88 target: "efl.event_area"; 74 target: "efl.event_area";
89 target: "bg"; 75 target: "bg";
90 target: "efl.content"; 76 target: "efl.swallow.content";
91 } 77 }
92 program { name: "inactive"; 78 program { signal: "efl,state,content,hidden"; source: "efl";
93 signal: "efl,state,content,hidden";
94 source: "efl";
95 action: STATE_SET "default" 0.0; 79 action: STATE_SET "default" 0.0;
96 target: "efl.panel_area"; 80 target: "efl.panel_area";
97 target: "efl.event_area"; 81 target: "efl.event_area";
98 target: "bg"; 82 target: "bg";
99 target: "efl.content"; 83 target: "efl.swallow.content";
100 } 84 }
101 } 85 }
102} 86}
103 87
104group { name: "efl/panel/scrollable/right"; data.item: "version" "123"; 88group { name: "efl/scroller/panel/right";
89 data.item: "version" "123";
105 parts { 90 parts {
106 part { name: "efl.event_area"; 91 part { name: "efl.event_area"; type: SWALLOW;
107 type: SWALLOW;
108 description { state: "default" 0.0; 92 description { state: "default" 0.0;
109 rel2.relative: 0.0 1.0; 93 rel2.relative: 0.0 1.0;
110 align: 0.0 0.5; 94 align: 0.0 0.5;
@@ -116,8 +100,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
116 visible: 1; 100 visible: 1;
117 } 101 }
118 } 102 }
119 part { name: "efl.panel_area"; 103 part { name: "efl.panel_area"; type: SWALLOW;
120 type: SWALLOW;
121 description { state: "default" 0.0; 104 description { state: "default" 0.0;
122 rel1 { 105 rel1 {
123 relative: 1.0 0.0; 106 relative: 1.0 0.0;
@@ -136,8 +119,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
136 visible: 1; 119 visible: 1;
137 } 120 }
138 } 121 }
139 part { name: "access.outline"; 122 part { name: "access.outline"; type: RECT;
140 type: RECT;
141 repeat_events: 1; 123 repeat_events: 1;
142 description { state: "default" 0.0; 124 description { state: "default" 0.0;
143 rel1.to: "efl.panel_area"; 125 rel1.to: "efl.panel_area";
@@ -145,8 +127,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
145 color: 0 0 0 0; 127 color: 0 0 0 0;
146 } 128 }
147 } 129 }
148 part { name: "bg"; 130 part { name: "bg"; type: RECT;
149 type: RECT;
150 description { state: "default" 0.0; 131 description { state: "default" 0.0;
151 rel1.to: "efl.panel_area"; 132 rel1.to: "efl.panel_area";
152 rel2.to: "efl.panel_area"; 133 rel2.to: "efl.panel_area";
@@ -158,8 +139,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
158 visible: 1; 139 visible: 1;
159 } 140 }
160 } 141 }
161 part { name: "efl.content"; 142 part { name: "efl.swallow.content"; type: SWALLOW;
162 type: SWALLOW;
163 description { state: "default" 0.0; 143 description { state: "default" 0.0;
164 rel1.to: "efl.panel_area"; 144 rel1.to: "efl.panel_area";
165 rel2.to: "efl.panel_area"; 145 rel2.to: "efl.panel_area";
@@ -172,31 +152,27 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
172 } 152 }
173 } 153 }
174 programs { 154 programs {
175 program { name: "active"; 155 program { signal: "efl,state,content,visible"; source: "efl";
176 signal: "efl,state,content,visible";
177 source: "efl";
178 action: STATE_SET "visible" 0.0; 156 action: STATE_SET "visible" 0.0;
179 target: "efl.panel_area"; 157 target: "efl.panel_area";
180 target: "efl.event_area"; 158 target: "efl.event_area";
181 target: "bg"; 159 target: "bg";
182 target: "efl.content"; 160 target: "efl.swallow.content";
183 } 161 }
184 program { name: "inactive"; 162 program { signal: "efl,state,content,hidden"; source: "efl";
185 signal: "efl,state,content,hidden";
186 source: "efl";
187 action: STATE_SET "default" 0.0; 163 action: STATE_SET "default" 0.0;
188 target: "efl.panel_area"; 164 target: "efl.panel_area";
189 target: "efl.event_area"; 165 target: "efl.event_area";
190 target: "bg"; 166 target: "bg";
191 target: "efl.content"; 167 target: "efl.swallow.content";
192 } 168 }
193 } 169 }
194} 170}
195 171
196group { name: "efl/panel/scrollable/top"; data.item: "version" "123"; 172group { name: "efl/scroller/panel/top";
173 data.item: "version" "123";
197 parts { 174 parts {
198 part { name: "efl.panel_area"; 175 part { name: "efl.panel_area"; type: SWALLOW;
199 type: SWALLOW;
200 description { state: "default" 0.0; 176 description { state: "default" 0.0;
201 rel2.relative: 1.0 0.0; 177 rel2.relative: 1.0 0.0;
202 align: 0.5 0.0; 178 align: 0.5 0.0;
@@ -208,8 +184,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
208 visible: 1; 184 visible: 1;
209 } 185 }
210 } 186 }
211 part { name: "efl.event_area"; 187 part { name: "efl.event_area"; type: SWALLOW;
212 type: SWALLOW;
213 description { state: "default" 0.0; 188 description { state: "default" 0.0;
214 rel1 { 189 rel1 {
215 relative: 0.0 1.0; 190 relative: 0.0 1.0;
@@ -228,8 +203,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
228 visible: 1; 203 visible: 1;
229 } 204 }
230 } 205 }
231 part { name: "access.outline"; 206 part { name: "access.outline"; type: RECT;
232 type: RECT;
233 repeat_events: 1; 207 repeat_events: 1;
234 description { state: "default" 0.0; 208 description { state: "default" 0.0;
235 rel1.to: "efl.panel_area"; 209 rel1.to: "efl.panel_area";
@@ -237,100 +211,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
237 color: 0 0 0 0; 211 color: 0 0 0 0;
238 } 212 }
239 } 213 }
240 part { name: "bg"; 214 part { name: "bg"; type: RECT;
241 type: RECT;
242 description { state: "default" 0.0;
243 rel1.to: "efl.panel_area";
244 rel2.to: "efl.panel_area";
245 color: 64 64 64 255;
246 visible: 0;
247 }
248 description { state: "visible" 0.0;
249 inherit: "default" 0.0;
250 visible: 1;
251 }
252 }
253 part { name: "efl.content";
254 type: SWALLOW;
255 description { state: "default" 0.0;
256 rel1.to: "efl.panel_area";
257 rel2.to: "efl.panel_area";
258 visible: 0;
259 }
260 description { state: "visible" 0.0;
261 inherit: "default" 0.0;
262 visible: 1;
263 }
264 }
265 }
266 programs {
267 program { name: "active";
268 signal: "efl,state,content,visible";
269 source: "efl";
270 action: STATE_SET "visible" 0.0;
271 target: "efl.panel_area";
272 target: "efl.event_area";
273 target: "bg";
274 target: "efl.content";
275 }
276 program { name: "inactive";
277 signal: "efl,state,content,hidden";
278 source: "efl";
279 action: STATE_SET "default" 0.0;
280 target: "efl.panel_area";
281 target: "efl.event_area";
282 target: "bg";
283 target: "efl.content";
284 }
285 }
286}
287
288group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
289 parts {
290 part { name: "efl.event_area";
291 type: SWALLOW;
292 description { state: "default" 0.0;
293 rel2.relative: 1.0 0.0;
294 align: 0.5 0.0;
295 fixed: 1 1;
296 visible: 0;
297 }
298 description { state: "visible" 0.0;
299 inherit: "default" 0.0;
300 visible: 1;
301 }
302 }
303 part { name: "efl.panel_area";
304 type: SWALLOW;
305 description { state: "default" 0.0;
306 rel1 {
307 relative: 0.0 1.0;
308 to: "efl.event_area";
309 }
310 rel2 {
311 relative: 1.0 1.0;
312 to: "efl.event_area";
313 }
314 align: 0.5 0.0;
315 fixed: 1 1;
316 visible: 0;
317 }
318 description { state: "visible" 0.0;
319 inherit: "default" 0.0;
320 visible: 1;
321 }
322 }
323 part { name: "access.outline";
324 type: RECT;
325 repeat_events: 1;
326 description { state: "default" 0.0;
327 rel1.to: "efl.panel_area";
328 rel2.to: "efl.panel_area";
329 color: 0 0 0 0;
330 }
331 }
332 part { name: "bg";
333 type: RECT;
334 description { state: "default" 0.0; 215 description { state: "default" 0.0;
335 rel1.to: "efl.panel_area"; 216 rel1.to: "efl.panel_area";
336 rel2.to: "efl.panel_area"; 217 rel2.to: "efl.panel_area";
@@ -342,8 +223,7 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
342 visible: 1; 223 visible: 1;
343 } 224 }
344 } 225 }
345 part { name: "efl.content"; 226 part { name: "efl.swallow.content"; type: SWALLOW;
346 type: SWALLOW;
347 description { state: "default" 0.0; 227 description { state: "default" 0.0;
348 rel1.to: "efl.panel_area"; 228 rel1.to: "efl.panel_area";
349 rel2.to: "efl.panel_area"; 229 rel2.to: "efl.panel_area";
@@ -356,671 +236,27 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
356 } 236 }
357 } 237 }
358 programs { 238 programs {
359 program { name: "active"; 239 program { signal: "efl,state,content,visible"; source: "efl";
360 signal: "efl,state,content,visible";
361 source: "efl";
362 action: STATE_SET "visible" 0.0; 240 action: STATE_SET "visible" 0.0;
363 target: "efl.panel_area"; 241 target: "efl.panel_area";
364 target: "efl.event_area"; 242 target: "efl.event_area";
365 target: "bg"; 243 target: "bg";
366 target: "efl.content"; 244 target: "efl.swallow.content";
367 } 245 }
368 program { name: "inactive"; 246 program { signal: "efl,state,content,hidden"; source: "efl";
369 signal: "efl,state,content,hidden";
370 source: "efl";
371 action: STATE_SET "default" 0.0; 247 action: STATE_SET "default" 0.0;
372 target: "efl.panel_area"; 248 target: "efl.panel_area";
373 target: "efl.event_area"; 249 target: "efl.event_area";
374 target: "bg"; 250 target: "bg";
375 target: "efl.content"; 251 target: "efl.swallow.content";
376 }
377 }
378}
379
380group { name: "efl/panel/left"; data.item: "version" "123";
381 images.image: "bevel_out.png" COMP;
382 images.image: "shine.png" COMP;
383 images.image: "shadow_square_tiny.png" COMP;
384 images.image: "holes_tiny_glow_vert.png" COMP;
385 images.image: "holes_tiny_glow_horiz.png" COMP;
386 images.image: "win_glow.png" COMP;
387 images.image: "icon_arrow_right.png" COMP;
388 images.image: "icon_arrow_left.png" COMP;
389 images.image: "icon_arrow_up.png" COMP;
390 images.image: "icon_arrow_down.png" COMP;
391 data.item: "focus_highlight" "on";
392 script {
393 public is_rtl = 0;
394 }
395 parts {
396 part { name: "shadow"; mouse_events: 0;
397 description { state: "default" 0.0;
398 rel1.offset: -3 -2;
399 rel1.to: "base";
400 rel2.offset: 2 4;
401 rel2.to: "base";
402 image.normal: "shadow_square_tiny.png";
403 image.border: 6 6 6 6;
404 fill.smooth: 0;
405 }
406 }
407 part { name: "glow"; mouse_events: 0;
408 description { state: "default" 0.0;
409 image.normal: "win_glow.png";
410 image.border: 9 9 9 9;
411 image.middle: 0;
412 rel1.offset: -5 -5;
413 rel1.to: "base";
414 rel2.offset: 4 4;
415 rel2.to: "base";
416 fill.smooth: 0;
417 color: 255 255 255 0;
418 visible: 0;
419 }
420 description { state: "focused" 0.0;
421 inherit: "default" 0.0;
422 color: 255 255 255 255;
423 visible: 1;
424 }
425 }
426 part { name: "all"; type: SPACER;
427 description { state: "default" 0.0;
428 }
429 }
430 part { name: "base"; type: RECT;
431 description { state: "default" 0.0;
432 rel1.to_x: "all";
433 rel2.to_x: "efl.swallow.event";
434 rel2.relative: 0.0 1.0;
435 rel2.offset: -4 -1;
436 color: 64 64 64 255;
437 }
438 }
439 part { name: "efl.content"; type: SWALLOW;
440 description { state: "default" 0.0;
441 rel1.offset: 4 4;
442 rel1.to: "base";
443 rel2.offset: -5 -5;
444 rel2.to: "base";
445 }
446 }
447 part { name: "bevel"; mouse_events: 0;
448 description { state: "default" 0.0;
449 rel1.to: "base";
450 rel2.to: "base";
451 image.normal: "bevel_out.png";
452 image.border: 1 1 1 1;
453 image.middle: 0;
454 fill.smooth: 0;
455 }
456 }
457 part { name: "shine"; mouse_events: 0;
458 description { state: "default" 0.0;
459 image.normal: "shine.png";
460 rel1.offset: 0 -2;
461 rel1.to: "base";
462 rel2.relative: 1.0 0.0;
463 rel2.offset: -1 2;
464 rel2.to: "base";
465 FIXED_SIZE(69, 5)
466 }
467 }
468 part { name: "efl.swallow.event"; type: SWALLOW;
469 description { state: "default" 0.0;
470 fixed: 1 1;
471 min: 20 20;
472 max: 20 20;
473 align: 1.0 0.5;
474 rel1.relative: 1.0 0.0;
475 rel2.relative: 1.0 1.0;
476 color: 0 0 0 0;
477 }
478 description { state: "hidden" 0.0;
479 inherit: "default" 0.0;
480 align: 0.0 0.5;
481 rel1.relative: 0.0 0.0;
482 rel2.relative: 0.0 1.0;
483 }
484 }
485 part { name: "btn"; type: RECT;
486 description { state: "default" 0.0;
487 rel1.to: "efl.swallow.event";
488 rel2.to: "efl.swallow.event";
489 color: 0 0 0 0;
490 }
491 description { state: "hidden" 0.0;
492 rel1.to: "efl.swallow.event";
493 rel2.to: "efl.swallow.event";
494 }
495 }
496 part { name: "dots"; mouse_events: 0;
497 description { state: "default" 0.0;
498 rel1.to: "icn";
499 rel2.to: "icn";
500 align: 0.0 0.5;
501 image.normal: "holes_tiny_glow_vert.png";
502 FIXED_SIZE(11, 17)
503 }
504 }
505 part { name: "icn"; mouse_events: 0;
506 scale: 1;
507 description { state: "default" 0.0;
508 fixed: 1 1;
509 min: 20 20;
510 max: 20 20;
511 rel1.to: "btn";
512 rel2.to: "btn";
513 image.normal: "icon_arrow_left.png";
514 }
515 description { state: "hidden" 0.0;
516 inherit: "default" 0.0;
517 image.normal: "icon_arrow_right.png";
518 }
519 }
520 }
521 programs {
522 program {
523 signal: "mouse,clicked,1"; source: "btn";
524 action: SIGNAL_EMIT "efl,action,panel,toggle" "efl";
525 }
526 program {
527 signal: "efl,action,show"; source: "efl";
528 action: STATE_SET "default" 0.0;
529 transition: DECELERATE 0.3;
530 target: "efl.swallow.event";
531 target: "base";
532 }
533 program {
534 signal: "efl,action,show"; source: "efl";
535 script {
536 if (get_int(is_rtl) == 0)
537 set_state(PART:"icn", "default", 0.0);
538 else
539 set_state(PART:"icn", "hidden", 0.0);
540 }
541 }
542 program {
543 signal: "edje,state,rtl";
544 source: "edje";
545 script {
546 new st[31];
547 new Float:vl;
548 get_state(PART:"efl.swallow.event", st, 30, vl);
549 if (!strcmp(st, "default"))
550 set_state(PART:"icn", "hidden", 0.0);
551 else
552 set_state(PART:"icn", "default", 0.0);
553 set_int(is_rtl, 1);
554 }
555 }
556 program {
557 signal: "edje,state,ltr";
558 source: "edje";
559 script {
560 new st[31];
561 new Float:vl;
562 get_state(PART:"efl.swallow.event", st, 30, vl);
563 if (!strcmp(st, "default"))
564 set_state(PART:"icn", "default", 0.0);
565 else
566 set_state(PART:"icn", "hidden", 0.0);
567 set_int(is_rtl, 0);
568 }
569 }
570 program {
571 signal: "efl,action,hide"; source: "efl";
572 action: STATE_SET "hidden" 0.0;
573 transition: ACCELERATE 0.3;
574 target: "efl.swallow.event";
575 }
576 program {
577 signal: "efl,action,hide"; source: "efl";
578 script {
579 if (get_int(is_rtl) == 0)
580 set_state(PART:"icn", "hidden", 0.0);
581 else
582 set_state(PART:"icn", "default", 0.0);
583 }
584 }
585 program { name: "hide1";
586 signal: "efl,action,hide"; source: "efl";
587 script {
588 new x, y, w, h;
589 if (get_int(is_rtl) == 0)
590 {
591 custom_state(PART:"base", "default", 0.0);
592 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
593 get_geometry(PART:"efl.swallow.event", x, y, w, h);
594 set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
595 }
596 else
597 {
598 custom_state(PART:"base", "default", 0.0);
599 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
600 set_state_val(PART:"base", STATE_REL2, -2.0, 1.0);
601 get_geometry(PART:"efl.swallow.event", x, y, w, h);
602 set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
603 }
604 }
605 after: "hide2";
606 }
607 program { name: "hide2";
608 action: STATE_SET "custom" 0.0;
609 transition: ACCELERATE 0.3;
610 target: "base";
611 }
612 program {
613 signal: "efl,action,focus_highlight,show"; source: "efl";
614 action: STATE_SET "focused" 0.0;
615 transition: ACCELERATE 0.2;
616 target: "glow";
617 }
618 program {
619 signal: "efl,action,focus_highlight,hide"; source: "efl";
620 action: STATE_SET "default" 0.0;
621 transition: DECELERATE 0.5;
622 target: "glow";
623 }
624 }
625}
626
627group { name: "efl/panel/right";
628 inherit: "efl/panel/left";
629 data.item: "version" "123";
630 parts {
631 part { name: "base";
632 description { state: "default" 0.0;
633 rel1.relative: 1.0 0.0;
634 rel1.to_x: "efl.swallow.event";
635 rel1.offset: 3 0;
636 rel2.relative: 1.0 1.0;
637 rel2.to_x: "all";
638 rel2.offset: -1 -1;
639 }
640 }
641 part { name: "efl.swallow.event";
642 description { state: "default" 0.0;
643 align: 0.0 0.5;
644 rel1.relative: 0.0 0.0;
645 rel2.relative: 0.0 1.0;
646 }
647 description { state: "hidden" 0.0;
648 align: 1.0 0.5;
649 rel1.relative: 1.0 0.0;
650 rel2.relative: 1.0 1.0;
651 }
652 }
653 part { name: "dots";
654 description { state: "default" 0.0;
655 align: 1.0 0.5;
656 }
657 }
658 part { name: "icn";
659 description { state: "default" 0.0;
660 image.normal: "icon_arrow_right.png";
661 }
662 description { state: "hidden" 0.0;
663 image.normal: "icon_arrow_left.png";
664 }
665 }
666 }
667 programs {
668 program { name: "hide1";
669 script {
670 new x, y, w, h;
671
672 custom_state(PART:"base", "default", 0.0);
673 set_state_val(PART:"base", STATE_REL1, 1.0, 0.0);
674 set_state_val(PART:"base", STATE_REL2, 2.0, 1.0);
675 get_geometry(PART:"efl.swallow.event", x, y, w, h);
676 set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
677 }
678 }
679 }
680}
681
682group { name: "efl/panel/top";
683 inherit: "efl/panel/left";
684 data.item: "version" "123";
685 parts {
686 part { name: "base";
687 description { state: "default" 0.0;
688 rel1.relative: 0.0 0.0;
689 rel1.to_x: "all";
690 rel1.to_y: "all";
691 rel1.offset: 0 0;
692 rel2.relative: 1.0 0.0;
693 rel2.to_x: "all";
694 rel2.to_y: "efl.swallow.event";
695 rel2.offset: -1 -4;
696 }
697 }
698 part { name: "efl.swallow.event";
699 description { state: "default" 0.0;
700 align: 0.5 1.0;
701 rel1.relative: 0.0 1.0;
702 rel2.relative: 1.0 1.0;
703 }
704 description { state: "hidden" 0.0;
705 align: 0.5 0.0;
706 rel1.relative: 0.0 0.0;
707 rel2.relative: 1.0 0.0;
708 }
709 }
710 part { name: "dots";
711 description { state: "default" 0.0;
712 align: 0.5 0.0;
713 image.normal: "holes_tiny_glow_horiz.png";
714 FIXED_SIZE(17, 11)
715 }
716 }
717 part { name: "icn";
718 description { state: "default" 0.0;
719 image.normal: "icon_arrow_up.png";
720 }
721 description { state: "hidden" 0.0;
722 image.normal: "icon_arrow_down.png";
723 }
724 }
725 }
726 programs {
727 program { name: "hide1";
728 script {
729 new x, y, w, h;
730
731 custom_state(PART:"base", "default", 0.0);
732 set_state_val(PART:"base", STATE_REL1, 0.0, -1.0);
733 set_state_val(PART:"base", STATE_REL2, 1.0, 0.0);
734 get_geometry(PART:"efl.swallow.event", x, y, w, h);
735 set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h);
736 }
737 }
738 program {
739 signal: "efl,action,show"; source: "efl";
740 action: STATE_SET "default" 0.0;
741 target: "icn";
742 }
743 program {
744 signal: "edje,state,rtl";
745 source: "edje";
746 script {
747 new st[31];
748 new Float:vl;
749 get_state(PART:"efl.swallow.event", st, 30, vl);
750 if (!strcmp(st, "default"))
751 set_state(PART:"icn", "default", 0.0);
752 else
753 set_state(PART:"icn", "hidden", 0.0);
754 }
755 }
756 program {
757 signal: "edje,state,ltr";
758 source: "edje";
759 script {
760 new st[31];
761 new Float:vl;
762 get_state(PART:"efl.swallow.event", st, 30, vl);
763 if (!strcmp(st, "default"))
764 set_state(PART:"icn", "default", 0.0);
765 else
766 set_state(PART:"icn", "hidden", 0.0);
767 }
768 }
769 program {
770 signal: "efl,action,hide"; source: "efl";
771 action: STATE_SET "hidden" 0.0;
772 target: "icn";
773 } 252 }
774 } 253 }
775} 254}
776 255
777group { name: "efl/panel/bottom"; 256group { name: "efl/scroller/panel/bottom";
778 inherit: "efl/panel/top";
779 data.item: "version" "123"; 257 data.item: "version" "123";
780 parts { 258 parts {
781 part { name: "base"; 259 part { name: "efl.event_area"; type: SWALLOW;
782 description { state: "default" 0.0;
783 rel1.relative: 0.0 1.0;
784 rel1.to_x: "all";
785 rel1.to_y: "efl.swallow.event";
786 rel1.offset: 0 3;
787 rel2.relative: 1.0 1.0;
788 rel2.to_x: "all";
789 rel2.to_y: "all";
790 rel2.offset: -1 -1;
791 }
792 }
793 part { name: "efl.swallow.event";
794 description { state: "default" 0.0;
795 align: 0.5 0.0;
796 rel1.relative: 0.0 0.0;
797 rel2.relative: 1.0 0.0;
798 }
799 description { state: "hidden" 0.0;
800 align: 0.5 1.0;
801 rel1.relative: 0.0 1.0;
802 rel2.relative: 1.0 1.0;
803 }
804 }
805 part { name: "dots";
806 description { state: "default" 0.0;
807 align: 0.5 0.0;
808 image.normal: "holes_tiny_glow_horiz.png";
809 FIXED_SIZE(17, 11)
810 }
811 }
812 part { name: "icn";
813 description { state: "default" 0.0;
814 image.normal: "icon_arrow_down.png";
815 }
816 description { state: "hidden" 0.0;
817 image.normal: "icon_arrow_up.png";
818 }
819 }
820 }
821 programs {
822 program { name: "hide1";
823 script {
824 new x, y, w, h;
825 custom_state(PART:"base", "default", 0.0);
826 set_state_val(PART:"base", STATE_REL1, 0.0, 1.0);
827 set_state_val(PART:"base", STATE_REL2, 1.0, 2.0);
828 get_geometry(PART:"efl.swallow.event", x, y, w, h);
829 set_state_val(PART:"base", STATE_REL2_OFFSET, 0, -h);
830 }
831 }
832 }
833}
834
835#if 0
836group { name: "elm/scroller/panel/left/default";
837 parts {
838 part { name: "elm.panel_area";
839 type: SWALLOW;
840 description { state: "default" 0.0;
841 rel2.relative: 0.0 1.0;
842 align: 0.0 0.5;
843 fixed: 1 1;
844 visible: 0;
845 }
846 description { state: "visible" 0.0;
847 inherit: "default" 0.0;
848 visible: 1;
849 }
850 }
851 part { name: "elm.event_area";
852 type: SWALLOW;
853 description { state: "default" 0.0;
854 rel1 {
855 relative: 1.0 0.0;
856 to: "elm.panel_area";
857 }
858 rel2 {
859 relative: 1.0 1.0;
860 to: "elm.panel_area";
861 }
862 align: 0.0 0.5;
863 fixed: 1 1;
864 visible: 0;
865 }
866 description { state: "visible" 0.0;
867 inherit: "default" 0.0;
868 visible: 1;
869 }
870 }
871 part { name: "access.outline";
872 type: RECT;
873 repeat_events: 1;
874 description { state: "default" 0.0;
875 rel1.to: "elm.panel_area";
876 rel2.to: "elm.panel_area";
877 color: 0 0 0 0;
878 }
879 }
880 part { name: "bg";
881 type: RECT;
882 description { state: "default" 0.0;
883 rel1.to: "elm.panel_area";
884 rel2.to: "elm.panel_area";
885 color: 64 64 64 255;
886 visible: 0;
887 }
888 description { state: "visible" 0.0;
889 inherit: "default" 0.0;
890 visible: 1;
891 }
892 }
893 part { name: "elm.swallow.content";
894 type: SWALLOW;
895 description { state: "default" 0.0;
896 rel1.to: "elm.panel_area";
897 rel2.to: "elm.panel_area";
898 visible: 0;
899 }
900 description { state: "visible" 0.0;
901 inherit: "default" 0.0;
902 visible: 1;
903 }
904 }
905 }
906 programs {
907 program { name: "active";
908 signal: "elm,state,content,visible";
909 source: "elm";
910 action: STATE_SET "visible" 0.0;
911 target: "elm.panel_area";
912 target: "elm.event_area";
913 target: "bg";
914 target: "elm.swallow.content";
915 }
916 program { name: "inactive";
917 signal: "elm,state,content,hidden";
918 source: "elm";
919 action: STATE_SET "default" 0.0;
920 target: "elm.panel_area";
921 target: "elm.event_area";
922 target: "bg";
923 target: "elm.swallow.content";
924 }
925 }
926}
927
928group { name: "elm/scroller/panel/right/default";
929 parts {
930 part { name: "elm.event_area";
931 type: SWALLOW;
932 description { state: "default" 0.0;
933 rel2.relative: 0.0 1.0;
934 align: 0.0 0.5;
935 fixed: 1 1;
936 visible: 0;
937 }
938 description { state: "visible" 0.0;
939 inherit: "default" 0.0;
940 visible: 1;
941 }
942 }
943 part { name: "elm.panel_area";
944 type: SWALLOW;
945 description { state: "default" 0.0;
946 rel1 {
947 relative: 1.0 0.0;
948 to: "elm.event_area";
949 }
950 rel2 {
951 relative: 1.0 1.0;
952 to: "elm.event_area";
953 }
954 align: 0.0 0.5;
955 fixed: 1 1;
956 visible: 0;
957 }
958 description { state: "visible" 0.0;
959 inherit: "default" 0.0;
960 visible: 1;
961 }
962 }
963 part { name: "access.outline";
964 type: RECT;
965 repeat_events: 1;
966 description { state: "default" 0.0;
967 rel1.to: "elm.panel_area";
968 rel2.to: "elm.panel_area";
969 color: 0 0 0 0;
970 }
971 }
972 part { name: "bg";
973 type: RECT;
974 description { state: "default" 0.0;
975 rel1.to: "elm.panel_area";
976 rel2.to: "elm.panel_area";
977 color: 64 64 64 255;
978 visible: 0;
979 }
980 description { state: "visible" 0.0;
981 inherit: "default" 0.0;
982 visible: 1;
983 }
984 }
985 part { name: "elm.swallow.content";
986 type: SWALLOW;
987 description { state: "default" 0.0;
988 rel1.to: "elm.panel_area";
989 rel2.to: "elm.panel_area";
990 visible: 0;
991 }
992 description { state: "visible" 0.0;
993 inherit: "default" 0.0;
994 visible: 1;
995 }
996 }
997 }
998 programs {
999 program { name: "active";
1000 signal: "elm,state,content,visible";
1001 source: "elm";
1002 action: STATE_SET "visible" 0.0;
1003 target: "elm.panel_area";
1004 target: "elm.event_area";
1005 target: "bg";
1006 target: "elm.swallow.content";
1007 }
1008 program { name: "inactive";
1009 signal: "elm,state,content,hidden";
1010 source: "elm";
1011 action: STATE_SET "default" 0.0;
1012 target: "elm.panel_area";
1013 target: "elm.event_area";
1014 target: "bg";
1015 target: "elm.swallow.content";
1016 }
1017 }
1018}
1019
1020group { name: "elm/scroller/panel/top/default";
1021 parts {
1022 part { name: "elm.panel_area";
1023 type: SWALLOW;
1024 description { state: "default" 0.0; 260 description { state: "default" 0.0;
1025 rel2.relative: 1.0 0.0; 261 rel2.relative: 1.0 0.0;
1026 align: 0.5 0.0; 262 align: 0.5 0.0;
@@ -1032,100 +268,9 @@ group { name: "elm/scroller/panel/top/default";
1032 visible: 1; 268 visible: 1;
1033 } 269 }
1034 } 270 }
1035 part { name: "elm.event_area"; 271 part { name: "efl.panel_area"; type: SWALLOW;
1036 type: SWALLOW;
1037 description { state: "default" 0.0;
1038 rel1 {
1039 relative: 0.0 1.0;
1040 to: "elm.panel_area";
1041 }
1042 rel2 {
1043 relative: 1.0 1.0;
1044 to: "elm.panel_area";
1045 }
1046 align: 0.5 0.0;
1047 fixed: 1 1;
1048 visible: 0;
1049 }
1050 description { state: "visible" 0.0;
1051 inherit: "default" 0.0;
1052 visible: 1;
1053 }
1054 }
1055 part { name: "access.outline";
1056 type: RECT;
1057 repeat_events: 1;
1058 description { state: "default" 0.0;
1059 rel1.to: "elm.panel_area";
1060 rel2.to: "elm.panel_area";
1061 color: 0 0 0 0;
1062 }
1063 }
1064 part { name: "bg";
1065 type: RECT;
1066 description { state: "default" 0.0; 272 description { state: "default" 0.0;
1067 rel1.to: "elm.panel_area"; 273 rel.to: "efl.event_area";
1068 rel2.to: "elm.panel_area";
1069 color: 64 64 64 255;
1070 visible: 0;
1071 }
1072 description { state: "visible" 0.0;
1073 inherit: "default" 0.0;
1074 visible: 1;
1075 }
1076 }
1077 part { name: "elm.swallow.content";
1078 type: SWALLOW;
1079 description { state: "default" 0.0;
1080 rel1.to: "elm.panel_area";
1081 rel2.to: "elm.panel_area";
1082 visible: 0;
1083 }
1084 description { state: "visible" 0.0;
1085 inherit: "default" 0.0;
1086 visible: 1;
1087 }
1088 }
1089 }
1090 programs {
1091 program { name: "active";
1092 signal: "elm,state,content,visible";
1093 source: "elm";
1094 action: STATE_SET "visible" 0.0;
1095 target: "elm.panel_area";
1096 target: "elm.event_area";
1097 target: "bg";
1098 target: "elm.swallow.content";
1099 }
1100 program { name: "inactive";
1101 signal: "elm,state,content,hidden";
1102 source: "elm";
1103 action: STATE_SET "default" 0.0;
1104 target: "elm.panel_area";
1105 target: "elm.event_area";
1106 target: "bg";
1107 target: "elm.swallow.content";
1108 }
1109 }
1110}
1111
1112group { name: "elm/scroller/panel/bottom/default";
1113 parts {
1114 part { name: "elm.event_area"; type: SWALLOW;
1115 description { state: "default" 0.0;
1116 rel2.relative: 1.0 0.0;
1117 align: 0.5 0.0;
1118 fixed: 1 1;
1119 visible: 0;
1120 }
1121 description { state: "visible" 0.0;
1122 inherit: "default" 0.0;
1123 visible: 1;
1124 }
1125 }
1126 part { name: "elm.panel_area"; type: SWALLOW;
1127 description { state: "default" 0.0;
1128 rel.to: "elm.event_area";
1129 rel1.relative: 0.0 1.0; 274 rel1.relative: 0.0 1.0;
1130 rel2.relative: 1.0 1.0; 275 rel2.relative: 1.0 1.0;
1131 align: 0.5 0.0; 276 align: 0.5 0.0;
@@ -1139,13 +284,13 @@ group { name: "elm/scroller/panel/bottom/default";
1139 } 284 }
1140 part { name: "access.outline"; type: RECT; repeat_events: 1; 285 part { name: "access.outline"; type: RECT; repeat_events: 1;
1141 description { state: "default" 0.0; 286 description { state: "default" 0.0;
1142 rel.to: "elm.panel_area"; 287 rel.to: "efl.panel_area";
1143 color: 0 0 0 0; 288 color: 0 0 0 0;
1144 } 289 }
1145 } 290 }
1146 part { name: "bg"; type: RECT; 291 part { name: "bg"; type: RECT;
1147 description { state: "default" 0.0; 292 description { state: "default" 0.0;
1148 rel.to: "elm.panel_area"; 293 rel.to: "efl.panel_area";
1149 color: 64 64 64 255; 294 color: 64 64 64 255;
1150 visible: 0; 295 visible: 0;
1151 } 296 }
@@ -1154,9 +299,9 @@ group { name: "elm/scroller/panel/bottom/default";
1154 visible: 1; 299 visible: 1;
1155 } 300 }
1156 } 301 }
1157 part { name: "elm.swallow.content"; type: SWALLOW; 302 part { name: "efl.swallow.content"; type: SWALLOW;
1158 description { state: "default" 0.0; 303 description { state: "default" 0.0;
1159 rel.to: "elm.panel_area"; 304 rel.to: "efl.panel_area";
1160 visible: 0; 305 visible: 0;
1161 } 306 }
1162 description { state: "visible" 0.0; 307 description { state: "visible" 0.0;
@@ -1166,24 +311,25 @@ group { name: "elm/scroller/panel/bottom/default";
1166 } 311 }
1167 } 312 }
1168 programs { 313 programs {
1169 program { signal: "elm,state,content,visible"; source: "elm"; 314 program { signal: "efl,state,content,visible"; source: "efl";
1170 action: STATE_SET "visible" 0.0; 315 action: STATE_SET "visible" 0.0;
1171 target: "elm.panel_area"; 316 target: "efl.panel_area";
1172 target: "elm.event_area"; 317 target: "efl.event_area";
1173 target: "bg"; 318 target: "bg";
1174 target: "elm.swallow.content"; 319 target: "efl.swallow.content";
1175 } 320 }
1176 program { signal: "elm,state,content,hidden"; source: "elm"; 321 program { signal: "efl,state,content,hidden"; source: "efl";
1177 action: STATE_SET "default" 0.0; 322 action: STATE_SET "default" 0.0;
1178 target: "elm.panel_area"; 323 target: "efl.panel_area";
1179 target: "elm.event_area"; 324 target: "efl.event_area";
1180 target: "bg"; 325 target: "bg";
1181 target: "elm.swallow.content"; 326 target: "efl.swallow.content";
1182 } 327 }
1183 } 328 }
1184} 329}
1185 330
1186group { name: "elm/panel/left/default"; 331group { name: "efl/panel/left";
332 data.item: "version" "123";
1187 data.item: "focus_highlight" "on"; 333 data.item: "focus_highlight" "on";
1188 script { 334 script {
1189 public is_rtl = 0; 335 public is_rtl = 0;
@@ -1218,12 +364,12 @@ group { name: "elm/panel/left/default";
1218 part { name: "base"; type: RECT; 364 part { name: "base"; type: RECT;
1219 description { state: "default" 0.0; 365 description { state: "default" 0.0;
1220 rel1.to_x: "all"; 366 rel1.to_x: "all";
1221 rel2.to_x: "elm.swallow.event"; 367 rel2.to_x: "efl.swallow.event";
1222 rel2.relative: 0.0 1.0; 368 rel2.relative: 0.0 1.0;
1223 color: 64 64 64 255; 369 color: 64 64 64 255;
1224 } 370 }
1225 } 371 }
1226 part { name: "elm.swallow.content"; type: SWALLOW; 372 part { name: "efl.content"; type: SWALLOW;
1227 scale: 1; 373 scale: 1;
1228 description { state: "default" 0.0; 374 description { state: "default" 0.0;
1229 rel.to: "base"; 375 rel.to: "base";
@@ -1232,7 +378,7 @@ group { name: "elm/panel/left/default";
1232 offscale; 378 offscale;
1233 } 379 }
1234 } 380 }
1235 part { name: "elm.swallow.event"; type: SWALLOW; 381 part { name: "efl.swallow.event"; type: SWALLOW;
1236 scale: 1; 382 scale: 1;
1237 description { state: "default" 0.0; 383 description { state: "default" 0.0;
1238 fixed: 1 1; 384 fixed: 1 1;
@@ -1251,11 +397,11 @@ group { name: "elm/panel/left/default";
1251 } 397 }
1252 part { name: "btn"; type: RECT; 398 part { name: "btn"; type: RECT;
1253 description { state: "default" 0.0; 399 description { state: "default" 0.0;
1254 rel.to: "elm.swallow.event"; 400 rel.to: "efl.swallow.event";
1255 color: 0 0 0 0; 401 color: 0 0 0 0;
1256 } 402 }
1257 description { state: "hidden" 0.0; 403 description { state: "hidden" 0.0;
1258 rel.to: "elm.swallow.event"; 404 rel.to: "efl.swallow.event";
1259 } 405 }
1260 } 406 }
1261 part { name: "icn"; mouse_events: 0; 407 part { name: "icn"; mouse_events: 0;
@@ -1274,28 +420,15 @@ group { name: "elm/panel/left/default";
1274 } 420 }
1275 programs { 421 programs {
1276 program { signal: "mouse,clicked,1"; source: "btn"; 422 program { signal: "mouse,clicked,1"; source: "btn";
1277 action: SIGNAL_EMIT "elm,action,panel,toggle" "elm"; 423 action: SIGNAL_EMIT "efl,action,panel,toggle" "efl";
1278 } 424 }
1279 program { signal: "elm,action,show"; source: "elm"; 425 program { signal: "efl,action,show"; source: "efl";
1280 action: STATE_SET "default" 0.0; 426 action: STATE_SET "default" 0.0;
1281 transition: DECELERATE 0.2; 427 transition: DECELERATE 0.2;
1282 target: "elm.swallow.event"; 428 target: "efl.swallow.event";
1283 target: "base";
1284 }
1285 program { signal: "elm,action,show"; source: "elm";
1286 script {
1287 if (get_int(is_rtl) == 0)
1288 set_state(PART:"icn", "default", 0.0);
1289 else
1290 set_state(PART:"icn", "hidden", 0.0);
1291 }
1292 }
1293 program { signal: "elm,action,show,no_animate"; source: "elm";
1294 action: STATE_SET "default" 0.0;
1295 target: "elm.swallow.event";
1296 target: "base"; 429 target: "base";
1297 } 430 }
1298 program { signal: "elm,action,show,no_animate"; source: "elm"; 431 program { signal: "efl,action,show"; source: "efl";
1299 script { 432 script {
1300 if (get_int(is_rtl) == 0) 433 if (get_int(is_rtl) == 0)
1301 set_state(PART:"icn", "default", 0.0); 434 set_state(PART:"icn", "default", 0.0);
@@ -1307,7 +440,7 @@ group { name: "elm/panel/left/default";
1307 script { 440 script {
1308 new st[31]; 441 new st[31];
1309 new Float:vl; 442 new Float:vl;
1310 get_state(PART:"elm.swallow.event", st, 30, vl); 443 get_state(PART:"efl.swallow.event", st, 30, vl);
1311 if (!strcmp(st, "default")) 444 if (!strcmp(st, "default"))
1312 set_state(PART:"icn", "hidden", 0.0); 445 set_state(PART:"icn", "hidden", 0.0);
1313 else 446 else
@@ -1319,7 +452,7 @@ group { name: "elm/panel/left/default";
1319 script { 452 script {
1320 new st[31]; 453 new st[31];
1321 new Float:vl; 454 new Float:vl;
1322 get_state(PART:"elm.swallow.event", st, 30, vl); 455 get_state(PART:"efl.swallow.event", st, 30, vl);
1323 if (!strcmp(st, "default")) 456 if (!strcmp(st, "default"))
1324 set_state(PART:"icn", "default", 0.0); 457 set_state(PART:"icn", "default", 0.0);
1325 else 458 else
@@ -1327,12 +460,12 @@ group { name: "elm/panel/left/default";
1327 set_int(is_rtl, 0); 460 set_int(is_rtl, 0);
1328 } 461 }
1329 } 462 }
1330 program { signal: "elm,action,hide"; source: "elm"; 463 program { signal: "efl,action,hide"; source: "efl";
1331 action: STATE_SET "hidden" 0.0; 464 action: STATE_SET "hidden" 0.0;
1332 transition: ACCELERATE 0.2; 465 transition: ACCELERATE 0.2;
1333 target: "elm.swallow.event"; 466 target: "efl.swallow.event";
1334 } 467 }
1335 program { signal: "elm,action,hide"; source: "elm"; 468 program { signal: "efl,action,hide"; source: "efl";
1336 script { 469 script {
1337 if (get_int(is_rtl) == 0) 470 if (get_int(is_rtl) == 0)
1338 set_state(PART:"icn", "hidden", 0.0); 471 set_state(PART:"icn", "hidden", 0.0);
@@ -1341,19 +474,19 @@ group { name: "elm/panel/left/default";
1341 } 474 }
1342 } 475 }
1343 program { name: "hide1"; 476 program { name: "hide1";
1344 signal: "elm,action,hide"; source: "elm"; 477 signal: "efl,action,hide"; source: "efl";
1345 script { 478 script {
1346 new x, y, w, h; 479 new x, y, w, h;
1347 if (get_int(is_rtl) == 0) { 480 if (get_int(is_rtl) == 0) {
1348 custom_state(PART:"base", "default", 0.0); 481 custom_state(PART:"base", "default", 0.0);
1349 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0); 482 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
1350 get_geometry(PART:"elm.swallow.event", x, y, w, h); 483 get_geometry(PART:"efl.swallow.event", x, y, w, h);
1351 set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0); 484 set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
1352 } else { 485 } else {
1353 custom_state(PART:"base", "default", 0.0); 486 custom_state(PART:"base", "default", 0.0);
1354 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0); 487 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
1355 set_state_val(PART:"base", STATE_REL2, -2.0, 1.0); 488 set_state_val(PART:"base", STATE_REL2, -2.0, 1.0);
1356 get_geometry(PART:"elm.swallow.event", x, y, w, h); 489 get_geometry(PART:"efl.swallow.event", x, y, w, h);
1357 set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0); 490 set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
1358 } 491 }
1359 } 492 }
@@ -1364,47 +497,12 @@ group { name: "elm/panel/left/default";
1364 transition: ACCELERATE 0.3; 497 transition: ACCELERATE 0.3;
1365 target: "base"; 498 target: "base";
1366 } 499 }
1367 program { signal: "elm,action,hide,no_animate"; source: "elm"; 500 program { signal: "efl,action,focus_highlight,show"; source: "efl";
1368 action: STATE_SET "hidden" 0.0;
1369 target: "elm.swallow.event";
1370 }
1371 program { signal: "elm,action,hide,no_animate"; source: "elm";
1372 script {
1373 if (get_int(is_rtl) == 0)
1374 set_state(PART:"icn", "hidden", 0.0);
1375 else
1376 set_state(PART:"icn", "default", 0.0);
1377 }
1378 }
1379 program { name: "hide1_no_animate";
1380 signal: "elm,action,hide,no_animate"; source: "elm";
1381 script {
1382 new x, y, w, h;
1383 if (get_int(is_rtl) == 0) {
1384 custom_state(PART:"base", "default", 0.0);
1385 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
1386 get_geometry(PART:"elm.swallow.event", x, y, w, h);
1387 set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
1388 } else {
1389 custom_state(PART:"base", "default", 0.0);
1390 set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
1391 set_state_val(PART:"base", STATE_REL2, -2.0, 1.0);
1392 get_geometry(PART:"elm.swallow.event", x, y, w, h);
1393 set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
1394 }
1395 }
1396 after: "hide2_no_animate";
1397 }
1398 program { name: "hide2_no_animate";
1399 action: STATE_SET "custom" 0.0;
1400 target: "base";
1401 }
1402 program { signal: "elm,action,focus_highlight,show"; source: "elm";
1403 action: STATE_SET "focused" 0.0; 501 action: STATE_SET "focused" 0.0;
1404 transition: ACCELERATE 0.2; 502 transition: ACCELERATE 0.2;
1405 target: "glow"; 503 target: "glow";
1406 } 504 }
1407 program { signal: "elm,action,focus_highlight,hide"; source: "elm"; 505 program { signal: "efl,action,focus_highlight,hide"; source: "efl";
1408 action: STATE_SET "default" 0.0; 506 action: STATE_SET "default" 0.0;
1409 transition: DECELERATE 0.5; 507 transition: DECELERATE 0.5;
1410 target: "glow"; 508 target: "glow";
@@ -1412,20 +510,21 @@ group { name: "elm/panel/left/default";
1412 } 510 }
1413} 511}
1414 512
1415group { name: "elm/panel/right/default"; 513group { name: "efl/panel/right";
1416 inherit: "elm/panel/left/default"; 514 data.item: "version" "123";
515 inherit: "efl/panel/left";
1417 parts { 516 parts {
1418 part { name: "base"; 517 part { name: "base";
1419 description { state: "default" 0.0; 518 description { state: "default" 0.0;
1420 rel1.relative: 1.0 0.0; 519 rel1.relative: 1.0 0.0;
1421 rel1.to_x: "elm.swallow.event"; 520 rel1.to_x: "efl.swallow.event";
1422 rel1.offset: 3 0; 521 rel1.offset: 3 0;
1423 rel2.relative: 1.0 1.0; 522 rel2.relative: 1.0 1.0;
1424 rel2.to_x: "all"; 523 rel2.to_x: "all";
1425 rel2.offset: -1 -1; 524 rel2.offset: -1 -1;
1426 } 525 }
1427 } 526 }
1428 part { name: "elm.swallow.event"; 527 part { name: "efl.swallow.event";
1429 description { state: "default" 0.0; 528 description { state: "default" 0.0;
1430 align: 0.0 0.5; 529 align: 0.0 0.5;
1431 rel1.relative: 0.0 0.0; 530 rel1.relative: 0.0 0.0;
@@ -1454,15 +553,16 @@ group { name: "elm/panel/right/default";
1454 custom_state(PART:"base", "default", 0.0); 553 custom_state(PART:"base", "default", 0.0);
1455 set_state_val(PART:"base", STATE_REL1, 1.0, 0.0); 554 set_state_val(PART:"base", STATE_REL1, 1.0, 0.0);
1456 set_state_val(PART:"base", STATE_REL2, 2.0, 1.0); 555 set_state_val(PART:"base", STATE_REL2, 2.0, 1.0);
1457 get_geometry(PART:"elm.swallow.event", x, y, w, h); 556 get_geometry(PART:"efl.swallow.event", x, y, w, h);
1458 set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0); 557 set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
1459 } 558 }
1460 } 559 }
1461 } 560 }
1462} 561}
1463 562
1464group { name: "elm/panel/top/default"; 563group { name: "efl/panel/top";
1465 inherit: "elm/panel/left/default"; 564 data.item: "version" "123";
565 inherit: "efl/panel/left";
1466 parts { 566 parts {
1467 part { name: "base"; 567 part { name: "base";
1468 description { state: "default" 0.0; 568 description { state: "default" 0.0;
@@ -1471,10 +571,10 @@ group { name: "elm/panel/top/default";
1471 rel1.to_y: "all"; 571 rel1.to_y: "all";
1472 rel2.relative: 1.0 0.0; 572 rel2.relative: 1.0 0.0;
1473 rel2.to_x: "all"; 573 rel2.to_x: "all";
1474 rel2.to_y: "elm.swallow.event"; 574 rel2.to_y: "efl.swallow.event";
1475 } 575 }
1476 } 576 }
1477 part { name: "elm.swallow.event"; 577 part { name: "efl.swallow.event";
1478 description { state: "default" 0.0; 578 description { state: "default" 0.0;
1479 min: 30 30; max: 999999 30; 579 min: 30 30; max: 999999 30;
1480 align: 0.5 1.0; 580 align: 0.5 1.0;
@@ -1503,63 +603,58 @@ group { name: "elm/panel/top/default";
1503 custom_state(PART:"base", "default", 0.0); 603 custom_state(PART:"base", "default", 0.0);
1504 set_state_val(PART:"base", STATE_REL1, 0.0, -1.0); 604 set_state_val(PART:"base", STATE_REL1, 0.0, -1.0);
1505 set_state_val(PART:"base", STATE_REL2, 1.0, 0.0); 605 set_state_val(PART:"base", STATE_REL2, 1.0, 0.0);
1506 get_geometry(PART:"elm.swallow.event", x, y, w, h); 606 get_geometry(PART:"efl.swallow.event", x, y, w, h);
1507 set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h); 607 set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h);
1508 } 608 }
1509 } 609 }
1510 program { 610 program { signal: "efl,action,show"; source: "efl";
1511 signal: "elm,action,show"; source: "elm";
1512 action: STATE_SET "default" 0.0; 611 action: STATE_SET "default" 0.0;
1513 target: "icn"; 612 target: "icn";
1514 } 613 }
1515 program { 614 program { signal: "edje,state,rtl"; source: "edje";
1516 signal: "edje,state,rtl";
1517 source: "edje";
1518 script { 615 script {
1519 new st[31]; 616 new st[31];
1520 new Float:vl; 617 new Float:vl;
1521 get_state(PART:"elm.swallow.event", st, 30, vl); 618 get_state(PART:"efl.swallow.event", st, 30, vl);
1522 if (!strcmp(st, "default")) 619 if (!strcmp(st, "default"))
1523 set_state(PART:"icn", "default", 0.0); 620 set_state(PART:"icn", "default", 0.0);
1524 else 621 else
1525 set_state(PART:"icn", "hidden", 0.0); 622 set_state(PART:"icn", "hidden", 0.0);
1526 } 623 }
1527 } 624 }
1528 program { 625 program { signal: "edje,state,ltr"; source: "edje";
1529 signal: "edje,state,ltr";
1530 source: "edje";
1531 script { 626 script {
1532 new st[31]; 627 new st[31];
1533 new Float:vl; 628 new Float:vl;
1534 get_state(PART:"elm.swallow.event", st, 30, vl); 629 get_state(PART:"efl.swallow.event", st, 30, vl);
1535 if (!strcmp(st, "default")) 630 if (!strcmp(st, "default"))
1536 set_state(PART:"icn", "default", 0.0); 631 set_state(PART:"icn", "default", 0.0);
1537 else 632 else
1538 set_state(PART:"icn", "hidden", 0.0); 633 set_state(PART:"icn", "hidden", 0.0);
1539 } 634 }
1540 } 635 }
1541 program { 636 program { signal: "efl,action,hide"; source: "efl";
1542 signal: "elm,action,hide"; source: "elm";
1543 action: STATE_SET "hidden" 0.0; 637 action: STATE_SET "hidden" 0.0;
1544 target: "icn"; 638 target: "icn";
1545 } 639 }
1546 } 640 }
1547} 641}
1548 642
1549group { name: "elm/panel/bottom/default"; 643group { name: "efl/panel/bottom";
1550 inherit: "elm/panel/top/default"; 644 data.item: "version" "123";
645 inherit: "efl/panel/top";
1551 parts { 646 parts {
1552 part { name: "base"; 647 part { name: "base";
1553 description { state: "default" 0.0; 648 description { state: "default" 0.0;
1554 rel1.relative: 0.0 1.0; 649 rel1.relative: 0.0 1.0;
1555 rel1.to_x: "all"; 650 rel1.to_x: "all";
1556 rel1.to_y: "elm.swallow.event"; 651 rel1.to_y: "efl.swallow.event";
1557 rel2.relative: 1.0 1.0; 652 rel2.relative: 1.0 1.0;
1558 rel2.to_x: "all"; 653 rel2.to_x: "all";
1559 rel2.to_y: "all"; 654 rel2.to_y: "all";
1560 } 655 }
1561 } 656 }
1562 part { name: "elm.swallow.event"; 657 part { name: "efl.swallow.event";
1563 description { state: "default" 0.0; 658 description { state: "default" 0.0;
1564 align: 0.5 0.0; 659 align: 0.5 0.0;
1565 rel1.relative: 0.0 0.0; 660 rel1.relative: 0.0 0.0;
@@ -1587,10 +682,10 @@ group { name: "elm/panel/bottom/default";
1587 custom_state(PART:"base", "default", 0.0); 682 custom_state(PART:"base", "default", 0.0);
1588 set_state_val(PART:"base", STATE_REL1, 0.0, 1.0); 683 set_state_val(PART:"base", STATE_REL1, 0.0, 1.0);
1589 set_state_val(PART:"base", STATE_REL2, 1.0, 2.0); 684 set_state_val(PART:"base", STATE_REL2, 1.0, 2.0);
1590 get_geometry(PART:"elm.swallow.event", x, y, w, h); 685 get_geometry(PART:"efl.swallow.event", x, y, w, h);
1591 set_state_val(PART:"base", STATE_REL2_OFFSET, 0, -h); 686 set_state_val(PART:"base", STATE_REL2_OFFSET, 0, -h);
1592 } 687 }
1593 } 688 }
1594 } 689 }
1595} 690}
1596#endif 691