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