summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Volz <linux@brachttal.net>2009-04-18 16:05:01 +0000
committerAndreas Volz <linux@brachttal.net>2009-04-18 16:05:01 +0000
commit38c3c7062156ac922dbf95b25d53ceb86c7d1e8a (patch)
tree6e2abd5ff2f95cf68e883258786f713a525afb40
parent1f07bd352d683112d31e3e2f9446603b49fad2ec (diff)
added blingbling version of taskbar
SVN revision: 40172
-rw-r--r--blingbling.edc1
-rw-r--r--default_taskbar.edc258
-rw-r--r--e17_button_sm2_urgent.pngbin0 -> 2236 bytes
3 files changed, 259 insertions, 0 deletions
diff --git a/blingbling.edc b/blingbling.edc
index 2753242..4a38206 100644
--- a/blingbling.edc
+++ b/blingbling.edc
@@ -77,4 +77,5 @@ collections {
77#include "default_slidesel.edc" 77#include "default_slidesel.edc"
78#include "default_mixer.edc" 78#include "default_mixer.edc"
79#include "default_connman.edc" 79#include "default_connman.edc"
80#include "default_taskbar.edc"
80} 81}
diff --git a/default_taskbar.edc b/default_taskbar.edc
new file mode 100644
index 0000000..2a975a0
--- /dev/null
+++ b/default_taskbar.edc
@@ -0,0 +1,258 @@
1images {
2 image: "e17_button_sm2.png" COMP;
3 image: "e17_button_sm2_urgent.png" COMP;
4 image: "e17_button_sm_disabled.png" COMP;
5 image: "focus.png" COMP;
6}
7 group {
8 name: "modules/taskbar/item";
9 parts {
10 // app icon clip
11 part {
12 name: "item_clip";
13 type: RECT;
14 description {
15 state: "default" 0.0;
16 color: 255 255 255 255;
17 }
18 description {
19 state: "faded" 0.0;
20 color: 255 255 255 64;
21 }
22 }
23 part {
24 name: "button_image";
25 type: IMAGE;
26 mouse_events: 1;
27 description {
28 state: "default" 0.0;
29 //min: 56 16;
30 // bigger so we have some room for text
31 min: 80 16;
32 image {
33 normal: "e17_button_sm_disabled.png";
34 border: 8 8 8 8;
35 }
36 }
37 description {
38 state: "iconified" 0.0;
39 inherit: "default" 0.0;
40 rel1 {
41 relative: 0.0 0.3;
42 }
43 rel2 {
44 relative: 1.0 1.0;
45 }
46 }
47
48 }
49 part {
50 name: "button_image_gold";
51 type: IMAGE;
52 mouse_events: 0;
53 description {
54 state: "default" 0.0;
55 min: 56 16;
56 image {
57 normal: "e17_button_sm2.png";
58 border: 8 8 8 8;
59 }
60 color: 255 255 255 0;
61 }
62 description {
63 state: "focused" 0.0;
64 inherit: "default" 0.0;
65 color: 255 255 255 255;
66 }
67 }
68 part {
69 name: "button_image_urgent";
70 type: IMAGE;
71 mouse_events: 0;
72 description {
73 state: "default" 0.0;
74 min: 56 16;
75 image {
76 normal: "e17_button_sm2_urgent.png";
77 border: 8 8 8 8;
78 }
79 color: 255 255 255 0;
80 }
81 description {
82 state: "active" 0.0;
83 inherit: "default" 0.0;
84 color: 255 255 255 255;
85 }
86 }
87 // icon display region on button
88 part {
89 name: "item";
90 type: SWALLOW;
91 mouse_events: 0;
92 clip_to: "item_clip";
93 description {
94 state: "default" 0.0;
95 aspect: 1.0 1.0;
96 aspect_preference: BOTH;
97 align: 0.0 0.5;
98 rel1 {
99 relative: 0.0 0.0;
100 to: "button_image";
101 offset: 8 8;
102 }
103 rel2 {
104 relative: 1.0 1.0;
105 to: "button_image";
106 offset: 7 -9;
107 }
108 // don't let it grow to large
109 max: 16 16;
110 }
111 }
112 part {
113 name: "focus";
114 mouse_events: 0;
115 description {
116 state: "default" 0.0;
117 visible: 0;
118 image {
119 normal: "focus.png";
120 border: 7 7 7 7;
121 middle: 0;
122 }
123 fill {
124 smooth: 0;
125 }
126 rel1 {
127 relative: 0.0 0.0;
128 to: "button_image";
129 }
130 rel2 {
131 relative: 1.0 1.0;
132 to: "button_image";
133 }
134 color: 255 255 255 0;
135 }
136 description {
137 state: "focused" 0.0;
138 inherit: "default" 0.0;
139 visible: 1;
140
141 color: 255 255 255 255;
142 }
143 }
144 part {
145 name: "label";
146 type: TEXT;
147 effect: SOFT_SHADOW;
148 mouse_events: 0;
149 description {
150 state: "default" 0.0;
151 rel1 {
152 relative: 1.0 0.0;
153 offset: 0 8;
154 to_x: "item";
155 to_y: "button_image";
156 }
157 rel2 {
158 relative: 1.0 1.0;
159 offset: -8 -8;
160 to: "button_image";
161 }
162 // text color on button face
163 color: 255 255 255 255;
164 color3: 0 0 0 42;
165 text {
166 text: "Icon Name";
167 font: "Edje-Vera-Bold";
168 size: 10;
169 align: 0.5 0.5;
170 min: 0 1;
171 text_class: "module_normal";
172 }
173 }
174 }
175 part {
176 name: "over";
177 type: RECT;
178 repeat_events: 0;
179 mouse_events: 1;
180 description {
181 state: "default" 0.0;
182 color: 0 0 0 0;
183 }
184 }
185 }
186 programs {
187 program {
188 name: "iconified";
189 signal: "iconified";
190 source: "";
191 action: STATE_SET "iconified" 0.0;
192 transition: LINEAR 0.0;
193 target: "button_image";
194 }
195 program {
196 name: "uniconified";
197 signal: "uniconified";
198 source: "";
199 action: STATE_SET "focused" 0.0;
200 transition: LINEAR 0.0;
201 target: "button_image";
202 }
203 program {
204 name: "urgent";
205 signal: "urgent";
206 source: "";
207 after: "go_urgent";
208 }
209 program {
210 name: "go_urgent";
211 action: STATE_SET "active" 0.0;
212 transition: LINEAR 0.5;
213 target: "button_image_urgent";
214 after: "go_urgent2";
215 }
216 program {
217 name: "go_urgent2";
218 action: STATE_SET "default" 0.0;
219 transition: LINEAR 0.5;
220 target: "button_image_urgent";
221 after: "go_urgent";
222 }
223 program {
224 name: "not_urgent";
225 signal: "not_urgent";
226 source: "";
227 action: ACTION_STOP;
228 target: "go_urgent";
229 target: "go_urgent2";
230 target: "go_not_urgent";
231 after: "go_not_urgent";
232 }
233 program {
234 name: "go_not_urgent";
235 action: STATE_SET "default" 0.0;
236 transition: LINEAR 0.5;
237 target: "button_image_urgent";
238 }
239
240 program {
241 name: "focused";
242 signal: "focused";
243 source: "";
244 action: STATE_SET "focused" 0.0;
245 transition: LINEAR 0.5;
246 target: "button_image_gold";
247 }
248 program {
249 name: "unfocused";
250 signal: "unfocused";
251 source: "";
252 action: STATE_SET "default" 0.0;
253 transition: LINEAR 0.5;
254 target: "button_image_gold";
255 }
256 }
257 }
258
diff --git a/e17_button_sm2_urgent.png b/e17_button_sm2_urgent.png
new file mode 100644
index 0000000..a5ce662
--- /dev/null
+++ b/e17_button_sm2_urgent.png
Binary files differ