aboutsummaryrefslogtreecommitdiffstats
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
parentreset also removes the scrollback. Closes T1891 (diff)
downloadterminology-5ed68d82b2f147f5b365e2773ef8c2ab8e444531.tar.gz
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 {
action: STATE_SET "movie" 0.0;
target: "terminology.background";
}
-
+
+ part { name: "terminology.tabregion"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel2.relative: 1.0 0.0;
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
////////////////////////////////////////////////////////////////////
// actual text grid for chars, cursors, selectiond etc. goes here
part { name: "terminology.content"; type: SWALLOW;
description { state: "default" 0.0;
- rel1.offset: 1 1;
+ rel1.offset: 1 0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "terminology.tabregion";
rel2.offset: -2 -2;
}
}
}
}
-
+
//// the background and general container for the terminal
group { name: "terminology/background";
images {
@@ -201,6 +211,20 @@ collections {
image: "pm_overlay.png" COMP;
image: "pm_fill.png" COMP;
image: "cr_glow.png" COMP;
+ image: "tab_base_bottom.png" COMP;
+ image: "tab_base_l0.png" COMP;
+ image: "tab_base_l1.png" COMP;
+ image: "tab_base_m.png" COMP;
+ image: "tab_base_r0.png" COMP;
+ image: "tab_base_r1.png" COMP;
+ image: "tab_bg_l0.png" COMP;
+ image: "tab_bg_l1.png" COMP;
+ image: "tab_bg_r0.png" COMP;
+ image: "tab_bg_r1.png" COMP;
+ image: "tab_shad_l0.png" COMP;
+ image: "tab_shad_l1.png" COMP;
+ image: "tab_shad_r0.png" COMP;
+ image: "tab_shad_r1.png" COMP;
}
set { name: "bg_shadow";
image { image: "bg_shadow.png" COMP; size: 0 0 200 150; }
@@ -255,6 +279,11 @@ collections {
part { name: "terminology.content"; type: SWALLOW;
description { state: "default" 0.0;
}
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+// rel1.to_y: "tabmiddle";
+// rel1.relative: 0.0 1.0;
+ }
}
////////////////////////////////////////////////////////////////////
@@ -459,8 +488,10 @@ collections {
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: -3 2;
+ rel1.to: "viewregion";
rel2.relative: 1.0 0.0;
rel2.offset: -3 2;
+ rel2.to: "viewregion";
align: 1.0 0.0;
min: 16 16;
}
@@ -475,6 +506,27 @@ collections {
}
}
+ part { name: "terminology.tabregion"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "terminology.content";
+ rel2.to: "viewregion";
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "viewregion"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "terminology.content";
+ rel2.to: "terminology.content";
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_y: "tabmiddle";
+ rel1.relative: 0.0 1.0;
+ }
+ }
+
program {
signal: "mouse,in"; source: "tabcount_ev";
action: STATE_SET "over" 0.0;
@@ -509,14 +561,14 @@ collections {
signal: "mouse,clicked,1"; source: "tabcount_ev";
action: SIGNAL_EMIT "tabcount,go" "terminology";
}
- program {
- signal: "mouse,wheel,0,-1"; source: "tabcount_ev";
- action: SIGNAL_EMIT "tabcount,prev" "terminology";
- }
- program {
- signal: "mouse,wheel,0,1"; source: "tabcount_ev";
- action: SIGNAL_EMIT "tabcount,next" "terminology";
- }
+ program {
+ signal: "mouse,wheel,0,-1"; source: "tabcount_ev";
+ action: SIGNAL_EMIT "tabcount,prev" "terminology";
+ }
+ program {
+ signal: "mouse,wheel,0,1"; source: "tabcount_ev";
+ action: SIGNAL_EMIT "tabcount,next" "terminology";
+ }
program {
signal: "tabcount,off"; source: "terminology";
action: STATE_SET "default" 0.0;
@@ -553,8 +605,12 @@ collections {
// miniview
part { name: "terminology.miniview"; type: SWALLOW;
description { state: "default" 0.0;
+ rel1.to_x: "terminology.content";
+ rel1.to_y: "viewregion";
+ rel2.to: "terminology.content";
//color: 255 255 255 0;
visible: 0;
+ fixed: 1 1;
}
description { state: "on" 0.0;
inherit: "default" 0.0;
@@ -602,10 +658,34 @@ collections {
image.middle: 0;
fill.smooth: 0;
}
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "shine";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ image.normal: "bg_shine.png";
+ fill.smooth: 0;
+ align: 0.5 0.0;
+ aspect: (255/120) (255/120);
+ aspect_preference: HORIZONTAL;
+ color: 255 255 255 64;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
}
part { name: "glintclip"; type: RECT;
description { state: "default" 0.0;
}
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ }
}
part { name: "glint";
mouse_events: 0;
@@ -630,21 +710,260 @@ collections {
color: 255 255 255 255;
}
}
- part { name: "shine";
+
+ part { name: "tab_bevel_bottom";
mouse_events: 0;
description { state: "default" 0.0;
- rel1.offset: 0 0;
- rel2.offset: -1 -1;
- image.normal: "bg_shine.png";
+ rel1.to_y: "tabmiddle";
+ rel1.relative: 0.0 1.0;
+ image.normal: "tab_base_bottom.png";
+ image.border: 2 2 0 2;
+ image.middle: 0;
fill.smooth: 0;
- align: 0.5 0.0;
- aspect: (255/120) (255/120);
- aspect_preference: HORIZONTAL;
- color: 255 255 255 64;
+ visible: 0;
+ fixed: 1 1;
}
- description { state: "focused" 0.0;
+ description { state: "tab" 0.0;
inherit: "default" 0.0;
- color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_top0";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tableft";
+ rel2.to_y: "tableft";
+ rel2.to_x: "tab_bevel_top1";
+ rel2.relative: 0.0 1.0;
+ image.normal: "tab_base_l0.png";
+ image.border: 0 0 0 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_top1";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tabmiddle";
+ rel1.offset: -4 0;
+ rel2.to: "tabmiddle";
+ align: 0.0 0.0;
+ max: 12 99999;
+ min: 12 0;
+ image.normal: "tab_base_l1.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_top2";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top1";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "tab_bevel_top3";
+ rel2.relative: 0.0 1.0;
+ image.normal: "tab_base_m.png";
+ image.border: 0 0 4 0;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_top3";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tabmiddle";
+ rel2.to: "tabmiddle";
+ rel2.offset: 3 -1;
+ align: 1.0 0.0;
+ max: 12 99999;
+ min: 12 0;
+ image.normal: "tab_base_r1.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_top4";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to_y: "tabright";
+ rel1.to_x: "tab_bevel_top3";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "tabright";
+ image.normal: "tab_base_r0.png";
+ image.border: 0 0 0 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_bg0";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top0";
+ rel2.to: "tab_bevel_top0";
+ image.normal: "tab_bg_l0.png";
+ image.border: 2 0 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_bg1";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top1";
+ rel2.to: "tab_bevel_top1";
+ image.normal: "tab_bg_l1.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_bg3";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top3";
+ rel2.to: "tab_bevel_top3";
+ image.normal: "tab_bg_r1.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_bg4";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top4";
+ rel2.to: "tab_bevel_top4";
+ image.normal: "tab_bg_r0.png";
+ image.border: 0 2 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ part { name: "terminology.tabl.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "tableft";
+ rel2.to: "tableft";
+ fixed: 1 1;
+ }
+ }
+ part { name: "terminology.tabr.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "tabright";
+ rel2.to: "tabright";
+ fixed: 1 1;
+ }
+ }
+
+ part { name: "tab_bevel_shad0";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top0";
+ rel2.to: "tab_bevel_top0";
+ image.normal: "tab_shad_l0.png";
+ image.border: 0 0 0 10;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_shad1";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top1";
+ rel2.to: "tab_bevel_top1";
+ image.normal: "tab_shad_l1.png";
+ image.border: 0 0 10 10;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_shad3";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top3";
+ rel2.to: "tab_bevel_top3";
+ image.normal: "tab_shad_r1.png";
+ image.border: 0 0 10 10;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tab_bevel_shad4";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top4";
+ rel2.to: "tab_bevel_top4";
+ image.normal: "tab_shad_r0.png";
+ image.border: 0 0 0 10;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
}
}
program {
@@ -669,6 +988,202 @@ collections {
}
////////////////////////////////////////////////////////////////////
+ // a swallow to hold a finger size rect for min tab size
+ program {
+ signal: "tabbar,on"; source: "terminology";
+ action: STATE_SET "tab" 0.0;
+ target: "viewregion";
+ target: "tableft";
+ target: "tabmiddle";
+ target: "tabright";
+ target: "bevel";
+ target: "glintclip";
+ target: "tab_bevel_bottom";
+ target: "tab_bevel_top0";
+ target: "tab_bevel_top1";
+ target: "tab_bevel_top2";
+ target: "tab_bevel_top3";
+ target: "tab_bevel_top4";
+ target: "tab_bevel_bg0";
+ target: "tab_bevel_bg1";
+ target: "tab_bevel_bg3";
+ target: "tab_bevel_bg4";
+ target: "tab_bevel_shad0";
+ target: "tab_bevel_shad1";
+ target: "tab_bevel_shad3";
+ target: "tab_bevel_shad4";
+ target: "tabtitle";
+ }
+ program {
+ signal: "tabbar,off"; source: "terminology";
+ action: STATE_SET "default" 0.0;
+ target: "viewregion";
+ target: "tableft";
+ target: "tabmiddle";
+ target: "tabright";
+ target: "bevel";
+ target: "glintclip";
+ target: "tab_bevel_bottom";
+ target: "tab_bevel_top0";
+ target: "tab_bevel_top1";
+ target: "tab_bevel_top2";
+ target: "tab_bevel_top3";
+ target: "tab_bevel_top4";
+ target: "tab_bevel_bg0";
+ target: "tab_bevel_bg1";
+ target: "tab_bevel_bg3";
+ target: "tab_bevel_bg4";
+ target: "tab_bevel_shad0";
+ target: "tab_bevel_shad1";
+ target: "tab_bevel_shad3";
+ target: "tab_bevel_shad4";
+ target: "tabtitle";
+ }
+
+ part { name: "terminology.tab"; type: SWALLOW;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "terminology.tabl";
+ rel2.relative: 0.0 0.0;
+ rel2.to_x: "terminology.tabr";
+ align: 0.5 0.0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ // some slot for dragable parts to stayt in along top edge of bg
+ part { name: "tabdrag"; type: SPACER;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ fixed: 1 1;
+ }
+ }
+ // left boundary of the active tab (ragable 0.0 -> 1.0)
+ part { name: "terminology.tabl"; type: SPACER;
+ dragable.x: 1 1 0;
+ dragable.confine: "tabdrag";
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ max: 1 1;
+ fixed: 1 1;
+ }
+ }
+ // right boundary of the active tab (ragable 0.0 -> 1.0)
+ part { name: "terminology.tabr"; type: SPACER;
+ dragable.x: 1 1 0;
+ dragable.confine: "tabdrag";
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ max: 1 1;
+ fixed: 1 1;
+ }
+ }
+
+ part { name: "terminology.tab.title"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SOFT_SHADOW BOTTOM;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 18;
+ text { font: "Sans:style=Bold"; size: 10;
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ align: 0.5 0.0;
+ rel1.to_x: "tab_bevel_top2";
+ rel1.offset: 0 2;
+ rel2.to_x: "tab_bevel_top2";
+ rel2.offset: -1 2;
+ rel2.relative: 1.0 0.0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "tabtitle"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SOFT_SHADOW BOTTOM;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 18;
+ text { font: "Sans:style=Bold"; size: 10;
+ align: 0.5 0.5;
+ min: 0 1;
+ text_source: "terminology.tab.title";
+ }
+ align: 0.5 0.5;
+ rel1.to_x: "tab_bevel_top2";
+ rel1.to_y: "tabmiddle";
+ rel2.to_x: "tab_bevel_top2";
+ rel2.to_y: "tabmiddle";
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tablimit0"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to_y: "terminology.tab";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "terminology.tab.title";
+ align: 0.0 0.0;
+ fixed: 1 1;
+ }
+ }
+
+ part { name: "tableft"; type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel2.to_x: "terminology.tab";
+ rel2.to_y: "tabmiddle";
+ rel2.relative: 0.0 1.0;
+ color: 0 0 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tabright"; type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "terminology.tab";
+ rel1.relative: 1.0 0.0;
+ rel2.to_y: "tabmiddle";
+ color: 0 0 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "tabmiddle"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "terminology.tab";
+ rel2.to_x: "terminology.tab";
+ rel2.to_y: "tablimit0";
+ rel2.offset: -1 0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "tab" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ ////////////////////////////////////////////////////////////////////
// visual bell - spinning red siren light
part { name: "bell_glow";
mouse_events: 0;
@@ -813,7 +1328,7 @@ collections {
transition: LINEAR 0.9;
target: "bell_strobe";
}
-
+
////////////////////////////////////////////////////////////////////
// popup media over the terminal (until dismissed)
part { name: "popmedia_clip"; type: RECT;
@@ -1111,6 +1626,146 @@ collections {
}
}
+ group { name: "terminology/tabbar_back";
+ images {
+ image: "tab_base_l1.png" COMP;
+ image: "tab_base_m.png" COMP;
+ image: "tab_base_r1.png" COMP;
+ image: "tab_other_l.png" COMP;
+ image: "tab_other_m.png" COMP;
+ image: "tab_other_r.png" COMP;
+ image: "tab_shad_l2.png" COMP;
+ image: "tab_shad_r2.png" COMP;
+ }
+ parts {
+ part { name: "tab_bevel_shad1";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top1";
+ rel2.to: "tab_bevel_top1";
+ image.normal: "tab_shad_l2.png";
+ image.border: 0 0 10 10;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "tab_bevel_shad3";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top3";
+ rel2.to: "tab_bevel_top3";
+ image.normal: "tab_shad_r2.png";
+ image.border: 0 0 10 10;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "tab_base_top1";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top1";
+ rel2.to: "tab_bevel_top1";
+ image.normal: "tab_other_l.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "tab_base_top2";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top2";
+ rel2.to: "tab_bevel_top2";
+ image.normal: "tab_other_m.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "tab_base_top3";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top3";
+ rel2.to: "tab_bevel_top3";
+ image.normal: "tab_other_r.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "tab_bevel_top1";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.offset: -4 0;
+ max: 12 99999;
+ min: 12 0;
+ image.normal: "tab_base_l1.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ fixed: 1 0;
+ }
+ }
+ part { name: "tab_bevel_top2";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "tab_bevel_top1";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "tab_bevel_top3";
+ rel2.relative: 0.0 1.0;
+ image.normal: "tab_base_m.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "tab_bevel_top3";
+ mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel2.offset: 3 -1;
+ max: 12 99999;
+ min: 12 0;
+ image.normal: "tab_base_r1.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ fixed: 1 0;
+ }
+ }
+ part { name: "terminology.title"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ text { font: "Sans:style=Bold"; size: 10;
+ align: 0.5 0.5;
+ min: 0 1;
+ }
+ align: 0.5 0.5;
+ color: 0 0 0 255;
+ color3: 255 255 255 25;
+ rel1.to: "tab_bevel_top2";
+ rel2.to: "tab_bevel_top2";
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.offset: -1 -2;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "tab,activate" "terminology";
+ }
+ }
+ }
+
group { name: "terminology/base";
images.image: "pm_shadow.png" COMP;
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