summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-10-30 08:48:07 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-10-30 08:48:07 +0000
commitd21efa7fd945753b159f3eb399501abe7dac0730 (patch)
treece56b380f9ec63b6d8d4e9bec5c7dcb48e08eefc /data
parentb318f132e79baa557a5ad4bc949654a0388f6d56 (diff)
- redo scrollbar
SVN revision: 18140
Diffstat (limited to 'data')
-rw-r--r--data/themes/default_fileman.edc648
1 files changed, 636 insertions, 12 deletions
diff --git a/data/themes/default_fileman.edc b/data/themes/default_fileman.edc
index c38c89e61..d6d483b4f 100644
--- a/data/themes/default_fileman.edc
+++ b/data/themes/default_fileman.edc
@@ -247,7 +247,7 @@ group {
247 } 247 }
248 } 248 }
249 part { 249 part {
250 name: "icon_area"; 250 name: "item";
251 type: SWALLOW; 251 type: SWALLOW;
252 mouse_events: 1; 252 mouse_events: 1;
253 description { 253 description {
@@ -263,26 +263,650 @@ group {
263 } 263 }
264 } 264 }
265 part { 265 part {
266 name: "vscrollbar"; 266 name: "sb_vbar";
267 type: "SWALLOW"; 267 type: RECT;
268 mouse_events: 0;
269 description {
270 state: "default" 0.0;
271 min: 16 16;
272 align: 1.0 0.0;
273 rel1 {
274 to: "background";
275 relative: 1.0 0.0;
276 offset: -5 4;
277 }
278 rel2 {
279 to: "background";
280 relative: 1.0 0.0;
281 offset: -5 -1;
282 to_y: "sb_hbar";
283 }
284 }
285 description {
286 state: "hidden" 0.0;
287 visible: 0;
288 max: 0 99999;
289 rel1 {
290 to: "background";
291 relative: 1.0 0.0;
292 offset: -4 4;
293 }
294 rel2 {
295 to: "background";
296 relative: 1.0 0.0;
297 offset: -4 -1;
298 to_y: "sb_hbar";
299 }
300 }
301 }
302 part {
303 name: "sb_vbar_base";
304 type: RECT;
305 clip_to: "sb_vbar";
268 mouse_events: 1; 306 mouse_events: 1;
269 description { 307 description {
270 min: 16 40; 308 state: "default" 0.0;
271 state: "default" 0.0; 309 color: 0 0 0 0;
272 rel1 { 310 rel1 {
311 relative: 0.0 1.0;
312 offset: 0 0;
313 to: "sb_vbar_a1";
314 }
315 rel2 {
316 relative: 1.0 0.0;
317 offset: -1 -1;
318 to: "sb_vbar_a2";
319 }
320 }
321 }
322 part {
323 name: "sb_vbar_runner";
324 clip_to: "sb_vbar";
325 mouse_events: 0;
326 description {
327 state: "default" 0.0;
328 max: 2 99999;
329 rel1 {
330 to: "sb_vbar_base";
331 }
332 rel2 {
333 to: "sb_vbar_base";
334 }
335 image {
336 normal: "e17_sb_runnerv.png";
337 border: 0 0 4 4;
338 }
339 fill {
340 smooth: 0;
341 }
342 }
343 }
344 part {
345 name: "sb_vbar_p1";
346 type: RECT;
347 clip_to: "sb_vbar";
348 mouse_events: 1;
349 description {
350 state: "default" 0.0;
351 color: 0 0 0 0;
352 rel1 {
353 relative: 0.0 1.0;
354 offset: 0 0;
355 to: "sb_vbar_a1";
356 }
357 rel2 {
273 relative: 1.0 0.0; 358 relative: 1.0 0.0;
274 offset: -16 0; 359 offset: -1 -1;
360 to: "vbar_bar";
361 }
362 }
363 }
364 part {
365 name: "sb_vbar_p2";
366 type: RECT;
367 clip_to: "sb_vbar";
368 mouse_events: 1;
369 description {
370 state: "default" 0.0;
371 color: 0 0 0 0;
372 rel1 {
373 relative: 0.0 1.0;
374 offset: 0 0;
375 to: "vbar_bar";
275 } 376 }
276 rel2 { 377 rel2 {
277 relative: 1.0 1.0; 378 relative: 1.0 0.0;
278 offset: 0 -1; 379 offset: -1 -1;
380 to: "sb_vbar_a2";
279 } 381 }
280 color: 0 0 0 255;
281 } 382 }
282 } 383 }
283 } 384 part {
284 programs { 385 name: "vbar_bar";
386 clip_to: "sb_vbar";
387 mouse_events: 1;
388 dragable {
389 x: 0 0 0;
390 y: 1 1 0;
391 confine: "sb_vbar_base";
392 }
393 description {
394 state: "default" 0.0;
395 min: 16 16;
396 rel1 {
397 relative: 0.5 0.5;
398 offset: 0 0;
399 to: "sb_vbar_base";
400 }
401 rel2 {
402 relative: 0.5 0.5;
403 offset: 0 0;
404 to: "sb_vbar_base";
405 }
406 image {
407 normal: "e17_sb_barv1.png";
408 border: 5 5 5 5;
409 }
410 }
411 description {
412 state: "clicked" 0.0;
413 inherit: "default" 0.0;
414 image {
415 normal: "e17_sb_barv2.png";
416 }
417 }
418 }
419 part {
420 name: "vbar_bar_thumb";
421 clip_to: "sb_vbar";
422 mouse_events: 0;
423 description {
424 state: "default" 0.0;
425 max: 8 8;
426 min: 8 8;
427 rel1 {
428 to: "vbar_bar";
429 }
430 rel2 {
431 to: "vbar_bar";
432 }
433 image {
434 normal: "e17_scrollbar_vdrag_thumb.png";
435 }
436 }
437 }
438 part {
439 name: "sb_vbar_a1";
440 type: IMAGE;
441 mouse_events: 1;
442 clip_to: "sb_vbar";
443 description {
444 state: "default" 0.0;
445 align: 0.5 0.0;
446 aspect: 1.0 1.0;
447 aspect_preference: HORIZONTAL;
448 rel1 {
449 to: "sb_vbar";
450 relative: 0.0 0.0;
451 offset: 0 0;
452 }
453 rel2 {
454 to: "sb_vbar";
455 relative: 1.0 0.0;
456 offset: -1 0;
457 }
458 image {
459 normal: "e17_sb_btu1.png";
460 }
461 }
462 description {
463 state: "clicked" 0.0;
464 inherit: "default" 0.0;
465 image {
466 normal: "e17_sb_btu2.png";
467 }
468 }
469 }
470 part {
471 name: "sb_vbar_a2";
472 type: IMAGE;
473 mouse_events: 1;
474 clip_to: "sb_vbar";
475 description {
476 state: "default" 0.0;
477 align: 0.5 1.0;
478 aspect: 1.0 1.0;
479 aspect_preference: HORIZONTAL;
480 rel1 {
481 to: "sb_vbar";
482 relative: 0.0 1.0;
483 offset: 0 -1;
484 }
485 rel2 {
486 to: "sb_vbar";
487 relative: 1.0 1.0;
488 offset: -1 -1;
489 }
490 image {
491 normal: "e17_sb_btd1.png";
492 }
493 }
494 description {
495 state: "clicked" 0.0;
496 inherit: "default" 0.0;
497 image {
498 normal: "e17_sb_btd2.png";
499 }
500 }
501 }
502 part {
503 name: "sb_hbar";
504 type: RECT;
505 mouse_events: 0;
506 description {
507 state: "default" 0.0;
508 min: 16 16;
509 align: 0.0 1.0;
510 rel1 {
511 to: "background";
512 relative: 0.0 1.0;
513 offset: 4 -5;
514 }
515 rel2 {
516 to: "background";
517 relative: 0.0 1.0;
518 offset: -1 -5;
519 to_x: "sb_vbar";
520 }
521 }
522 description {
523 state: "hidden" 0.0;
524 visible: 0;
525 rel1 {
526 to: "background";
527 relative: 0.0 1.0;
528 offset: 0 -4;
529 }
530 rel2 {
531 to: "background";
532 relative: 0.0 1.0;
533 offset: -1 -4;
534 to_x: "sb_vbar";
535 }
536 }
537 }
538 part {
539 name: "sb_hbar_base";
540 type: RECT;
541 clip_to: "sb_hbar";
542 mouse_events: 1;
543 description {
544 state: "default" 0.0;
545 color: 0 0 0 0;
546 rel1 {
547 relative: 1.0 0.0;
548 offset: 0 0;
549 to: "sb_hbar_a1";
550 }
551 rel2 {
552 relative: 0.0 1.0;
553 offset: -1 -1;
554 to: "sb_hbar_a2";
555 }
556 }
557 }
558 part {
559 name: "sb_hbar_runner";
560 clip_to: "sb_hbar";
561 mouse_events: 0;
562 description {
563 state: "default" 0.0;
564 max: 99999 2;
565 rel1 {
566 to: "sb_hbar_base";
567 }
568 rel2 {
569 to: "sb_hbar_base";
570 }
571 image {
572 normal: "e17_sb_runnerh.png";
573 border: 4 4 0 0;
574 }
575 fill {
576 smooth: 0;
577 }
578 }
579 }
580 part {
581 name: "sb_hbar_p1";
582 type: RECT;
583 clip_to: "sb_hbar";
584 mouse_events: 1;
585 description {
586 state: "default" 0.0;
587 color: 0 0 0 0;
588 rel1 {
589 relative: 1.0 0.0;
590 offset: 0 0;
591 to: "sb_hbar_a1";
592 }
593 rel2 {
594 relative: 0.0 1.0;
595 offset: -1 -1;
596 to: "hbar_bar";
597 }
598 }
599 }
600 part {
601 name: "sb_hbar_p2";
602 type: RECT;
603 clip_to: "sb_hbar";
604 mouse_events: 1;
605 description {
606 state: "default" 0.0;
607 color: 0 0 0 0;
608 rel1 {
609 relative: 1.0 0.0;
610 offset: 0 0;
611 to: "hbar_bar";
612 }
613 rel2 {
614 relative: 0.0 1.0;
615 offset: -1 -1;
616 to: "sb_hbar_a2";
617 }
618 }
619 }
620 part {
621 name: "hbar_bar";
622 clip_to: "sb_hbar";
623 mouse_events: 1;
624 dragable {
625 x: 1 1 0;
626 y: 0 0 0;
627 confine: "sb_hbar_base";
628 }
629 description {
630 state: "default" 0.0;
631 min: 16 16;
632 rel1 {
633 relative: 0.5 0.5;
634 offset: 0 0;
635 to: "sb_hbar_base";
636 }
637 rel2 {
638 relative: 0.5 0.5;
639 offset: 0 0;
640 to: "sb_hbar_base";
641 }
642 image {
643 normal: "e17_sb_barh1.png";
644 border: 5 5 5 5;
645 }
646 }
647 description {
648 state: "clicked" 0.0;
649 inherit: "default" 0.0;
650 image {
651 normal: "e17_sb_barh2.png";
652 }
653 }
654 }
655 part {
656 name: "hbar_bar_thumb";
657 clip_to: "sb_hbar";
658 mouse_events: 0;
659 description {
660 state: "default" 0.0;
661 max: 8 8;
662 min: 8 8;
663 rel1 {
664 to: "hbar_bar";
665 }
666 rel2 {
667 to: "hbar_bar";
668 }
669 image {
670 normal: "e17_scrollbar_hdrag_thumb.png";
671 }
672 }
673 }
674 part {
675 name: "sb_hbar_a1";
676 type: IMAGE;
677 mouse_events: 1;
678 clip_to: "sb_hbar";
679 description {
680 state: "default" 0.0;
681 align: 0.0 0.5;
682 aspect: 1.0 1.0;
683 aspect_preference: VERTICAL;
684 rel1 {
685 to: "sb_hbar";
686 relative: 0.0 0.0;
687 offset: 0 0;
688 }
689 rel2 {
690 to: "sb_hbar";
691 relative: 0.0 1.0;
692 offset: 0 -1;
693 }
694 image {
695 normal: "e17_sb_btl1.png";
696 }
697 }
698 description {
699 state: "clicked" 0.0;
700 inherit: "default" 0.0;
701 image {
702 normal: "e17_sb_btl2.png";
703 }
704 }
705 }
706 part {
707 name: "sb_hbar_a2";
708 type: IMAGE;
709 mouse_events: 1;
710 clip_to: "sb_hbar";
711 description {
712 state: "default" 0.0;
713 align: 1.0 0.5;
714 aspect: 1.0 1.0;
715 aspect_preference: VERTICAL;
716 rel1 {
717 to: "sb_hbar";
718 relative: 1.0 0.0;
719 offset: -1 0;
720 }
721 rel2 {
722 to: "sb_hbar";
723 relative: 1.0 1.0;
724 offset: -1 -1;
725 }
726 image {
727 normal: "e17_sb_btr1.png";
728 }
729 }
730 description {
731 state: "clicked" 0.0;
732 inherit: "default" 0.0;
733 image {
734 normal: "e17_sb_btr2.png";
735 }
736 }
737 }
285 } 738 }
739 programs {
740 program {
741 name: "sb_vbar_show";
742 signal: "vbar";
743 source: "show";
744 action: STATE_SET "default" 0.0;
745 target: "sb_vbar";
746 }
747 program {
748 name: "sb_vbar_hide";
749 signal: "vbar";
750 source: "hide";
751 action: STATE_SET "hidden" 0.0;
752 target: "sb_vbar";
753 }
754 program {
755 name: "sb_hbar_show";
756 signal: "hbar";
757 source: "show";
758 action: STATE_SET "default" 0.0;
759 target: "sb_hbar";
760 }
761 program {
762 name: "sb_hbar_hide";
763 signal: "hbar";
764 source: "hide";
765 action: STATE_SET "hidden" 0.0;
766 target: "sb_hbar";
767 }
768
769 program {
770 name: "sb_vbar_a1_down";
771 signal: "mouse,down,1";
772 source: "sb_vbar_a1";
773 action: STATE_SET "clicked" 0.0;
774 target: "sb_vbar_a1";
775 }
776 program {
777 name: "sb_vbar_a1_down2";
778 signal: "mouse,down,1";
779 source: "sb_vbar_a1";
780 action: DRAG_VAL_STEP 0.0 -1.0;
781 target: "vbar_bar";
782 }
783 program {
784 name: "sb_vbar_a1_up";
785 signal: "mouse,up,1";
786 source: "sb_vbar_a1";
787 action: STATE_SET "default" 0.0;
788 target: "sb_vbar_a1";
789 }
790 program {
791 name: "sb_vbar_a2_down";
792 signal: "mouse,down,1";
793 source: "sb_vbar_a2";
794 action: STATE_SET "clicked" 0.0;
795 target: "sb_vbar_a2";
796 }
797 program {
798 name: "sb_vbar_a2_down2";
799 signal: "mouse,down,1";
800 source: "sb_vbar_a2";
801 action: DRAG_VAL_STEP 0.0 1.0;
802 target: "vbar_bar";
803 }
804 program {
805 name: "sb_vbar_a2_up";
806 signal: "mouse,up,1";
807 source: "sb_vbar_a2";
808 action: STATE_SET "default" 0.0;
809 target: "sb_vbar_a2";
810 }
811 program {
812 name: "sb_vbar_p1_down";
813 signal: "mouse,down,1";
814 source: "sb_vbar_p1";
815 action: DRAG_VAL_PAGE 0.0 -1.0;
816 target: "vbar_bar";
817 }
818 program {
819 name: "sb_vbar_p2_down";
820 signal: "mouse,down,1";
821 source: "sb_vbar_p2";
822 action: DRAG_VAL_PAGE 0.0 1.0;
823 target: "vbar_bar";
824 }
825 program {
826 name: "sb_vbar_down";
827 signal: "mouse,down,1";
828 source: "vbar_bar";
829 action: STATE_SET "clicked" 0.0;
830 target: "vbar_bar";
831 }
832 program {
833 name: "sb_vbar_up";
834 signal: "mouse,up,1";
835 source: "vbar_bar";
836 action: STATE_SET "default" 0.0;
837 target: "vbar_bar";
838 }
839 program {
840 name: "sb_hbar_a1_down";
841 signal: "mouse,down,1";
842 source: "sb_hbar_a1";
843 action: STATE_SET "clicked" 0.0;
844 target: "sb_hbar_a1";
845 }
846 program {
847 name: "sb_hbar_a1_down2";
848 signal: "mouse,down,1";
849 source: "sb_hbar_a1";
850 action: DRAG_VAL_STEP -1.0 0.0;
851 target: "hbar_bar";
852 }
853 program {
854 name: "sb_hbar_a1_up";
855 signal: "mouse,up,1";
856 source: "sb_hbar_a1";
857 action: STATE_SET "default" 0.0;
858 target: "sb_hbar_a1";
859 }
860 program {
861 name: "sb_hbar_a2_down";
862 signal: "mouse,down,1";
863 source: "sb_hbar_a2";
864 action: STATE_SET "clicked" 0.0;
865 target: "sb_hbar_a2";
866 }
867 program {
868 name: "sb_hbar_a2_down2";
869 signal: "mouse,down,1";
870 source: "sb_hbar_a2";
871 action: DRAG_VAL_STEP 1.0 0.0;
872 target: "hbar_bar";
873 }
874 program {
875 name: "sb_hbar_a2_up";
876 signal: "mouse,up,1";
877 source: "sb_hbar_a2";
878 action: STATE_SET "default" 0.0;
879 target: "sb_hbar_a2";
880 }
881 program {
882 name: "sb_hbar_p1_down";
883 signal: "mouse,down,1";
884 source: "sb_hbar_p1";
885 action: DRAG_VAL_PAGE -1.0 0.0;
886 target: "hbar_bar";
887 }
888 program {
889 name: "sb_hbar_p2_down";
890 signal: "mouse,down,1";
891 source: "sb_hbar_p2";
892 action: DRAG_VAL_PAGE 1.0 0.0;
893 target: "hbar_bar";
894 }
895 program {
896 name: "sb_hbar_down";
897 signal: "mouse,down,1";
898 source: "hbar_bar";
899 action: STATE_SET "clicked" 0.0;
900 target: "hbar_bar";
901 }
902 program {
903 name: "sb_hbar_up";
904 signal: "mouse,up,1";
905 source: "hbar_bar";
906 action: STATE_SET "default" 0.0;
907 target: "hbar_bar";
908 }
909 }
286} 910}
287 911
288group { 912group {