aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libraries/winFang.edc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libraries/winFang.edc121
1 files changed, 66 insertions, 55 deletions
diff --git a/src/libraries/winFang.edc b/src/libraries/winFang.edc
index 6942aef..2b409ef 100644
--- a/src/libraries/winFang.edc
+++ b/src/libraries/winFang.edc
@@ -19,20 +19,13 @@ collections
19 { 19 {
20 part 20 part
21 { name: "winFang/background"; 21 { name: "winFang/background";
22 type: IMAGE; 22 type: SWALLOW;
23 // Ignore mouse events. 23 mouse_events: 1;
24 mouse_events: 0; 24
25 // Each part has one or more descriptions, or states.
26 // They all have to have at least this default state.
27 description 25 description
28 { state: "default" 0.0; 26 { state: "default" 0.0;
29 // RGBA, so this is purple, and semi transparent.
30// color: 50 0 100 100; // pre multiplied R = (r * a) / 255
31 color: 126 0 255 100; // r = (R * 255) / a
32 aspect_preference: HORIZONTAL;
33 image{normal: "sky_04.jpg";}
34 } 27 }
35 } 28 } // winFang/background
36 29
37 part 30 part
38 { name: "winFang/underlay"; 31 { name: "winFang/underlay";
@@ -41,16 +34,6 @@ collections
41 34
42 description 35 description
43 { state: "default" 0.0; 36 { state: "default" 0.0;
44 rel1
45 {
46 relative: 0.0 0.0;
47 to: "winFang/background";
48 }
49 rel2
50 {
51 relative: 1.0 1.0;
52 to: "winFang/background";
53 }
54 } 37 }
55 } // winFang/underlay 38 } // winFang/underlay
56 39
@@ -61,14 +44,7 @@ collections
61 44
62 description 45 description
63 { state: "default" 0.0; 46 { state: "default" 0.0;
64 fixed: 0 1; 47 fixed: 1 0;
65 visible: 0;
66 }
67
68 description
69 { state: "internal" 0.0;
70 inherit: "default" 0;
71 visible: 1;
72 rel1 48 rel1
73 { 49 {
74 relative: 0.0 0.0; 50 relative: 0.0 0.0;
@@ -77,59 +53,87 @@ collections
77 rel2 53 rel2
78 { 54 {
79 relative: 1.0 0.0; 55 relative: 1.0 0.0;
56 offset: 0 20;
57 to: "winFang/background";
58 }
59 }
60 description
61 { state: "main" 0.0;
62 inherit: "default";
63 visible: 0;
64 rel2
65 {
66 relative: 1.0 0.0;
67 offset: 0 0;
80 to: "winFang/background"; 68 to: "winFang/background";
81 offset: 0 15;
82 } 69 }
83 } 70 }
84 } 71 }
85 72
86 part 73 part
87 { name: "winFang/box"; 74 { name: "winFang/toolbar";
88 type: BOX; 75 type: SWALLOW;
89 mouse_events: 1; 76 mouse_events: 1;
90 77
91 description 78 description
92 { 79 { state: "default" 0.0;
93 state: "default" 0.0; 80 fixed: 1 0;
94 fixed: 0 0; 81 visible: 0;
95 box{layout: "vertical";}
96 rel1 82 rel1
97 { 83 {
98 relative: 0.0 0.0; 84 relative: 0.0 1.0;
99 to: "winFang/background"; 85 to: "winFang/title";
100 } 86 }
101 rel2 87 rel2
102 { 88 {
103 relative: 1.0 1.0; 89 relative: 1.0 1.0;
104 to: "winFang/background"; 90 offset: 0 0;
91 to: "winFang/title";
92 }
93 }
94 description
95 { state: "toolbar" 0.0;
96 inherit: "default";
97 visible: 1;
98 rel2
99 {
100 relative: 1.0 1.0;
101 offset: 0 50;
102 to: "winFang/title";
105 } 103 }
106 } 104 }
105 }
106
107 part
108 { name: "winFang/box";
109 type: SWALLOW;
110 mouse_events: 1;
107 111
108 description 112 description
109 { state: "internal" 0.0; 113 {
110 inherit: "default" 0; 114 state: "default" 0.0;
115 fixed: 0 1;
111 rel1 116 rel1
112 { 117 {
113 relative: 0.0 0.0; 118 relative: 0.0 1.0;
114 to: "winFang/title"; 119 to: "winFang/toolbar";
115 offset: 0 15;
116 } 120 }
117 rel2 121 rel2
118 { 122 {
119 relative: 1.0 1.0; 123 relative: 1.0 1.0;
120 to: "winFang/background"; 124 to: "winFang/background";
121 } 125 }
122 } 126 }
123 } // winFang/box 127 } // winFang/box
124 128
125 part 129 part
126 { name: "winFang/content"; 130 { name: "winFang/grid";
127 type: SWALLOW; 131 type: SWALLOW;
128 mouse_events: 1; 132 mouse_events: 1;
129 133
130 description 134 description
131 { state: "default" 0.0; 135 { state: "default" 0.0;
132 fixed: 0 0; 136 fixed: 0 1;
133 rel1 137 rel1
134 { 138 {
135 relative: 0.0 0.0; 139 relative: 0.0 0.0;
@@ -141,20 +145,27 @@ collections
141 to: "winFang/box"; 145 to: "winFang/box";
142 } 146 }
143 } 147 }
144 } // winFang/content 148 } // winFang/grid
145 149
146 programs 150 programs
147 { 151 {
148 program 152 program
149 { name: "isInternal"; 153 { name: "isToolbar";
150 signal: "isInternal"; 154 signal: "isToolbar";
151 source: "isInternal"; 155 source: "isToolbar";
152 action: STATE_SET "internal" 0.0; 156 action: STATE_SET "toolbar" 0.0;
157 target: "winFang/toolbar";
158 }
159
160 program
161 { name: "isMain";
162 signal: "isMain";
163 source: "isMain";
164 action: STATE_SET "main" 0.0;
153 target: "winFang/title"; 165 target: "winFang/title";
154 target: "winFang/box"; 166 }
155 }
156 } 167 }
157
158 } 168 }
159 } 169 }
160} 170}
171