summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-12-09 22:32:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-12-11 22:19:55 +0900
commit5ed68d82b2f147f5b365e2773ef8c2ab8e444531 (patch)
tree2affb2daeeaf50a6bf7d9c06d101e27a5c674332 /data
parenteb809499216acaf7e36c94976ef5d32c38a69d23 (diff)
terminology - add tab bar at the top that looks like normal tabs
this makes the default (and solarized) themes have a tab bar at the top that look and behave like normal tabs. option to disable these. other themes might need some updating if they dont follow default by #including it.
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc699
-rw-r--r--data/themes/images/tab.xcfbin0 -> 18291 bytes
-rw-r--r--data/themes/images/tab_base_bottom.pngbin0 -> 137 bytes
-rw-r--r--data/themes/images/tab_base_l0.pngbin0 -> 126 bytes
-rw-r--r--data/themes/images/tab_base_l1.pngbin0 -> 169 bytes
-rw-r--r--data/themes/images/tab_base_m.pngbin0 -> 120 bytes
-rw-r--r--data/themes/images/tab_base_r0.pngbin0 -> 85 bytes
-rw-r--r--data/themes/images/tab_base_r1.pngbin0 -> 168 bytes
-rw-r--r--data/themes/images/tab_bg_l0.pngbin0 -> 415 bytes
-rw-r--r--data/themes/images/tab_bg_l1.pngbin0 -> 410 bytes
-rw-r--r--data/themes/images/tab_bg_r0.pngbin0 -> 414 bytes
-rw-r--r--data/themes/images/tab_bg_r1.pngbin0 -> 402 bytes
-rw-r--r--data/themes/images/tab_other_l.pngbin0 -> 287 bytes
-rw-r--r--data/themes/images/tab_other_m.pngbin0 -> 671 bytes
-rw-r--r--data/themes/images/tab_other_r.pngbin0 -> 301 bytes
-rw-r--r--data/themes/images/tab_shad_l0.pngbin0 -> 107 bytes
-rw-r--r--data/themes/images/tab_shad_l1.pngbin0 -> 263 bytes
-rw-r--r--data/themes/images/tab_shad_l2.pngbin0 -> 262 bytes
-rw-r--r--data/themes/images/tab_shad_r0.pngbin0 -> 107 bytes
-rw-r--r--data/themes/images/tab_shad_r1.pngbin0 -> 278 bytes
-rw-r--r--data/themes/images/tab_shad_r2.pngbin0 -> 274 bytes
21 files changed, 677 insertions, 22 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 4d0cfc2..2ac68c7 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -173,19 +173,29 @@ collections {
173 action: STATE_SET "movie" 0.0; 173 action: STATE_SET "movie" 0.0;
174 target: "terminology.background"; 174 target: "terminology.background";
175 } 175 }
176 176
177 part { name: "terminology.tabregion"; type: SWALLOW;
178 description { state: "default" 0.0;
179 fixed: 1 1;
180 rel2.relative: 1.0 0.0;
181 min: 1 1;
182 align: 0.0 0.0;
183 }
184 }
177 //////////////////////////////////////////////////////////////////// 185 ////////////////////////////////////////////////////////////////////
178 // actual text grid for chars, cursors, selectiond etc. goes here 186 // actual text grid for chars, cursors, selectiond etc. goes here
179 part { name: "terminology.content"; type: SWALLOW; 187 part { name: "terminology.content"; type: SWALLOW;
180 description { state: "default" 0.0; 188 description { state: "default" 0.0;
181 rel1.offset: 1 1; 189 rel1.offset: 1 0;
190 rel1.relative: 0.0 1.0;
191 rel1.to_y: "terminology.tabregion";
182 rel2.offset: -2 -2; 192 rel2.offset: -2 -2;
183 } 193 }
184 } 194 }
185 195
186 } 196 }
187 } 197 }
188 198
189 //// the background and general container for the terminal 199 //// the background and general container for the terminal
190 group { name: "terminology/background"; 200 group { name: "terminology/background";
191 images { 201 images {
@@ -201,6 +211,20 @@ collections {
201 image: "pm_overlay.png" COMP; 211 image: "pm_overlay.png" COMP;
202 image: "pm_fill.png" COMP; 212 image: "pm_fill.png" COMP;
203 image: "cr_glow.png" COMP; 213 image: "cr_glow.png" COMP;
214 image: "tab_base_bottom.png" COMP;
215 image: "tab_base_l0.png" COMP;
216 image: "tab_base_l1.png" COMP;
217 image: "tab_base_m.png" COMP;
218 image: "tab_base_r0.png" COMP;
219 image: "tab_base_r1.png" COMP;
220 image: "tab_bg_l0.png" COMP;
221 image: "tab_bg_l1.png" COMP;
222 image: "tab_bg_r0.png" COMP;
223 image: "tab_bg_r1.png" COMP;
224 image: "tab_shad_l0.png" COMP;
225 image: "tab_shad_l1.png" COMP;
226 image: "tab_shad_r0.png" COMP;
227 image: "tab_shad_r1.png" COMP;
204 } 228 }
205 set { name: "bg_shadow"; 229 set { name: "bg_shadow";
206 image { image: "bg_shadow.png" COMP; size: 0 0 200 150; } 230 image { image: "bg_shadow.png" COMP; size: 0 0 200 150; }
@@ -255,6 +279,11 @@ collections {
255 part { name: "terminology.content"; type: SWALLOW; 279 part { name: "terminology.content"; type: SWALLOW;
256 description { state: "default" 0.0; 280 description { state: "default" 0.0;
257 } 281 }
282 description { state: "tab" 0.0;
283 inherit: "default" 0.0;
284// rel1.to_y: "tabmiddle";
285// rel1.relative: 0.0 1.0;
286 }
258 } 287 }
259 288
260 //////////////////////////////////////////////////////////////////// 289 ////////////////////////////////////////////////////////////////////
@@ -459,8 +488,10 @@ collections {
459 fixed: 1 1; 488 fixed: 1 1;
460 rel1.relative: 1.0 0.0; 489 rel1.relative: 1.0 0.0;
461 rel1.offset: -3 2; 490 rel1.offset: -3 2;
491 rel1.to: "viewregion";
462 rel2.relative: 1.0 0.0; 492 rel2.relative: 1.0 0.0;
463 rel2.offset: -3 2; 493 rel2.offset: -3 2;
494 rel2.to: "viewregion";
464 align: 1.0 0.0; 495 align: 1.0 0.0;
465 min: 16 16; 496 min: 16 16;
466 } 497 }
@@ -475,6 +506,27 @@ collections {
475 } 506 }
476 } 507 }
477 508
509 part { name: "terminology.tabregion"; type: SWALLOW;
510 description { state: "default" 0.0;
511 fixed: 1 1;
512 rel1.to: "terminology.content";
513 rel2.to: "viewregion";
514 rel2.relative: 1.0 0.0;
515 }
516 }
517 part { name: "viewregion"; type: SWALLOW;
518 description { state: "default" 0.0;
519 fixed: 1 1;
520 rel1.to: "terminology.content";
521 rel2.to: "terminology.content";
522 }
523 description { state: "tab" 0.0;
524 inherit: "default" 0.0;
525 rel1.to_y: "tabmiddle";
526 rel1.relative: 0.0 1.0;
527 }
528 }
529
478 program { 530 program {
479 signal: "mouse,in"; source: "tabcount_ev"; 531 signal: "mouse,in"; source: "tabcount_ev";
480 action: STATE_SET "over" 0.0; 532 action: STATE_SET "over" 0.0;
@@ -509,14 +561,14 @@ collections {
509 signal: "mouse,clicked,1"; source: "tabcount_ev"; 561 signal: "mouse,clicked,1"; source: "tabcount_ev";
510 action: SIGNAL_EMIT "tabcount,go" "terminology"; 562 action: SIGNAL_EMIT "tabcount,go" "terminology";
511 } 563 }
512 program { 564 program {
513 signal: "mouse,wheel,0,-1"; source: "tabcount_ev"; 565 signal: "mouse,wheel,0,-1"; source: "tabcount_ev";
514 action: SIGNAL_EMIT "tabcount,prev" "terminology"; 566 action: SIGNAL_EMIT "tabcount,prev" "terminology";
515 } 567 }
516 program { 568 program {
517 signal: "mouse,wheel,0,1"; source: "tabcount_ev"; 569 signal: "mouse,wheel,0,1"; source: "tabcount_ev";
518 action: SIGNAL_EMIT "tabcount,next" "terminology"; 570 action: SIGNAL_EMIT "tabcount,next" "terminology";
519 } 571 }
520 program { 572 program {
521 signal: "tabcount,off"; source: "terminology"; 573 signal: "tabcount,off"; source: "terminology";
522 action: STATE_SET "default" 0.0; 574 action: STATE_SET "default" 0.0;
@@ -553,8 +605,12 @@ collections {
553 // miniview 605 // miniview
554 part { name: "terminology.miniview"; type: SWALLOW; 606 part { name: "terminology.miniview"; type: SWALLOW;
555 description { state: "default" 0.0; 607 description { state: "default" 0.0;
608 rel1.to_x: "terminology.content";
609 rel1.to_y: "viewregion";
610 rel2.to: "terminology.content";
556 //color: 255 255 255 0; 611 //color: 255 255 255 0;
557 visible: 0; 612 visible: 0;
613 fixed: 1 1;
558 } 614 }
559 description { state: "on" 0.0; 615 description { state: "on" 0.0;
560 inherit: "default" 0.0; 616 inherit: "default" 0.0;
@@ -602,10 +658,34 @@ collections {
602 image.middle: 0; 658 image.middle: 0;
603 fill.smooth: 0; 659 fill.smooth: 0;
604 } 660 }
661 description { state: "tab" 0.0;
662 inherit: "default" 0.0;
663 visible: 0;
664 }
665 }
666 part { name: "shine";
667 mouse_events: 0;
668 description { state: "default" 0.0;
669 rel1.offset: 0 0;
670 rel2.offset: -1 -1;
671 image.normal: "bg_shine.png";
672 fill.smooth: 0;
673 align: 0.5 0.0;
674 aspect: (255/120) (255/120);
675 aspect_preference: HORIZONTAL;
676 color: 255 255 255 64;
677 }
678 description { state: "focused" 0.0;
679 inherit: "default" 0.0;
680 color: 255 255 255 255;
681 }
605 } 682 }
606 part { name: "glintclip"; type: RECT; 683 part { name: "glintclip"; type: RECT;
607 description { state: "default" 0.0; 684 description { state: "default" 0.0;
608 } 685 }
686 description { state: "tab" 0.0;
687 inherit: "default" 0.0;
688 }
609 } 689 }
610 part { name: "glint"; 690 part { name: "glint";
611 mouse_events: 0; 691 mouse_events: 0;
@@ -630,21 +710,260 @@ collections {
630 color: 255 255 255 255; 710 color: 255 255 255 255;
631 } 711 }
632 } 712 }
633 part { name: "shine"; 713
714 part { name: "tab_bevel_bottom";
634 mouse_events: 0; 715 mouse_events: 0;
635 description { state: "default" 0.0; 716 description { state: "default" 0.0;
636 rel1.offset: 0 0; 717 rel1.to_y: "tabmiddle";
637 rel2.offset: -1 -1; 718 rel1.relative: 0.0 1.0;
638 image.normal: "bg_shine.png"; 719 image.normal: "tab_base_bottom.png";
720 image.border: 2 2 0 2;
721 image.middle: 0;
639 fill.smooth: 0; 722 fill.smooth: 0;
640 align: 0.5 0.0; 723 visible: 0;
641 aspect: (255/120) (255/120); 724 fixed: 1 1;
642 aspect_preference: HORIZONTAL;
643 color: 255 255 255 64;
644 } 725 }
645 description { state: "focused" 0.0; 726 description { state: "tab" 0.0;
646 inherit: "default" 0.0; 727 inherit: "default" 0.0;
647 color: 255 255 255 255; 728 visible: 1;
729 }
730 }
731 part { name: "tab_bevel_top0";
732 mouse_events: 0;
733 description { state: "default" 0.0;
734 rel1.to: "tableft";
735 rel2.to_y: "tableft";
736 rel2.to_x: "tab_bevel_top1";
737 rel2.relative: 0.0 1.0;
738 image.normal: "tab_base_l0.png";
739 image.border: 0 0 0 4;
740 fill.smooth: 0;
741 visible: 0;
742 fixed: 1 1;
743 }
744 description { state: "tab" 0.0;
745 inherit: "default" 0.0;
746 visible: 1;
747 }
748 }
749 part { name: "tab_bevel_top1";
750 mouse_events: 0;
751 description { state: "default" 0.0;
752 rel1.to: "tabmiddle";
753 rel1.offset: -4 0;
754 rel2.to: "tabmiddle";
755 align: 0.0 0.0;
756 max: 12 99999;
757 min: 12 0;
758 image.normal: "tab_base_l1.png";
759 image.border: 0 0 4 4;
760 fill.smooth: 0;
761 visible: 0;
762 fixed: 1 1;
763 }
764 description { state: "tab" 0.0;
765 inherit: "default" 0.0;
766 visible: 1;
767 }
768 }
769 part { name: "tab_bevel_top2";
770 mouse_events: 0;
771 description { state: "default" 0.0;
772 rel1.to: "tab_bevel_top1";
773 rel1.relative: 1.0 0.0;
774 rel2.to: "tab_bevel_top3";
775 rel2.relative: 0.0 1.0;
776 image.normal: "tab_base_m.png";
777 image.border: 0 0 4 0;
778 fill.smooth: 0;
779 visible: 0;
780 fixed: 1 1;
781 }
782 description { state: "tab" 0.0;
783 inherit: "default" 0.0;
784 visible: 1;
785 }
786 }
787 part { name: "tab_bevel_top3";
788 mouse_events: 0;
789 description { state: "default" 0.0;
790 rel1.to: "tabmiddle";
791 rel2.to: "tabmiddle";
792 rel2.offset: 3 -1;
793 align: 1.0 0.0;
794 max: 12 99999;
795 min: 12 0;
796 image.normal: "tab_base_r1.png";
797 image.border: 0 0 4 4;
798 fill.smooth: 0;
799 visible: 0;
800 fixed: 1 1;
801 }
802 description { state: "tab" 0.0;
803 inherit: "default" 0.0;
804 visible: 1;
805 }
806 }
807 part { name: "tab_bevel_top4";
808 mouse_events: 0;
809 description { state: "default" 0.0;
810 rel1.to_y: "tabright";
811 rel1.to_x: "tab_bevel_top3";
812 rel1.relative: 1.0 0.0;
813 rel2.to: "tabright";
814 image.normal: "tab_base_r0.png";
815 image.border: 0 0 0 4;
816 fill.smooth: 0;
817 visible: 0;
818 fixed: 1 1;
819 }
820 description { state: "tab" 0.0;
821 inherit: "default" 0.0;
822 visible: 1;
823 }
824 }
825 part { name: "tab_bevel_bg0";
826 mouse_events: 0;
827 description { state: "default" 0.0;
828 rel1.to: "tab_bevel_top0";
829 rel2.to: "tab_bevel_top0";
830 image.normal: "tab_bg_l0.png";
831 image.border: 2 0 4 4;
832 fill.smooth: 0;
833 visible: 0;
834 fixed: 1 1;
835 }
836 description { state: "tab" 0.0;
837 inherit: "default" 0.0;
838 visible: 1;
839 }
840 }
841 part { name: "tab_bevel_bg1";
842 mouse_events: 0;
843 description { state: "default" 0.0;
844 rel1.to: "tab_bevel_top1";
845 rel2.to: "tab_bevel_top1";
846 image.normal: "tab_bg_l1.png";
847 image.border: 0 0 4 4;
848 fill.smooth: 0;
849 visible: 0;
850 fixed: 1 1;
851 }
852 description { state: "tab" 0.0;
853 inherit: "default" 0.0;
854 visible: 1;
855 }
856 }
857 part { name: "tab_bevel_bg3";
858 mouse_events: 0;
859 description { state: "default" 0.0;
860 rel1.to: "tab_bevel_top3";
861 rel2.to: "tab_bevel_top3";
862 image.normal: "tab_bg_r1.png";
863 image.border: 0 0 4 4;
864 fill.smooth: 0;
865 visible: 0;
866 fixed: 1 1;
867 }
868 description { state: "tab" 0.0;
869 inherit: "default" 0.0;
870 visible: 1;
871 }
872 }
873 part { name: "tab_bevel_bg4";
874 mouse_events: 0;
875 description { state: "default" 0.0;
876 rel1.to: "tab_bevel_top4";
877 rel2.to: "tab_bevel_top4";
878 image.normal: "tab_bg_r0.png";
879 image.border: 0 2 4 4;
880 fill.smooth: 0;
881 visible: 0;
882 fixed: 1 1;
883 }
884 description { state: "tab" 0.0;
885 inherit: "default" 0.0;
886 visible: 1;
887 }
888 }
889
890 part { name: "terminology.tabl.content"; type: SWALLOW;
891 description { state: "default" 0.0;
892 rel1.to: "tableft";
893 rel2.to: "tableft";
894 fixed: 1 1;
895 }
896 }
897 part { name: "terminology.tabr.content"; type: SWALLOW;
898 description { state: "default" 0.0;
899 rel1.to: "tabright";
900 rel2.to: "tabright";
901 fixed: 1 1;
902 }
903 }
904
905 part { name: "tab_bevel_shad0";
906 mouse_events: 0;
907 description { state: "default" 0.0;
908 rel1.to: "tab_bevel_top0";
909 rel2.to: "tab_bevel_top0";
910 image.normal: "tab_shad_l0.png";
911 image.border: 0 0 0 10;
912 fill.smooth: 0;
913 visible: 0;
914 fixed: 1 1;
915 }
916 description { state: "tab" 0.0;
917 inherit: "default" 0.0;
918 visible: 1;
919 }
920 }
921 part { name: "tab_bevel_shad1";
922 mouse_events: 0;
923 description { state: "default" 0.0;
924 rel1.to: "tab_bevel_top1";
925 rel2.to: "tab_bevel_top1";
926 image.normal: "tab_shad_l1.png";
927 image.border: 0 0 10 10;
928 fill.smooth: 0;
929 visible: 0;
930 fixed: 1 1;
931 }
932 description { state: "tab" 0.0;
933 inherit: "default" 0.0;
934 visible: 1;
935 }
936 }
937 part { name: "tab_bevel_shad3";
938 mouse_events: 0;
939 description { state: "default" 0.0;
940 rel1.to: "tab_bevel_top3";
941 rel2.to: "tab_bevel_top3";
942 image.normal: "tab_shad_r1.png";
943 image.border: 0 0 10 10;
944 fill.smooth: 0;
945 visible: 0;
946 fixed: 1 1;
947 }
948 description { state: "tab" 0.0;
949 inherit: "default" 0.0;
950 visible: 1;
951 }
952 }
953 part { name: "tab_bevel_shad4";
954 mouse_events: 0;
955 description { state: "default" 0.0;
956 rel1.to: "tab_bevel_top4";
957 rel2.to: "tab_bevel_top4";
958 image.normal: "tab_shad_r0.png";
959 image.border: 0 0 0 10;
960 fill.smooth: 0;
961 visible: 0;
962 fixed: 1 1;
963 }
964 description { state: "tab" 0.0;
965 inherit: "default" 0.0;
966 visible: 1;
648 } 967 }
649 } 968 }
650 program { 969 program {
@@ -669,6 +988,202 @@ collections {
669 } 988 }
670 989
671 //////////////////////////////////////////////////////////////////// 990 ////////////////////////////////////////////////////////////////////
991 // a swallow to hold a finger size rect for min tab size
992 program {
993 signal: "tabbar,on"; source: "terminology";
994 action: STATE_SET "tab" 0.0;
995 target: "viewregion";
996 target: "tableft";
997 target: "tabmiddle";
998 target: "tabright";
999 target: "bevel";
1000 target: "glintclip";
1001 target: "tab_bevel_bottom";
1002 target: "tab_bevel_top0";
1003 target: "tab_bevel_top1";
1004 target: "tab_bevel_top2";
1005 target: "tab_bevel_top3";
1006 target: "tab_bevel_top4";
1007 target: "tab_bevel_bg0";
1008 target: "tab_bevel_bg1";
1009 target: "tab_bevel_bg3";
1010 target: "tab_bevel_bg4";
1011 target: "tab_bevel_shad0";
1012 target: "tab_bevel_shad1";
1013 target: "tab_bevel_shad3";
1014 target: "tab_bevel_shad4";
1015 target: "tabtitle";
1016 }
1017 program {
1018 signal: "tabbar,off"; source: "terminology";
1019 action: STATE_SET "default" 0.0;
1020 target: "viewregion";
1021 target: "tableft";
1022 target: "tabmiddle";
1023 target: "tabright";
1024 target: "bevel";
1025 target: "glintclip";
1026 target: "tab_bevel_bottom";
1027 target: "tab_bevel_top0";
1028 target: "tab_bevel_top1";
1029 target: "tab_bevel_top2";
1030 target: "tab_bevel_top3";
1031 target: "tab_bevel_top4";
1032 target: "tab_bevel_bg0";
1033 target: "tab_bevel_bg1";
1034 target: "tab_bevel_bg3";
1035 target: "tab_bevel_bg4";
1036 target: "tab_bevel_shad0";
1037 target: "tab_bevel_shad1";
1038 target: "tab_bevel_shad3";
1039 target: "tab_bevel_shad4";
1040 target: "tabtitle";
1041 }
1042
1043 part { name: "terminology.tab"; type: SWALLOW;
1044 mouse_events: 0;
1045 description { state: "default" 0.0;
1046 rel1.relative: 1.0 0.0;
1047 rel1.to_x: "terminology.tabl";
1048 rel2.relative: 0.0 0.0;
1049 rel2.to_x: "terminology.tabr";
1050 align: 0.5 0.0;
1051 visible: 0;
1052 fixed: 1 1;
1053 }
1054 }
1055 // some slot for dragable parts to stayt in along top edge of bg
1056 part { name: "tabdrag"; type: SPACER;
1057 description { state: "default" 0.0;
1058 rel2.relative: 1.0 0.0;
1059 fixed: 1 1;
1060 }
1061 }
1062 // left boundary of the active tab (ragable 0.0 -> 1.0)
1063 part { name: "terminology.tabl"; type: SPACER;
1064 dragable.x: 1 1 0;
1065 dragable.confine: "tabdrag";
1066 description { state: "default" 0.0;
1067 rel2.relative: 1.0 0.0;
1068 max: 1 1;
1069 fixed: 1 1;
1070 }
1071 }
1072 // right boundary of the active tab (ragable 0.0 -> 1.0)
1073 part { name: "terminology.tabr"; type: SPACER;
1074 dragable.x: 1 1 0;
1075 dragable.confine: "tabdrag";
1076 description { state: "default" 0.0;
1077 rel2.relative: 1.0 0.0;
1078 max: 1 1;
1079 fixed: 1 1;
1080 }
1081 }
1082
1083 part { name: "terminology.tab.title"; type: TEXT; mouse_events: 0;
1084 scale: 1;
1085 effect: SOFT_SHADOW BOTTOM;
1086 mouse_events: 0;
1087 description { state: "default" 0.0;
1088 color: 255 255 255 255;
1089 color3: 0 0 0 18;
1090 text { font: "Sans:style=Bold"; size: 10;
1091 align: 0.5 0.0;
1092 min: 0 1;
1093 }
1094 align: 0.5 0.0;
1095 rel1.to_x: "tab_bevel_top2";
1096 rel1.offset: 0 2;
1097 rel2.to_x: "tab_bevel_top2";
1098 rel2.offset: -1 2;
1099 rel2.relative: 1.0 0.0;
1100 visible: 0;
1101 fixed: 1 1;
1102 }
1103 }
1104 part { name: "tabtitle"; type: TEXT; mouse_events: 0;
1105 scale: 1;
1106 effect: SOFT_SHADOW BOTTOM;
1107 mouse_events: 0;
1108 description { state: "default" 0.0;
1109 color: 255 255 255 255;
1110 color3: 0 0 0 18;
1111 text { font: "Sans:style=Bold"; size: 10;
1112 align: 0.5 0.5;
1113 min: 0 1;
1114 text_source: "terminology.tab.title";
1115 }
1116 align: 0.5 0.5;
1117 rel1.to_x: "tab_bevel_top2";
1118 rel1.to_y: "tabmiddle";
1119 rel2.to_x: "tab_bevel_top2";
1120 rel2.to_y: "tabmiddle";
1121 visible: 0;
1122 fixed: 1 1;
1123 }
1124 description { state: "tab" 0.0;
1125 inherit: "default" 0.0;
1126 visible: 1;
1127 }
1128 }
1129 part { name: "tablimit0"; type: SPACER;
1130 description { state: "default" 0.0;
1131 rel1.to_y: "terminology.tab";
1132 rel1.relative: 0.0 1.0;
1133 rel2.to_y: "terminology.tab.title";
1134 align: 0.0 0.0;
1135 fixed: 1 1;
1136 }
1137 }
1138
1139 part { name: "tableft"; type: RECT;
1140 mouse_events: 0;
1141 description { state: "default" 0.0;
1142 rel2.to_x: "terminology.tab";
1143 rel2.to_y: "tabmiddle";
1144 rel2.relative: 0.0 1.0;
1145 color: 0 0 0 0;
1146 visible: 0;
1147 fixed: 1 1;
1148 }
1149 description { state: "tab" 0.0;
1150 inherit: "default" 0.0;
1151 visible: 1;
1152 }
1153 }
1154 part { name: "tabright"; type: RECT;
1155 mouse_events: 0;
1156 description { state: "default" 0.0;
1157 rel1.to: "terminology.tab";
1158 rel1.relative: 1.0 0.0;
1159 rel2.to_y: "tabmiddle";
1160 color: 0 0 0 0;
1161 visible: 0;
1162 fixed: 1 1;
1163 }
1164 description { state: "tab" 0.0;
1165 inherit: "default" 0.0;
1166 visible: 1;
1167 }
1168 }
1169 part { name: "tabmiddle"; type: RECT;
1170 description { state: "default" 0.0;
1171 rel1.to: "terminology.tab";
1172 rel2.to_x: "terminology.tab";
1173 rel2.to_y: "tablimit0";
1174 rel2.offset: -1 0;
1175 color: 0 0 0 0;
1176 align: 0.0 0.0;
1177 visible: 0;
1178 fixed: 1 1;
1179 }
1180 description { state: "tab" 0.0;
1181 inherit: "default" 0.0;
1182 visible: 1;
1183 }
1184 }
1185
1186 ////////////////////////////////////////////////////////////////////
672 // visual bell - spinning red siren light 1187 // visual bell - spinning red siren light
673 part { name: "bell_glow"; 1188 part { name: "bell_glow";
674 mouse_events: 0; 1189 mouse_events: 0;
@@ -813,7 +1328,7 @@ collections {
813 transition: LINEAR 0.9; 1328 transition: LINEAR 0.9;
814 target: "bell_strobe"; 1329 target: "bell_strobe";
815 } 1330 }
816 1331
817 //////////////////////////////////////////////////////////////////// 1332 ////////////////////////////////////////////////////////////////////
818 // popup media over the terminal (until dismissed) 1333 // popup media over the terminal (until dismissed)
819 part { name: "popmedia_clip"; type: RECT; 1334 part { name: "popmedia_clip"; type: RECT;
@@ -1111,6 +1626,146 @@ collections {
1111 } 1626 }
1112 } 1627 }
1113 1628
1629 group { name: "terminology/tabbar_back";
1630 images {
1631 image: "tab_base_l1.png" COMP;
1632 image: "tab_base_m.png" COMP;
1633 image: "tab_base_r1.png" COMP;
1634 image: "tab_other_l.png" COMP;
1635 image: "tab_other_m.png" COMP;
1636 image: "tab_other_r.png" COMP;
1637 image: "tab_shad_l2.png" COMP;
1638 image: "tab_shad_r2.png" COMP;
1639 }
1640 parts {
1641 part { name: "tab_bevel_shad1";
1642 mouse_events: 0;
1643 clip_to: "clip";
1644 description { state: "default" 0.0;
1645 rel1.to: "tab_bevel_top1";
1646 rel2.to: "tab_bevel_top1";
1647 image.normal: "tab_shad_l2.png";
1648 image.border: 0 0 10 10;
1649 fill.smooth: 0;
1650 }
1651 }
1652 part { name: "tab_bevel_shad3";
1653 mouse_events: 0;
1654 clip_to: "clip";
1655 description { state: "default" 0.0;
1656 rel1.to: "tab_bevel_top3";
1657 rel2.to: "tab_bevel_top3";
1658 image.normal: "tab_shad_r2.png";
1659 image.border: 0 0 10 10;
1660 fill.smooth: 0;
1661 }
1662 }
1663 part { name: "tab_base_top1";
1664 mouse_events: 0;
1665 clip_to: "clip";
1666 description { state: "default" 0.0;
1667 rel1.to: "tab_bevel_top1";
1668 rel2.to: "tab_bevel_top1";
1669 image.normal: "tab_other_l.png";
1670 image.border: 0 0 4 4;
1671 fill.smooth: 0;
1672 }
1673 }
1674 part { name: "tab_base_top2";
1675 mouse_events: 0;
1676 clip_to: "clip";
1677 description { state: "default" 0.0;
1678 rel1.to: "tab_bevel_top2";
1679 rel2.to: "tab_bevel_top2";
1680 image.normal: "tab_other_m.png";
1681 image.border: 0 0 4 4;
1682 fill.smooth: 0;
1683 }
1684 }
1685 part { name: "tab_base_top3";
1686 mouse_events: 0;
1687 clip_to: "clip";
1688 description { state: "default" 0.0;
1689 rel1.to: "tab_bevel_top3";
1690 rel2.to: "tab_bevel_top3";
1691 image.normal: "tab_other_r.png";
1692 image.border: 0 0 4 4;
1693 fill.smooth: 0;
1694 }
1695 }
1696 part { name: "tab_bevel_top1";
1697 mouse_events: 0;
1698 clip_to: "clip";
1699 description { state: "default" 0.0;
1700 align: 0.0 0.0;
1701 rel1.offset: -4 0;
1702 max: 12 99999;
1703 min: 12 0;
1704 image.normal: "tab_base_l1.png";
1705 image.border: 0 0 4 4;
1706 fill.smooth: 0;
1707 fixed: 1 0;
1708 }
1709 }
1710 part { name: "tab_bevel_top2";
1711 mouse_events: 0;
1712 clip_to: "clip";
1713 description { state: "default" 0.0;
1714 rel1.to: "tab_bevel_top1";
1715 rel1.relative: 1.0 0.0;
1716 rel2.to: "tab_bevel_top3";
1717 rel2.relative: 0.0 1.0;
1718 image.normal: "tab_base_m.png";
1719 image.border: 0 0 4 4;
1720 fill.smooth: 0;
1721 }
1722 }
1723 part { name: "tab_bevel_top3";
1724 mouse_events: 0;
1725 clip_to: "clip";
1726 description { state: "default" 0.0;
1727 align: 1.0 0.0;
1728 rel2.offset: 3 -1;
1729 max: 12 99999;
1730 min: 12 0;
1731 image.normal: "tab_base_r1.png";
1732 image.border: 0 0 4 4;
1733 fill.smooth: 0;
1734 fixed: 1 0;
1735 }
1736 }
1737 part { name: "terminology.title"; type: TEXT; mouse_events: 0;
1738 scale: 1;
1739 effect: SHADOW BOTTOM;
1740 description { state: "default" 0.0;
1741 text { font: "Sans:style=Bold"; size: 10;
1742 align: 0.5 0.5;
1743 min: 0 1;
1744 }
1745 align: 0.5 0.5;
1746 color: 0 0 0 255;
1747 color3: 255 255 255 25;
1748 rel1.to: "tab_bevel_top2";
1749 rel2.to: "tab_bevel_top2";
1750 }
1751 }
1752 part { name: "clip"; type: RECT;
1753 description { state: "default" 0.0;
1754 rel2.offset: -1 -2;
1755 }
1756 }
1757 part { name: "event"; type: RECT;
1758 description { state: "default" 0.0;
1759 color: 0 0 0 0;
1760 }
1761 }
1762 program {
1763 signal: "mouse,clicked,1"; source: "event";
1764 action: SIGNAL_EMIT "tab,activate" "terminology";
1765 }
1766 }
1767 }
1768
1114 group { name: "terminology/base"; 1769 group { name: "terminology/base";
1115 images.image: "pm_shadow.png" COMP; 1770 images.image: "pm_shadow.png" COMP;
1116 images.image: "bg_bevel.png" COMP; 1771 images.image: "bg_bevel.png" COMP;
diff --git a/data/themes/images/tab.xcf b/data/themes/images/tab.xcf
new file mode 100644
index 0000000..e4de69b
--- /dev/null
+++ b/data/themes/images/tab.xcf
Binary files differ
diff --git a/data/themes/images/tab_base_bottom.png b/data/themes/images/tab_base_bottom.png
new file mode 100644
index 0000000..96ded37
--- /dev/null
+++ b/data/themes/images/tab_base_bottom.png
Binary files differ
diff --git a/data/themes/images/tab_base_l0.png b/data/themes/images/tab_base_l0.png
new file mode 100644
index 0000000..0e4398f
--- /dev/null
+++ b/data/themes/images/tab_base_l0.png
Binary files differ
diff --git a/data/themes/images/tab_base_l1.png b/data/themes/images/tab_base_l1.png
new file mode 100644
index 0000000..19f633c
--- /dev/null
+++ b/data/themes/images/tab_base_l1.png
Binary files differ
diff --git a/data/themes/images/tab_base_m.png b/data/themes/images/tab_base_m.png
new file mode 100644
index 0000000..8329c85
--- /dev/null
+++ b/data/themes/images/tab_base_m.png
Binary files differ
diff --git a/data/themes/images/tab_base_r0.png b/data/themes/images/tab_base_r0.png
new file mode 100644
index 0000000..f37a933
--- /dev/null
+++ b/data/themes/images/tab_base_r0.png
Binary files differ
diff --git a/data/themes/images/tab_base_r1.png b/data/themes/images/tab_base_r1.png
new file mode 100644
index 0000000..74ab7c2
--- /dev/null
+++ b/data/themes/images/tab_base_r1.png
Binary files differ
diff --git a/data/themes/images/tab_bg_l0.png b/data/themes/images/tab_bg_l0.png
new file mode 100644
index 0000000..9c05cad
--- /dev/null
+++ b/data/themes/images/tab_bg_l0.png
Binary files differ
diff --git a/data/themes/images/tab_bg_l1.png b/data/themes/images/tab_bg_l1.png
new file mode 100644
index 0000000..594b533
--- /dev/null
+++ b/data/themes/images/tab_bg_l1.png
Binary files differ
diff --git a/data/themes/images/tab_bg_r0.png b/data/themes/images/tab_bg_r0.png
new file mode 100644
index 0000000..cdeaf40
--- /dev/null
+++ b/data/themes/images/tab_bg_r0.png
Binary files differ
diff --git a/data/themes/images/tab_bg_r1.png b/data/themes/images/tab_bg_r1.png
new file mode 100644
index 0000000..c5f6fc6
--- /dev/null
+++ b/data/themes/images/tab_bg_r1.png
Binary files differ
diff --git a/data/themes/images/tab_other_l.png b/data/themes/images/tab_other_l.png
new file mode 100644
index 0000000..b02388a
--- /dev/null
+++ b/data/themes/images/tab_other_l.png
Binary files differ
diff --git a/data/themes/images/tab_other_m.png b/data/themes/images/tab_other_m.png
new file mode 100644
index 0000000..87141cb
--- /dev/null
+++ b/data/themes/images/tab_other_m.png
Binary files differ
diff --git a/data/themes/images/tab_other_r.png b/data/themes/images/tab_other_r.png
new file mode 100644
index 0000000..80fd216
--- /dev/null
+++ b/data/themes/images/tab_other_r.png
Binary files differ
diff --git a/data/themes/images/tab_shad_l0.png b/data/themes/images/tab_shad_l0.png
new file mode 100644
index 0000000..689ec45
--- /dev/null
+++ b/data/themes/images/tab_shad_l0.png
Binary files differ
diff --git a/data/themes/images/tab_shad_l1.png b/data/themes/images/tab_shad_l1.png
new file mode 100644
index 0000000..9fd642a
--- /dev/null
+++ b/data/themes/images/tab_shad_l1.png
Binary files differ
diff --git a/data/themes/images/tab_shad_l2.png b/data/themes/images/tab_shad_l2.png
new file mode 100644
index 0000000..0311782
--- /dev/null
+++ b/data/themes/images/tab_shad_l2.png
Binary files differ
diff --git a/data/themes/images/tab_shad_r0.png b/data/themes/images/tab_shad_r0.png
new file mode 100644
index 0000000..689ec45
--- /dev/null
+++ b/data/themes/images/tab_shad_r0.png
Binary files differ
diff --git a/data/themes/images/tab_shad_r1.png b/data/themes/images/tab_shad_r1.png
new file mode 100644
index 0000000..06952a8
--- /dev/null
+++ b/data/themes/images/tab_shad_r1.png
Binary files differ
diff --git a/data/themes/images/tab_shad_r2.png b/data/themes/images/tab_shad_r2.png
new file mode 100644
index 0000000..5c51f45
--- /dev/null
+++ b/data/themes/images/tab_shad_r2.png
Binary files differ