aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/data/themes/default.edc
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary/data/themes/default.edc')
-rw-r--r--legacy/elementary/data/themes/default.edc133
1 files changed, 133 insertions, 0 deletions
diff --git a/legacy/elementary/data/themes/default.edc b/legacy/elementary/data/themes/default.edc
index 2fa7c39914..501105c3c6 100644
--- a/legacy/elementary/data/themes/default.edc
+++ b/legacy/elementary/data/themes/default.edc
@@ -31010,3 +31010,136 @@ collections {
}
}
}
+
+ /* a simple title layout, with a label and two icons */
+ group { name: "elm/layout/application/titlebar";
+ images {
+ image: "bt_dis_shine.png" COMP;
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 30;
+ max: 99999 30;
+ color: 0 0 0 255;
+ }
+ }
+ part { name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ rel1.offset: -1 -1;
+ rel2.offset: 0 0;
+ image { normal: "bt_dis_shine.png";
+ border: 4 4 4 4;
+ }
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 12 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.0 1.0;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 {
+ to: "base";
+ relative: 1.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ offset: -13 -1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ rel1 {
+ to_x: "elm.swallow.icon";
+ to_y: "base";
+ relative: 1.0 0.0;
+ offset: 2 0;
+ }
+ rel2 {
+ to_x: "elm.swallow.end";
+ to_y: "base";
+ relative: 0.0 1.0;
+ offset: -3 -1;
+ }
+ text {
+ font: "Sans";
+ size: 12;
+ min: 0 0;
+ align: 0.0 0.5;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "show_icon";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "hide_icon";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program { name: "show_end";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program { name: "hide_end";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ }
+ }
+}