summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-11-19 03:22:06 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-11-19 03:22:06 +0000
commit37d0816348c2baa3d4b345dad6980b09003a1dd1 (patch)
tree9c41e4f3b46abac23883471e78818b007c40c09d /data
parentb0a324b5ee6da2d6165a77ac52d9c9bb0837083a (diff)
i'm not happy with this slider... but it'll do for now.
SVN revision: 18531
Diffstat (limited to 'data')
-rw-r--r--data/themes/default_slider.edc279
-rw-r--r--data/themes/images/Makefile.am5
-rw-r--r--data/themes/images/e17_slider_bt0.pngbin0 -> 1234 bytes
-rw-r--r--data/themes/images/e17_slider_bt1.pngbin0 -> 1174 bytes
-rw-r--r--data/themes/images/e17_slider_bt_glow.pngbin0 -> 2036 bytes
5 files changed, 207 insertions, 77 deletions
diff --git a/data/themes/default_slider.edc b/data/themes/default_slider.edc
index cd1f206ad..26e86726a 100644
--- a/data/themes/default_slider.edc
+++ b/data/themes/default_slider.edc
@@ -1,8 +1,7 @@
1images { 1images {
2 image: "e17_sb_barh1.png" COMP; 2 image: "e17_slider_bt0.png" COMP;
3 image: "e17_sb_barh2.png" COMP; 3 image: "e17_slider_bt1.png" COMP;
4 image: "e17_sb_barv1.png" COMP; 4 image: "e17_slider_bt_glow.png" COMP;
5 image: "e17_sb_barv2.png" COMP;
6 image: "e17_sb_runnerh.png" COMP; 5 image: "e17_sb_runnerh.png" COMP;
7 image: "e17_sb_runnerv.png" COMP; 6 image: "e17_sb_runnerv.png" COMP;
8 image: "focus.png" COMP; 7 image: "focus.png" COMP;
@@ -14,7 +13,7 @@ group {
14 name: "widgets/slider_vertical"; 13 name: "widgets/slider_vertical";
15 parts { 14 parts {
16 part { 15 part {
17 name: "sb_vbar"; 16 name: "sld";
18 type: RECT; 17 type: RECT;
19 mouse_events: 0; 18 mouse_events: 0;
20 description { 19 description {
@@ -23,9 +22,9 @@ group {
23 } 22 }
24 } 23 }
25 part { 24 part {
26 name: "sb_vbar_base"; 25 name: "sld_base";
27 type: RECT; 26 type: RECT;
28 clip_to: "sb_vbar"; 27 clip_to: "sld";
29 mouse_events: 1; 28 mouse_events: 1;
30 description { 29 description {
31 state: "default" 0.0; 30 state: "default" 0.0;
@@ -42,17 +41,17 @@ group {
42 } 41 }
43 } 42 }
44 part { 43 part {
45 name: "sb_vbar_runner"; 44 name: "sld_runner";
46 clip_to: "sb_vbar"; 45 clip_to: "sld";
47 mouse_events: 0; 46 mouse_events: 0;
48 description { 47 description {
49 state: "default" 0.0; 48 state: "default" 0.0;
50 max: 2 99999; 49 max: 2 99999;
51 rel1 { 50 rel1 {
52 to: "sb_vbar_base"; 51 to: "sld_base";
53 } 52 }
54 rel2 { 53 rel2 {
55 to: "sb_vbar_base"; 54 to: "sld_base";
56 } 55 }
57 image { 56 image {
58 normal: "e17_sb_runnerv.png"; 57 normal: "e17_sb_runnerv.png";
@@ -155,9 +154,9 @@ group {
155 } 154 }
156 } 155 }
157 part { 156 part {
158 name: "sb_vbar_p1"; 157 name: "sld_p1";
159 type: RECT; 158 type: RECT;
160 clip_to: "sb_vbar"; 159 clip_to: "sld";
161 mouse_events: 1; 160 mouse_events: 1;
162 description { 161 description {
163 state: "default" 0.0; 162 state: "default" 0.0;
@@ -170,9 +169,9 @@ group {
170 } 169 }
171 } 170 }
172 part { 171 part {
173 name: "sb_vbar_p2"; 172 name: "sld_p2";
174 type: RECT; 173 type: RECT;
175 clip_to: "sb_vbar"; 174 clip_to: "sld";
176 mouse_events: 1; 175 mouse_events: 1;
177 description { 176 description {
178 state: "default" 0.0; 177 state: "default" 0.0;
@@ -186,12 +185,12 @@ group {
186 } 185 }
187 part { 186 part {
188 name: "slider"; 187 name: "slider";
189 clip_to: "sb_vbar"; 188 type: RECT;
190 mouse_events: 1; 189 mouse_events: 1;
191 dragable { 190 dragable {
192 x: 0 0 0; 191 x: 0 0 0;
193 y: 1 1 0; 192 y: 1 1 0;
194 confine: "sb_vbar_base"; 193 confine: "sld_base";
195 } 194 }
196 description { 195 description {
197 state: "default" 0.0; 196 state: "default" 0.0;
@@ -200,24 +199,14 @@ group {
200 rel1 { 199 rel1 {
201 relative: 0.5 0.5; 200 relative: 0.5 0.5;
202 offset: 0 0; 201 offset: 0 0;
203 to: "sb_vbar_base"; 202 to: "sld_base";
204 } 203 }
205 rel2 { 204 rel2 {
206 relative: 0.5 0.5; 205 relative: 0.5 0.5;
207 offset: 0 0; 206 offset: 0 0;
208 to: "sb_vbar_base"; 207 to: "sld_base";
209 }
210 image {
211 normal: "e17_sb_barv1.png";
212 border: 5 5 5 5;
213 }
214 }
215 description {
216 state: "clicked" 0.0;
217 inherit: "default" 0.0;
218 image {
219 normal: "e17_sb_barv2.png";
220 } 208 }
209 color: 0 0 0 0;
221 } 210 }
222 } 211 }
223 part { 212 part {
@@ -243,35 +232,108 @@ group {
243 color: 255 255 255 255; 232 color: 255 255 255 255;
244 } 233 }
245 } 234 }
235 part {
236 name: "slider_img";
237 mouse_events: 0;
238 description {
239 state: "default" 0.0;
240 min: 32 32;
241 fixed: 1 1;
242 rel1 {
243 to: "slider";
244 }
245 rel2 {
246 to: "slider";
247 }
248 image {
249 normal: "e17_slider_bt0.png";
250 }
251 }
252 description {
253 state: "clicked" 0.0;
254 inherit: "default" 0.0;
255 image {
256 normal: "e17_slider_bt1.png";
257 }
258 }
259 }
260 part {
261 name: "slider_glow";
262 mouse_events: 0;
263 description {
264 state: "default" 0.0;
265 min: 32 32;
266 fixed: 1 1;
267 rel1 {
268 to: "slider_img";
269 }
270 rel2 {
271 to: "slider_img";
272 }
273 image {
274 normal: "e17_slider_bt_glow.png";
275 }
276 color: 255 255 255 0;
277 }
278 description {
279 state: "visible" 0.0;
280 inherit: "default" 0.0;
281 color: 255 255 255 255;
282 }
283 }
246 } 284 }
247 programs { 285 programs {
248 program { 286 program {
249 name: "sb_vbar_p1_down"; 287 name: "sld_p1_down";
250 signal: "mouse,down,1"; 288 signal: "mouse,down,1";
251 source: "sb_vbar_p1"; 289 source: "sld_p1";
252 action: DRAG_VAL_PAGE 0.0 -1.0; 290 action: DRAG_VAL_PAGE 0.0 -1.0;
253 target: "slider"; 291 target: "slider";
254 } 292 }
255 program { 293 program {
256 name: "sb_vbar_p2_down"; 294 name: "sld_p2_down";
257 signal: "mouse,down,1"; 295 signal: "mouse,down,1";
258 source: "sb_vbar_p2"; 296 source: "sld_p2";
259 action: DRAG_VAL_PAGE 0.0 1.0; 297 action: DRAG_VAL_PAGE 0.0 1.0;
260 target: "slider"; 298 target: "slider";
261 } 299 }
262 program { 300 program {
263 name: "sb_vbar_down"; 301 name: "sld_down";
264 signal: "mouse,down,1"; 302 signal: "mouse,down,1";
265 source: "slider"; 303 source: "slider";
266 action: STATE_SET "clicked" 0.0; 304 action: STATE_SET "clicked" 0.0;
267 target: "slider"; 305 target: "slider_img";
268 } 306 }
269 program { 307 program {
270 name: "sb_vbar_up"; 308 name: "sld_up";
271 signal: "mouse,up,1"; 309 signal: "mouse,up,1";
272 source: "slider"; 310 source: "slider";
273 action: STATE_SET "default" 0.0; 311 action: STATE_SET "default" 0.0;
274 target: "slider"; 312 target: "slider_img";
313 }
314 program {
315 name: "sld_in";
316 signal: "mouse,in";
317 source: "slider";
318 action: STATE_SET "visible" 0.0;
319 transition: SINUSOIDAL 1.0;
320 target: "slider_glow";
321 after: "sld_in2";
322 }
323 program {
324 name: "sld_in2";
325 action: STATE_SET "default" 0.0;
326 transition: SINUSOIDAL 1.0;
327 target: "slider_glow";
328 after: "sld_in";
329 }
330 program {
331 name: "sld_out";
332 signal: "mouse,out";
333 source: "slider";
334 action: STATE_SET "default" 0.0;
335 transition: SINUSOIDAL 1.0;
336 target: "slider_glow";
275 } 337 }
276 program { 338 program {
277 name: "focus_in"; 339 name: "focus_in";
@@ -294,7 +356,7 @@ group {
294 signal: "show_label"; 356 signal: "show_label";
295 source: ""; 357 source: "";
296 action: STATE_SET "active" 0.0; 358 action: STATE_SET "active" 0.0;
297 target: "sb_vbar_base"; 359 target: "sld_base";
298 target: "label_under"; 360 target: "label_under";
299 target: "label"; 361 target: "label";
300 target: "label_over"; 362 target: "label_over";
@@ -304,18 +366,19 @@ group {
304 signal: "hide_label"; 366 signal: "hide_label";
305 source: ""; 367 source: "";
306 action: STATE_SET "default" 0.0; 368 action: STATE_SET "default" 0.0;
307 target: "sb_vbar_base"; 369 target: "sld_base";
308 target: "label_under"; 370 target: "label_under";
309 target: "label"; 371 target: "label";
310 target: "label_over"; 372 target: "label_over";
311 } 373 }
312 } 374 }
313} 375}
376
314group { 377group {
315 name: "widgets/slider_horizontal"; 378 name: "widgets/slider_horizontal";
316 parts { 379 parts {
317 part { 380 part {
318 name: "sb_hbar"; 381 name: "sld";
319 type: RECT; 382 type: RECT;
320 mouse_events: 0; 383 mouse_events: 0;
321 description { 384 description {
@@ -324,9 +387,9 @@ group {
324 } 387 }
325 } 388 }
326 part { 389 part {
327 name: "sb_hbar_base"; 390 name: "sld_base";
328 type: RECT; 391 type: RECT;
329 clip_to: "sb_hbar"; 392 clip_to: "sld";
330 mouse_events: 1; 393 mouse_events: 1;
331 description { 394 description {
332 state: "default" 0.0; 395 state: "default" 0.0;
@@ -343,17 +406,17 @@ group {
343 } 406 }
344 } 407 }
345 part { 408 part {
346 name: "sb_hbar_runner"; 409 name: "sld_runner";
347 clip_to: "sb_hbar"; 410 clip_to: "sld";
348 mouse_events: 0; 411 mouse_events: 0;
349 description { 412 description {
350 state: "default" 0.0; 413 state: "default" 0.0;
351 max: 99999 2; 414 max: 99999 2;
352 rel1 { 415 rel1 {
353 to: "sb_hbar_base"; 416 to: "sld_base";
354 } 417 }
355 rel2 { 418 rel2 {
356 to: "sb_hbar_base"; 419 to: "sld_base";
357 } 420 }
358 image { 421 image {
359 normal: "e17_sb_runnerh.png"; 422 normal: "e17_sb_runnerh.png";
@@ -456,9 +519,9 @@ group {
456 } 519 }
457 } 520 }
458 part { 521 part {
459 name: "sb_hbar_p1"; 522 name: "sld_p1";
460 type: RECT; 523 type: RECT;
461 clip_to: "sb_hbar"; 524 clip_to: "sld";
462 mouse_events: 1; 525 mouse_events: 1;
463 description { 526 description {
464 state: "default" 0.0; 527 state: "default" 0.0;
@@ -471,9 +534,9 @@ group {
471 } 534 }
472 } 535 }
473 part { 536 part {
474 name: "sb_hbar_p2"; 537 name: "sld_p2";
475 type: RECT; 538 type: RECT;
476 clip_to: "sb_hbar"; 539 clip_to: "sld";
477 mouse_events: 1; 540 mouse_events: 1;
478 description { 541 description {
479 state: "default" 0.0; 542 state: "default" 0.0;
@@ -487,12 +550,13 @@ group {
487 } 550 }
488 part { 551 part {
489 name: "slider"; 552 name: "slider";
490 clip_to: "sb_hbar"; 553 type: RECT;
554 clip_to: "sld";
491 mouse_events: 1; 555 mouse_events: 1;
492 dragable { 556 dragable {
493 x: 1 1 0; 557 x: 1 1 0;
494 y: 0 0 0; 558 y: 0 0 0;
495 confine: "sb_hbar_base"; 559 confine: "sld_base";
496 } 560 }
497 description { 561 description {
498 state: "default" 0.0; 562 state: "default" 0.0;
@@ -501,24 +565,14 @@ group {
501 rel1 { 565 rel1 {
502 relative: 0.5 0.5; 566 relative: 0.5 0.5;
503 offset: 0 0; 567 offset: 0 0;
504 to: "sb_hbar_base"; 568 to: "sld_base";
505 } 569 }
506 rel2 { 570 rel2 {
507 relative: 0.5 0.5; 571 relative: 0.5 0.5;
508 offset: 0 0; 572 offset: 0 0;
509 to: "sb_hbar_base"; 573 to: "sld_base";
510 }
511 image {
512 normal: "e17_sb_barh1.png";
513 border: 5 5 5 5;
514 }
515 }
516 description {
517 state: "clicked" 0.0;
518 inherit: "default" 0.0;
519 image {
520 normal: "e17_sb_barh2.png";
521 } 574 }
575 color: 0 0 0 0;
522 } 576 }
523 } 577 }
524 part { 578 part {
@@ -544,35 +598,108 @@ group {
544 color: 255 255 255 255; 598 color: 255 255 255 255;
545 } 599 }
546 } 600 }
601 part {
602 name: "slider_img";
603 mouse_events: 0;
604 description {
605 state: "default" 0.0;
606 min: 32 32;
607 fixed: 1 1;
608 rel1 {
609 to: "slider";
610 }
611 rel2 {
612 to: "slider";
613 }
614 image {
615 normal: "e17_slider_bt0.png";
616 }
617 }
618 description {
619 state: "clicked" 0.0;
620 inherit: "default" 0.0;
621 image {
622 normal: "e17_slider_bt1.png";
623 }
624 }
625 }
626 part {
627 name: "slider_glow";
628 mouse_events: 0;
629 description {
630 state: "default" 0.0;
631 min: 32 32;
632 fixed: 1 1;
633 rel1 {
634 to: "slider_img";
635 }
636 rel2 {
637 to: "slider_img";
638 }
639 image {
640 normal: "e17_slider_bt_glow.png";
641 }
642 color: 255 255 255 0;
643 }
644 description {
645 state: "visible" 0.0;
646 inherit: "default" 0.0;
647 color: 255 255 255 255;
648 }
649 }
547 } 650 }
548 programs { 651 programs {
549 program { 652 program {
550 name: "sb_hbar_p1_down"; 653 name: "sld_p1_down";
551 signal: "mouse,down,1"; 654 signal: "mouse,down,1";
552 source: "sb_hbar_p1"; 655 source: "sld_p1";
553 action: DRAG_VAL_PAGE -1.0 0.0; 656 action: DRAG_VAL_PAGE -1.0 0.0;
554 target: "slider"; 657 target: "slider";
555 } 658 }
556 program { 659 program {
557 name: "sb_hbar_p2_down"; 660 name: "sld_p2_down";
558 signal: "mouse,down,1"; 661 signal: "mouse,down,1";
559 source: "sb_hbar_p2"; 662 source: "sld_p2";
560 action: DRAG_VAL_PAGE 1.0 0.0; 663 action: DRAG_VAL_PAGE 1.0 0.0;
561 target: "slider"; 664 target: "slider";
562 } 665 }
563 program { 666 program {
564 name: "sb_hbar_down"; 667 name: "sld_down";
565 signal: "mouse,down,1"; 668 signal: "mouse,down,1";
566 source: "slider"; 669 source: "slider";
567 action: STATE_SET "clicked" 0.0; 670 action: STATE_SET "clicked" 0.0;
568 target: "slider"; 671 target: "slider_img";
569 } 672 }
570 program { 673 program {
571 name: "sb_hbar_up"; 674 name: "sld_up";
572 signal: "mouse,up,1"; 675 signal: "mouse,up,1";
573 source: "slider"; 676 source: "slider";
574 action: STATE_SET "default" 0.0; 677 action: STATE_SET "default" 0.0;
575 target: "slider"; 678 target: "slider_img";
679 }
680 program {
681 name: "sld_in";
682 signal: "mouse,in";
683 source: "slider";
684 action: STATE_SET "visible" 0.0;
685 transition: SINUSOIDAL 1.0;
686 target: "slider_glow";
687 after: "sld_in2";
688 }
689 program {
690 name: "sld_in2";
691 action: STATE_SET "default" 0.0;
692 transition: SINUSOIDAL 1.0;
693 target: "slider_glow";
694 after: "sld_in";
695 }
696 program {
697 name: "sld_out";
698 signal: "mouse,out";
699 source: "slider";
700 action: STATE_SET "default" 0.0;
701 transition: SINUSOIDAL 1.0;
702 target: "slider_glow";
576 } 703 }
577 program { 704 program {
578 name: "focus_in"; 705 name: "focus_in";
@@ -595,7 +722,7 @@ group {
595 signal: "show_label"; 722 signal: "show_label";
596 source: ""; 723 source: "";
597 action: STATE_SET "active" 0.0; 724 action: STATE_SET "active" 0.0;
598 target: "sb_hbar_base"; 725 target: "sld_base";
599 target: "label_under"; 726 target: "label_under";
600 target: "label"; 727 target: "label";
601 target: "label_over"; 728 target: "label_over";
@@ -605,7 +732,7 @@ group {
605 signal: "hide_label"; 732 signal: "hide_label";
606 source: ""; 733 source: "";
607 action: STATE_SET "default" 0.0; 734 action: STATE_SET "default" 0.0;
608 target: "sb_hbar_base"; 735 target: "sld_base";
609 target: "label_under"; 736 target: "label_under";
610 target: "label"; 737 target: "label";
611 target: "label_over"; 738 target: "label_over";
diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am
index 0466efaf2..efbd14f08 100644
--- a/data/themes/images/Makefile.am
+++ b/data/themes/images/Makefile.am
@@ -409,4 +409,7 @@ e17_sb_btu2.png \
409e17_sb_runnerh.png \ 409e17_sb_runnerh.png \
410e17_sb_runnerv.png \ 410e17_sb_runnerv.png \
411e17_ilist_bg0.png \ 411e17_ilist_bg0.png \
412e17_ilist_bg1.png 412e17_ilist_bg1.png \
413e17_slider_bt0.png \
414e17_slider_bt1.png \
415e17_slider_bt_glow.png
diff --git a/data/themes/images/e17_slider_bt0.png b/data/themes/images/e17_slider_bt0.png
new file mode 100644
index 000000000..2700a5096
--- /dev/null
+++ b/data/themes/images/e17_slider_bt0.png
Binary files differ
diff --git a/data/themes/images/e17_slider_bt1.png b/data/themes/images/e17_slider_bt1.png
new file mode 100644
index 000000000..adbc34774
--- /dev/null
+++ b/data/themes/images/e17_slider_bt1.png
Binary files differ
diff --git a/data/themes/images/e17_slider_bt_glow.png b/data/themes/images/e17_slider_bt_glow.png
new file mode 100644
index 000000000..89da3c424
--- /dev/null
+++ b/data/themes/images/e17_slider_bt_glow.png
Binary files differ