summaryrefslogtreecommitdiff
path: root/data/themes/edc/packagekit.edc
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/edc/packagekit.edc')
-rw-r--r--data/themes/edc/packagekit.edc186
1 files changed, 124 insertions, 62 deletions
diff --git a/data/themes/edc/packagekit.edc b/data/themes/edc/packagekit.edc
index 3059044..39c1179 100644
--- a/data/themes/edc/packagekit.edc
+++ b/data/themes/edc/packagekit.edc
@@ -1,29 +1,10 @@
1
2images {
3 image: "packagekit_base.png" COMP;
4 image: "packagekit_info_bugfix.png" COMP;
5 image: "packagekit_info_enhancement.png" COMP;
6 image: "packagekit_info_important.png" COMP;
7 image: "packagekit_info_low.png" COMP;
8 image: "packagekit_info_normal.png" COMP;
9 image: "packagekit_info_security.png" COMP;
10 image: "packagekit_work1.png" COMP;
11 image: "packagekit_work2.png" COMP;
12 image: "packagekit_work3.png" COMP;
13 image: "packagekit_work4.png" COMP;
14 image: "packagekit_updated.png" COMP;
15 image: "packagekit_error.png" COMP;
16}
17
18group { name: "icon"; 1group { name: "icon";
19 max: 24 24; 2 max: 24 24;
3 images.image: "packagekit_base.png" COMP;
20 parts { 4 parts {
21 part { name: "image"; 5 part { name: "image"; mouse_events: 0;
22 type: IMAGE;
23 mouse_events: 0;
24 description { state: "default" 0.0; 6 description { state: "default" 0.0;
25 aspect: 1.0 1.0; 7 aspect: 1.0 1.0; aspect_preference: BOTH;
26 aspect_preference: BOTH;
27 image.normal: "packagekit_base.png"; 8 image.normal: "packagekit_base.png";
28 } 9 }
29 } 10 }
@@ -31,94 +12,94 @@ group { name: "icon";
31} 12}
32 13
33group { name: "e/modules/packagekit/icon/bugfix"; 14group { name: "e/modules/packagekit/icon/bugfix";
15 images.image: "icon_spanner.png" COMP;
34 parts { 16 parts {
35 part { name: "image"; type: IMAGE; 17 part { name: "image"; mouse_events: 0;
36 mouse_events: 0;
37 description { state: "default" 0.0; 18 description { state: "default" 0.0;
38 image.normal: "packagekit_info_bugfix.png"; 19 image.normal: "icon_spanner.png";
39 } 20 }
40 } 21 }
41 } 22 }
42} 23}
43 24
44group { name: "e/modules/packagekit/icon/enhancement"; 25group { name: "e/modules/packagekit/icon/enhancement";
26 images.image: "icon_arrow_up.png" COMP;
45 parts { 27 parts {
46 part { name: "image"; type: IMAGE; 28 part { name: "image"; mouse_events: 0;
47 mouse_events: 0;
48 description { state: "default" 0.0; 29 description { state: "default" 0.0;
49 image.normal: "packagekit_info_enhancement.png"; 30 image.normal: "icon_arrow_up.png";
50 } 31 }
51 } 32 }
52 } 33 }
53} 34}
54 35
55group { name: "e/modules/packagekit/icon/important"; 36group { name: "e/modules/packagekit/icon/important";
37 images.image: "icon_warning.png" COMP;
56 parts { 38 parts {
57 part { name: "image"; type: IMAGE; 39 part { name: "image"; mouse_events: 0;
58 mouse_events: 0;
59 description { state: "default" 0.0; 40 description { state: "default" 0.0;
60 image.normal: "packagekit_info_important.png"; 41 image.normal: "icon_warning.png";
61 } 42 }
62 } 43 }
63 } 44 }
64} 45}
65 46
66group { name: "e/modules/packagekit/icon/low"; 47group { name: "e/modules/packagekit/icon/low";
48 images.image: "icon_splat_half.png" COMP;
67 parts { 49 parts {
68 part { name: "image"; type: IMAGE; 50 part { name: "image"; mouse_events: 0;
69 mouse_events: 0;
70 description { state: "default" 0.0; 51 description { state: "default" 0.0;
71 image.normal: "packagekit_info_low.png"; 52 image.normal: "icon_splat_half.png";
72 } 53 }
73 } 54 }
74 } 55 }
75} 56}
76 57
77group { name: "e/modules/packagekit/icon/normal"; 58group { name: "e/modules/packagekit/icon/normal";
59 images.image: "icon_splat.png" COMP;
78 parts { 60 parts {
79 part { name: "image"; type: IMAGE; 61 part { name: "image"; mouse_events: 0;
80 mouse_events: 0;
81 description { state: "default" 0.0; 62 description { state: "default" 0.0;
82 image.normal: "packagekit_info_normal.png"; 63 image.normal: "icon_splat.png";
83 } 64 }
84 } 65 }
85 } 66 }
86} 67}
87 68
88group { name: "e/modules/packagekit/icon/security"; 69group { name: "e/modules/packagekit/icon/security";
70 images.image: "icon_system-lock-screen.png" COMP;
89 parts { 71 parts {
90 part { name: "image"; type: IMAGE; 72 part { name: "image"; mouse_events: 0;
91 mouse_events: 0;
92 description { state: "default" 0.0; 73 description { state: "default" 0.0;
93 image.normal: "packagekit_info_security.png"; 74 image.normal: "icon_system-lock-screen.png";
94 } 75 }
95 } 76 }
96 } 77 }
97} 78}
98 79
99group { name: "e/modules/packagekit/main"; 80group { name: "e/modules/packagekit/main";
100 max: 128 128; 81 max: 160 160;
82 images.image: "packagekit_base.png" COMP;
83 images.image: "icon_border_remember.png" COMP;
84 images.image: "glow_exclam.png" COMP;
85 images.image: "glow_round_corners_small.png" COMP;
86 images.image: "knob_round_small_busy.png" COMP;
101 parts { 87 parts {
102 part { name: "base"; type: IMAGE; 88 part { name: "base";
103 description { state: "default" 0.0; 89 description { state: "default" 0.0;
104 aspect: 1.0 1.0; 90 aspect: 1.0 1.0; aspect_preference: BOTH;
105 aspect_preference: BOTH;
106 image.normal: "packagekit_base.png"; 91 image.normal: "packagekit_base.png";
107 } 92 }
108 } 93 }
109 part { name: "status"; type: IMAGE; 94 part { name: "status";
110 description { state: "default" 0.0; 95 description { state: "default" 0.0;
111 aspect: 1.0 1.0; 96 aspect: 1.0 1.0; aspect_preference: BOTH;
112 aspect_preference: BOTH;
113 visible: 0; 97 visible: 0;
98 rel1.relative: (36/160) (60/160);
99 rel2.relative: ((36+88)/160) ((60+88)/160);
114 } 100 }
115 description { state: "running" 0.0; 101 description { state: "running" 0.0;
116 inherit: "default" 0.0; 102 inherit: "default" 0.0;
117 visible: 1;
118 image.normal: "packagekit_work1.png";
119 image.tween: "packagekit_work2.png";
120 image.tween: "packagekit_work3.png";
121 image.tween: "packagekit_work4.png";
122 } 103 }
123 description { state: "updates" 0.0; 104 description { state: "updates" 0.0;
124 inherit: "default" 0.0; 105 inherit: "default" 0.0;
@@ -126,57 +107,138 @@ group { name: "e/modules/packagekit/main";
126 description { state: "updated" 0.0; 107 description { state: "updated" 0.0;
127 inherit: "default" 0.0; 108 inherit: "default" 0.0;
128 visible: 1; 109 visible: 1;
129 image.normal: "packagekit_updated.png"; 110 image.normal: "icon_border_remember.png";
111 max: 16 16;
130 } 112 }
131 description { state: "error" 0.0; 113 description { state: "error" 0.0;
132 inherit: "default" 0.0; 114 inherit: "default" 0.0;
133 visible: 1; 115 visible: 1;
134 image.normal: "packagekit_error.png"; 116 image.normal: "glow_exclam.png";
117 max: 16 16;
135 } 118 }
136 } 119 }
137 part { name: "num_updates"; type: TEXT; 120 part { name: "num_updates"; type: TEXT;
121 scale: 1;
122 effect: SHADOW BOTTOM;
138 description { state: "default" 0.0; 123 description { state: "default" 0.0;
139 text { 124 color: 255 255 255 255;
140 font: FNBD; 125 color3: 0 0 0 128;
141 size: 11; 126 text { font: FNBD; size: 10;
142 align: 0.5 0.8;
143 } 127 }
144 } 128 }
145 } 129 }
130 part { name: "busy_clip"; type: RECT;
131 description { state: "default" 0.0;
132 color: 255 255 255 0;
133 visible: 0;
134 }
135 description { state: "busy" 0.0;
136 inherit: "default" 0.0;
137 color: 255 255 255 255;
138 visible: 1;
139 }
140 }
141 part { name: "knob"; mouse_events: 0;
142 clip_to: "busy_clip";
143 description { state: "default" 0.0;
144 fixed: 1 1;
145 image.normal: "knob_round_small_busy.png";
146 aspect: 1.0 1.0; aspect_preference: VERTICAL;
147 max: 20 20;
148 rel1.relative: (36/160) (60/160);
149 rel2.relative: ((36+88)/160) ((60+88)/160);
150 }
151 }
152 part { name: "knob_spinner"; mouse_events: 0;
153 clip_to: "busy_clip";
154 description { state: "default" 0.0;
155 fixed: 1 1;
156 rel1.to: "knob";
157 rel2.to: "knob";
158 image.normal: "glow_round_corners_small.png";
159 map.on: 1;
160 map.smooth: 1;
161 map.rotation.center: "knob";
162 }
163 description { state: "spin" 0.0;
164 inherit: "default" 0.0;
165 map.rotation.z: 360;
166 }
167 }
168
146 } 169 }
147 programs { 170 programs {
171 program { name: "spin";
172 signal: "e,state,hung"; source: "e";
173 action: STATE_SET "spin" 0.0;
174 transition: LINEAR 1.0;
175 target: "knob_spinner";
176 after: "spin2";
177 }
178 program { name: "spin2";
179 action: STATE_SET "default" 0.0;
180 target: "knob_spinner";
181 after: "spin";
182 }
183 program { name: "busy-on";
184 signal: "e,state,hung"; source: "e";
185 action: STATE_SET "busy" 0.0;
186 transition: SINUSOIDAL 0.25;
187 target: "busy_clip";
188 }
189 program { name: "busy-off";
190 signal: "e,state,unhung"; source: "e";
191 action: STATE_SET "default" 0.0;
192 transition: SINUSOIDAL 1.0;
193 target: "busy_clip";
194 after: "spin3";
195 }
196 program { name: "spin3";
197 action: ACTION_STOP;
198 target: "spin";
199 target: "spin2";
200 after: "spin4";
201 }
202 program { name: "spin4";
203 action: STATE_SET "default" 0.0;
204 target: "knob_spinner";
205 }
206
148 program { 207 program {
149 signal: "packagekit,state,none"; source: "e"; 208 signal: "packagekit,state,none"; source: "e";
150 action: STATE_SET "default" 0.0; 209 action: STATE_SET "default" 0.0;
151 target: "status"; 210 target: "status";
211 after: "busy-off";
152 } 212 }
153 program { 213 program {
154 signal: "packagekit,state,working"; source: "e"; 214 signal: "packagekit,state,working"; source: "e";
155 action: STATE_SET "running" 0.0; 215 action: STATE_SET "running" 0.0;
156 target: "status"; 216 target: "status";
157 after: "running"; 217 after: "spin";
158 } 218 }
159 program { 219 program {
160 name: "running"; 220 signal: "packagekit,state,working"; source: "e";
161 action: STATE_SET "running" 0.0; 221 action: STATE_SET "running" 0.0;
162 target: "status"; 222 target: "status";
163 transition: LINEAR 0.3; 223 after: "busy-on";
164 after: "running";
165 } 224 }
166 program { 225 program {
167 signal: "packagekit,state,updates"; source: "e"; 226 signal: "packagekit,state,updates"; source: "e";
168 action: STATE_SET "updates" 0.0; 227 action: STATE_SET "updates" 0.0;
169 target: "status"; 228 target: "status";
229 after: "busy-off";
170 } 230 }
171 program { 231 program {
172 signal: "packagekit,state,updated"; source: "e"; 232 signal: "packagekit,state,updated"; source: "e";
173 action: STATE_SET "updated" 0.0; 233 action: STATE_SET "updated" 0.0;
174 target: "status"; 234 target: "status";
235 after: "busy-off";
175 } 236 }
176 program { 237 program {
177 signal: "packagekit,state,error"; source: "e"; 238 signal: "packagekit,state,error"; source: "e";
178 action: STATE_SET "error" 0.0; 239 action: STATE_SET "error" 0.0;
179 target: "status"; 240 target: "status";
241 after: "busy-off";
180 } 242 }
181 } 243 }
182} 244}