1 group { name: "e/widgets/toolbar";
2 images.image: "vgrad_med_lighter.png" COMP;
3 images.image: "bevel_out.png" COMP;
4 images.image: "shine.png" COMP;
5 images.image: "shadow_square_tiny.png" COMP;
6 images.image: "sym_left_light_normal.png" COMP;
7 images.image: "sym_right_light_normal.png" COMP;
8 images.image: "sym_left_glow_normal.png" COMP;
9 images.image: "sym_right_glow_normal.png" COMP;
11 part { name: "shadow"; mouse_events: 0;
12 description { state: "default" 0.0;
15 image.normal: "shadow_square_tiny.png";
16 image.border: 6 6 6 6;
21 description { state: "default" 0.0;
22 image.normal: "vgrad_med_lighter.png";
29 part { name: "clipper"; type: RECT;
30 description { state: "default" 0.0;
35 part { name: "e.swallow.content"; type: SWALLOW;
37 description { state: "default" 0.0;
40 // rel1.to: "clipper";
41 // rel2.to: "clipper";
44 part { name: "bevel"; mouse_events: 0;
45 description { state: "default" 0.0;
48 image.normal: "bevel_out.png";
49 image.border: 1 1 1 1;
54 part { name: "e.dragable.hbar"; mouse_events: 0;
57 dragable.confine: "base";
58 description { state: "default" 0.0;
64 part { name: "arrow_clipper"; type: RECT;
65 description { state: "default" 0.0;
67 description { state: "hidden" 0.0;
68 inherit: "default" 0.0;
72 part { name: "arrow1"; mouse_events: 0;
73 clip_to: "arrow_clipper";
74 description { state: "default" 0.0;
77 image.normal: "sym_left_light_normal.png";
80 description { state: "clicked" 0.0;
81 inherit: "default" 0.0;
82 image.normal: "sym_left_glow_normal.png";
85 part { name: "arrow1_ev"; type: RECT;
87 clip_to: "arrow_clipper";
88 description { state: "default" 0.0;
96 part { name: "arrow2"; mouse_events: 0;
97 clip_to: "arrow_clipper";
98 description { state: "default" 0.0;
100 rel2.to: "arrow2_ev";
101 image.normal: "sym_right_light_normal.png";
104 description { state: "clicked" 0.0;
105 inherit: "default" 0.0;
106 image.normal: "sym_right_glow_normal.png";
109 part { name: "arrow2_ev"; type: RECT;
111 clip_to: "arrow_clipper";
112 description { state: "default" 0.0;
120 part { name: "shine"; mouse_events: 0;
121 description { state: "default" 0.0;
122 image.normal: "shine.png";
125 rel2.relative: 1.0 0.0;
134 signal: "e,action,show,hbar"; source: "e";
135 action: STATE_SET "default" 0.0;
136 target: "arrow_clipper";
137 target: "arrow_clipper";
140 signal: "e,action,hide,hbar"; source: "e";
141 action: STATE_SET "hidden" 0.0;
142 target: "arrow_clipper";
143 target: "arrow_clipper";
147 signal: "mouse,down,1*"; source: "arrow1_ev";
148 action: SIGNAL_EMIT "e,action,prev" "e";
149 after: "arrow1_repeat";
151 program { name: "arrow1_repeat";
152 action: SIGNAL_EMIT "e,action,prev" "e";
154 after: "arrow1_repeat";
157 signal: "mouse,up,1"; source: "arrow1_ev";
159 target: "arrow1_repeat";
162 signal: "mouse,down,1*"; source: "arrow1_ev";
163 action: STATE_SET "clicked" 0.0;
167 signal: "mouse,up,1"; source: "arrow1_ev";
168 action: STATE_SET "default" 0.0;
173 signal: "mouse,down,1*"; source: "arrow2_ev";
174 action: SIGNAL_EMIT "e,action,next" "e";
175 after: "arrow2_repeat";
177 program { name: "arrow2_repeat";
178 action: SIGNAL_EMIT "e,action,next" "e";
180 after: "arrow2_repeat";
183 signal: "mouse,up,1"; source: "arrow2_ev";
185 target: "arrow2_repeat";
188 signal: "mouse,down,1*"; source: "arrow2_ev";
189 action: STATE_SET "clicked" 0.0;
193 signal: "mouse,up,1"; source: "arrow2_ev";
194 action: STATE_SET "default" 0.0;
200 group { name: "e/widgets/toolbar/item";
201 images.image: "shadow_inset_bevels.png" COMP;
202 images.image: "shadow_angled_in_sides.png" COMP;
203 images.image: "horizontal_separated_bar_small_glow.png" COMP;
205 part { name: "shadow1"; mouse_events: 0;
206 description { state: "default" 0.0;
207 image.normal: "shadow_inset_bevels.png";
208 image.border: 2 2 0 1;
211 description { state: "selected" 0.0;
212 inherit: "default" 0.0;
216 part { name: "shadow2"; mouse_events: 0;
217 description { state: "default" 0.0;
222 image.normal: "shadow_angled_in_sides.png";
223 image.border: 8 8 0 1;
227 description { state: "selected" 0.0;
228 inherit: "default" 0.0;
232 part { name: "e.swallow.icon"; type: SWALLOW;
233 description { state: "default" 0.0;
236 // aspect_preference: VERTICAL;
237 rel1.relative: 0.0 0.0;
239 rel2.to_y: "e.text.label";
240 rel2.relative: 1.0 0.0;
243 description { state: "noicon" 0.0;
244 inherit: "default" 0.0;
247 rel2.relative: 1.0 0.0;
251 part { name: "e.text.label"; type: TEXT; mouse_events: 0;
252 effect: SHADOW BOTTOM;
254 description { state: "default" 0.0;
256 rel1.relative: 0.0 1.0;
259 color: FN_COL_DEFAULT;
260 color_class: "menu_item";
261 text { font: FN; size: 10;
265 text_class: "menu_item";
269 description { state: "selected" 0.0;
270 inherit: "default" 0.0;
274 part { name: "label2"; type: TEXT; mouse_events: 0;
277 description { state: "default" 0.0;
279 rel1.to: "e.text.label";
281 rel2.to: "e.text.label";
282 color: FN_COL_HIGHLIGHT;
283 color_class: "menu_item_active";
284 text { font: FN; size: 10;
285 text_source: "e.text.label";
287 text_class: "menu_item";
291 description { state: "selected" 0.0;
292 inherit: "default" 0.0;
296 part { name: "bar"; mouse_events: 0;
297 description { state: "default" 0.0;
299 rel1.relative: 0.0 1.0;
303 image.normal: "horizontal_separated_bar_small_glow.png";
304 image.border: 4 4 4 4;
308 description { state: "selected" 0.0;
309 inherit: "default" 0.0;
313 part { name: "event"; type: RECT;
314 ignore_flags: ON_HOLD;
315 description { state: "default" 0.0;
322 signal: "e,icon,disabled"; source: "e";
323 action: STATE_SET "noicon" 0.0;
324 target: "e.swallow.icon";
325 // target: "e.text.label";
328 signal: "e,icon,enabled"; source: "e";
329 action: STATE_SET "default" 0.0;
330 target: "e.swallow.icon";
331 // target: "e.text.label";
334 signal: "e,state,selected"; source: "e";
335 action: STATE_SET "selected" 0.0;
336 target: "e.text.label";
343 signal: "e,state,unselected"; source: "e";
344 action: STATE_SET "default" 0.0;
345 target: "e.text.label";
352 signal: "mouse,up,1"; source: "event";
353 action: SIGNAL_EMIT "e,action,click" "e";