1 group { name: "elm/ews/background/default";
6 description { state: "default" 0.0;
14 Border Decorations Protocol:
16 Receive Signals: all use "elm" as source
17 - elm,state,focus,{on,off}
18 - elm,state,iconified,{on,off}
19 - elm,state,maximized,{on,off}
20 - elm,state,fullscreen,{on,off}
21 - elm,state,alpha,{on,off}
27 - elm,action,fullscreen
28 - elm,action,restore - remove iconified, maximized or fullscreen
31 - elm,action,move,start
32 - elm,action,move,stop
41 image: "shadow.png" COMP;
42 image: "icon_close.png" COMP;
43 image: "icon_arrow_up_right.png" COMP;
44 image: "icon_arrow_down_left.png" COMP;
47 group { name: "elm/ews/decoration/borderless";
49 part { name: "shadow";
52 description { state: "default" 0.0;
68 description { state: "hidden" 0.0;
69 inherit: "default" 0.0;
74 program { signal: "elm,state,alpha,on";
76 action: STATE_SET "hidden" 0.0;
79 program { signal: "elm,state,alpha,off";
81 action: STATE_SET "visible" 0.0;
89 description { state: "default" 0.0;
96 group { name: "elm/ews/decoration/default";
98 part { name: "shadow";
101 description { state: "default" 0.0;
103 normal: "shadow.png";
117 description { state: "hidden" 0.0;
118 inherit: "default" 0.0;
123 program { signal: "elm,state,alpha,on";
125 action: STATE_SET "hidden" 0.0;
128 program { signal: "elm,state,alpha,off";
130 action: STATE_SET "visible" 0.0;
138 description { state: "default" 0.0;
139 // TODO: make me a nice image!
140 color: 200 200 200 255;
146 part { name: "base-text";
149 description { state: "default" 0.0;
155 to_x: "base-buttons";
160 program { signal: "mouse,down,1";
162 action: SIGNAL_EMIT "elm,action,move,start" "elm";
164 program { signal: "mouse,up,1";
166 action: SIGNAL_EMIT "elm,action,move,stop" "elm";
170 part { name: "elm.text.title";
174 description { state: "default" 0.0;
175 color: 255 255 255 255;
186 font: "Sans:style=Bold";
193 part { name: "base-buttons";
196 description { state: "default" 0.0;
197 color: 255 255 255 0;
201 offset: (-24 * 3 -1) 0;
210 part { name: "restore";
213 description { state: "default" 0.0;
214 image.normal: "icon_arrow_down_left.png";
220 offset: (-24 * 3 - 1) 0;
225 offset: (-24 * 2 - 1) 0;
230 program { signal: "mouse,clicked,1";
232 action: SIGNAL_EMIT "elm,action,restore" "elm";
236 part { name: "maximize";
239 description { state: "default" 0.0;
240 image.normal: "icon_arrow_up_right.png";
246 offset: (-24 * 2 - 1) 0;
251 offset: (-24 * 1 - 1) 0;
254 description { state: "maximized" 0.0;
255 inherit: "default" 0.0;
256 color: 255 255 255 96;
259 part { name: "maximize-eventarea";
262 description { state: "default" 0.0;
267 description { state: "maximized" 0.0;
268 inherit: "default" 0.0;
273 program { signal: "mouse,clicked,1";
274 source: "maximize-eventarea";
275 action: SIGNAL_EMIT "elm,action,maximize" "elm";
277 program { signal: "elm,state,maximized,on";
279 action: STATE_SET "maximized" 0.0;
280 target: "maximize-eventarea";
283 program { signal: "elm,state,maximized,off";
285 action: STATE_SET "default" 0.0;
286 target: "maximize-eventarea";
291 part { name: "close";
294 description { state: "default" 0.0;
295 image.normal: "icon_close.png";
301 offset: (-24 * 1 - 1) 0;
306 offset: (-24 * 0 - 1) 0;
311 program { signal: "mouse,clicked,1";
313 action: SIGNAL_EMIT "elm,action,close" "elm";