1 group { name: "e/shelf/default/base";
2 alias: "e/shelf/alternate/base";
4 /* this tells e the shelf is shaped, not rectangular */
6 /* this tells e the number of pixels of the shelf to leave "exposed"
7 * when auto-hiding the shelf */
8 item: "hidden_state_size" "2";
9 /* This makes the border hide instantly after the given amount of
10 * seconds - in this case 3 seconds. This means there will be no
11 * visible part of the shelf after this time at all as it will be
13 // item: "instant_delay" "3.0";
15 images.image: "vgrad_med.png" COMP;
16 images.image: "vgrad_tall.png" COMP;
17 images.image: "bevel_out.png" COMP;
18 images.image: "holes_vert.png" COMP;
19 images.image: "holes_horiz.png" COMP;
20 images.image: "shine.png" COMP;
23 description { state: "default" 0.0;
24 image.normal: "vgrad_med.png";
27 color_class: "shelf_base";
29 description { state: "vert" 0.0;
30 image.normal: "vgrad_tall.png";
33 color_class: "shelf_base";
36 part { name: "bevel"; mouse_events: 0;
37 description { state: "default" 0.0;
38 image.normal: "bevel_out.png";
39 image.border: 1 1 1 1;
44 part { name: "dots_start"; mouse_events: 0;
45 description { state: "default" 0.0;
46 image.normal: "holes_vert.png";
48 rel2.relative: 0.0 1.0;
52 description { state: "vert" 0.0;
53 image.normal: "holes_horiz.png";
55 rel2.relative: 1.0 0.0;
60 part { name: "dots_end"; mouse_events: 0;
61 description { state: "default" 0.0;
62 image.normal: "holes_vert.png";
63 rel1.relative: 1.0 0.0;
68 description { state: "vert" 0.0;
69 image.normal: "holes_horiz.png";
70 rel1.relative: 0.0 1.0;
76 part { name: "e.swallow.content"; type: SWALLOW;
77 description { state: "default" 0.0;
79 rel1.relative: 1.0 0.0;
80 rel1.to_x: "dots_start";
82 rel2.to_x: "dots_end";
83 rel2.relative: 0.0 1.0;
85 description { state: "vert" 0.0;
87 rel1.relative: 0.0 1.0;
88 rel1.to_y: "dots_start";
90 rel2.to_y: "dots_end";
91 rel2.relative: 1.0 0.0;
94 part { name: "shine"; mouse_events: 0;
95 description { state: "default" 0.0;
96 image.normal: "shine.png";
98 rel2.relative: 1.0 0.0;
104 #define ORIENT_SATE(_ORIENT, _STATE) \
106 signal: "e,state,orientation,"_ORIENT; source: "e"; \
107 action: STATE_SET _STATE 0.0; \
109 target: "e.swallow.content"; \
110 target: "dots_start"; \
111 target: "dots_end"; \
114 ORIENT_SATE("top", "default")
115 ORIENT_SATE("top_left", "default")
116 ORIENT_SATE("top_right", "default")
117 ORIENT_SATE("bottom", "default")
118 ORIENT_SATE("bottom_left", "default")
119 ORIENT_SATE("bottom_right", "default")
120 ORIENT_SATE("left", "vert")
121 ORIENT_SATE("left_top", "vert")
122 ORIENT_SATE("left_bottom", "vert")
123 ORIENT_SATE("right", "vert")
124 ORIENT_SATE("right_top", "vert")
125 ORIENT_SATE("right_bottom", "vert")
130 group { name: "e/shelf/default/inset";
131 alias: "e/shelf/alternate/inset";
132 alias: "e/shelf/invisible/inset";
133 alias: "e/shelf/translucent/inset";
134 images.image: "horiz_bar_inset.png" COMP;
135 images.image: "vert_bar_inset.png" COMP;
137 part { name: "base"; type: RECT;
138 description { state: "default" 0.0;
142 part { name: "clip"; type: RECT; mouse_events: 0;
143 description { state: "default" 0.0;
146 color: 255 255 255 255;
148 description { state: "vert" 0.0;
151 color: 255 255 255 255;
154 part { name: "e.swallow.content"; type: SWALLOW;
156 description { state: "default" 0.0;
160 description { state: "vert" 0.0;
165 part { name: "inset"; mouse_events: 0;
166 description { state: "default" 0.0;
169 image.normal: "horiz_bar_inset.png";
170 image.border: 7 7 1 1;
174 description { state: "vert" 0.0;
177 image.normal: "vert_bar_inset.png";
178 image.border: 1 1 8 6;
185 #define ORIENT_SATE(_ORIENT, _STATE) \
187 signal: "e,state,orientation,"_ORIENT; source: "e"; \
188 action: STATE_SET _STATE 0.0; \
189 target: "e.swallow.content"; \
193 ORIENT_SATE("top", "default")
194 ORIENT_SATE("top_left", "default")
195 ORIENT_SATE("top_right", "default")
196 ORIENT_SATE("bottom", "default")
197 ORIENT_SATE("bottom_left", "default")
198 ORIENT_SATE("bottom_right", "default")
199 ORIENT_SATE("left", "vert")
200 ORIENT_SATE("left_top", "vert")
201 ORIENT_SATE("left_bottom", "vert")
202 ORIENT_SATE("right", "vert")
203 ORIENT_SATE("right_top", "vert")
204 ORIENT_SATE("right_bottom", "vert")
209 group { name: "e/shelf/invisible/base";
210 inherit: "e/shelf/default/base";
216 description { state: "default" 0.0;
219 description { state: "vert" 0.0;
223 part { name: "bevel";
224 description { state: "default" 0.0;
228 part { name: "shine";
229 description { state: "default" 0.0;
233 part { name: "dots_start"; mouse_events: 1;
234 description { state: "default" 0.0;
241 description { state: "vert" 0.0;
249 part { name: "dots_end";
250 description { state: "default" 0.0;
257 description { state: "vert" 0.0;
268 group { name: "e/shelf/translucent/base";
269 inherit: "e/shelf/default/base";
275 description { state: "default" 0.0;
276 color: 127 127 127 135;
278 description { state: "vert" 0.0;
279 color: 127 127 127 135;
282 part { name: "bevel";
283 description { state: "default" 0.0;
284 color: 127 127 127 135;
287 part { name: "shine";
288 description { state: "default" 0.0;
289 color: 127 127 127 135;
295 group { name: "e/shelf/default/plain";
296 alias: "e/shelf/alternate/plain";
297 alias: "e/shelf/invisible/plain";
298 alias: "e/shelf/translucent/plain";
300 part { name: "base"; type: RECT;
301 description { state: "default" 0.0;
305 part { name: "clip"; type: RECT; mouse_events: 0;
306 description { state: "default" 0.0;
307 color: 255 255 255 255;
310 part { name: "e.swallow.content"; type: SWALLOW;
312 description { state: "default" 0.0;