summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-10-04 01:33:59 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-10-04 01:33:59 +0000
commit13daf7d8bda26414ac91fa814458126fa2ed7c43 (patch)
tree611ba5c8d4f343678a74fd487d2a9654414e6827 /data
parent5fd65740674b6b3b4a523e84c18a96fc312278a7 (diff)
e_scrollbar smart. needs callbacks.
SVN revision: 17150
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc3
-rw-r--r--data/themes/default_scrollbar.edc529
-rw-r--r--data/themes/images/e17_hhandle.pngbin0 -> 1415 bytes
-rw-r--r--data/themes/images/e17_hhandle_down.pngbin0 -> 1234 bytes
-rw-r--r--data/themes/images/e17_hhandle_thumb.pngbin0 -> 384 bytes
-rw-r--r--data/themes/images/e17_hscrollbar_trough.pngbin0 -> 446 bytes
-rw-r--r--data/themes/images/e17_scrollbar_bottom_arrow.pngbin0 -> 610 bytes
-rw-r--r--data/themes/images/e17_scrollbar_bottom_arrow_down.pngbin0 -> 564 bytes
-rw-r--r--data/themes/images/e17_scrollbar_left_arrow.pngbin0 -> 630 bytes
-rw-r--r--data/themes/images/e17_scrollbar_left_arrow_down.pngbin0 -> 592 bytes
-rw-r--r--data/themes/images/e17_scrollbar_right_arrow.pngbin0 -> 646 bytes
-rw-r--r--data/themes/images/e17_scrollbar_right_arrow_down.pngbin0 -> 618 bytes
-rw-r--r--data/themes/images/e17_scrollbar_top_arrow.pngbin0 -> 569 bytes
-rw-r--r--data/themes/images/e17_scrollbar_top_arrow_down.pngbin0 -> 541 bytes
-rw-r--r--data/themes/images/e17_vhandle.pngbin0 -> 1549 bytes
-rw-r--r--data/themes/images/e17_vhandle_down.pngbin0 -> 1400 bytes
-rw-r--r--data/themes/images/e17_vhandle_thumb.pngbin0 -> 406 bytes
-rw-r--r--data/themes/images/e17_vscrollbar_trough.pngbin0 -> 380 bytes
18 files changed, 531 insertions, 1 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index bcf53612d..1fad8c58c 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -46,6 +46,7 @@ collections {
46#include "default_pointer.edc" 46#include "default_pointer.edc"
47#include "default_about.edc" 47#include "default_about.edc"
48#include "default_theme_about.edc" 48#include "default_theme_about.edc"
49#include "default_entry.edc" 49#include "default_entry.edc"
50#include "default_scrollbar.edc"
50} 51}
51 52
diff --git a/data/themes/default_scrollbar.edc b/data/themes/default_scrollbar.edc
new file mode 100644
index 000000000..2e1909939
--- /dev/null
+++ b/data/themes/default_scrollbar.edc
@@ -0,0 +1,529 @@
1images {
2 image: "e17_hscrollbar_trough.png" COMP;
3 image: "e17_scrollbar_left_arrow.png" COMP;
4 image: "e17_scrollbar_left_arrow_down.png" COMP;
5 image: "e17_scrollbar_right_arrow.png" COMP;
6 image: "e17_scrollbar_right_arrow_down.png" COMP;
7 image: "e17_scrollbar_left_arrow.png" COMP;
8 image: "e17_scrollbar_left_arrow_down.png" COMP;
9 image: "e17_hhandle.png" COMP;
10 image: "e17_hhandle_down.png" COMP;
11 image: "e17_hhandle_thumb.png" COMP;
12 image: "e17_vscrollbar_trough.png" COMP;
13 image: "e17_scrollbar_top_arrow.png" COMP;
14 image: "e17_scrollbar_top_arrow_down.png" COMP;
15 image: "e17_scrollbar_bottom_arrow.png" COMP;
16 image: "e17_scrollbar_bottom_arrow_down.png" COMP;
17 image: "e17_scrollbar_top_arrow.png" COMP;
18 image: "e17_scrollbar_top_arrow_down.png" COMP;
19 image: "e17_vhandle.png" COMP;
20 image: "e17_vhandle_down.png" COMP;
21 image: "e17_vhandle_thumb.png" COMP;
22}
23
24group {
25 name: "widgets/hscrollbar";
26 min: 40 16;
27 parts {
28 part {
29 name: "trough";
30 description {
31 state: "default" 0.0;
32 rel1 {
33 relative: 0.0 0.5;
34 offset: 0 -8;
35 }
36 rel2 {
37 relative: 1.0 0.5;
38 offset: -1 9;
39 }
40 image {
41 normal: "e17_hscrollbar_trough.png";
42 border: 6 6 6 6;
43 }
44 }
45 }
46 part {
47 name: "left_left_arrow";
48 description {
49 state: "default" 0.0;
50 rel1 {
51 relative: 0.0 0.5;
52 offset: -1 -8;
53 }
54 rel2 {
55 relative: 0.0 0.5;
56 offset: 16 9;
57 }
58 image {
59 normal: "e17_scrollbar_left_arrow.png";
60 }
61 }
62 description {
63 state: "down" 0.0;
64 inherit: "default" 0.0;
65 image {
66 normal: "e17_scrollbar_left_arrow_down.png";
67 }
68 }
69 }
70 part {
71 name: "right_right_arrow";
72 description {
73 state: "default" 0.0;
74 rel1 {
75 relative: 1.0 0.5;
76 offset: -17 -8;
77 }
78 rel2 {
79 relative: 1.0 0.5;
80 offset: 0 9;
81 }
82 image {
83 normal: "e17_scrollbar_right_arrow.png";
84 }
85 }
86 description {
87 state: "down" 0.0;
88 inherit: "default" 0.0;
89 image {
90 normal: "e17_scrollbar_right_arrow_down.png";
91 }
92 }
93 }
94 part {
95 name: "right_left_arrow";
96 description {
97 state: "default" 0.0;
98 rel1 {
99 relative: 0.0 0.0;
100 offset: -18 0;
101 to: "right_right_arrow";
102 }
103 rel2 {
104 relative: 0.0 1.0;
105 offset: -1 -1;
106 to: "right_right_arrow";
107 }
108 image {
109 normal: "e17_scrollbar_left_arrow.png";
110 }
111 }
112 description {
113 state: "down" 0.0;
114 inherit: "default" 0.0;
115 image {
116 normal: "e17_scrollbar_left_arrow_down.png";
117 }
118 }
119 }
120 part {
121 name: "scrollbar_bar_confine";
122 type: RECT;
123 description {
124 state: "default" 0.0;
125 visible: 0;
126 rel1 {
127 relative: 1.0 0.5;
128 offset: 0 9;
129 to_x: "left_left_arrow";
130 }
131 rel2 {
132 relative: 0.0 0.5;
133 offset: 0 10;
134 to_x: "right_left_arrow";
135 }
136 }
137 }
138 part {
139 name: "drag";
140 dragable {
141 confine: "scrollbar_bar_confine";
142 x: 1 1 1;
143 y: 0 0 0;
144 }
145 description {
146 state: "default" 0.0;
147 min: 58 18;
148 max: 58 18;
149 image {
150 normal: "e17_hhandle.png";
151 border: 10 10 0 0;
152 }
153 }
154 description {
155 state: "down" 0.0;
156 inherit: "default" 0.0;
157 image {
158 normal: "e17_hhandle_down.png";
159 }
160 }
161 }
162 part {
163 name: "drag_thumb";
164 mouse_events: 0;
165 description {
166 state: "default" 0.0;
167 rel1 {
168 relative: 0.5 0.5;
169 offset: -9 -4;
170 to: "drag";
171 }
172 rel2 {
173 relative: 0.5 0.5;
174 offset: 6 1;
175 to: "drag";
176 }
177 image {
178 normal: "e17_hhandle_thumb.png";
179 }
180 }
181 description {
182 state: "down" 0.0;
183 inherit: "default" 0.0;
184 rel1 {
185 offset: -8 -3;
186 }
187 rel2 {
188 offset: 7 2;
189 }
190 }
191 }
192 }
193 programs {
194 program {
195 name: "hscrollbar_drag_down";
196 signal: "mouse,down,1";
197 source: "drag";
198 action: STATE_SET "down" 0.0;
199 target: "drag";
200 target: "drag_thumb";
201 }
202 program {
203 name: "hscrollbar_drag_up";
204 signal: "mouse,up,1";
205 source: "drag";
206 action: STATE_SET "default" 0.0;
207 target: "drag";
208 target: "drag_thumb";
209 }
210 program {
211 name: "left_left_arrow_down";
212 signal: "mouse,down,1";
213 source: "left_left_arrow";
214 action: STATE_SET "down" 0.0;
215 target: "left_left_arrow";
216 after: "emit_scroll_left_start";
217 }
218 program {
219 name: "left_left_arrow_up";
220 signal: "mouse,up,1";
221 source: "left_left_arrow";
222 action: STATE_SET "default" 0.0;
223 target: "left_left_arrow";
224 after: "emit_scroll_left_stop";
225 }
226 program {
227 name: "right_left_arrow_down";
228 signal: "mouse,down,1";
229 source: "right_left_arrow";
230 action: STATE_SET "down" 0.0;
231 target: "right_left_arrow";
232 after: "emit_scroll_left_start";
233 }
234 program {
235 name: "right_left_arrow_up";
236 signal: "mouse,up,1";
237 source: "right_left_arrow";
238 action: STATE_SET "default" 0.0;
239 target: "right_left_arrow";
240 after: "emit_scroll_left_stop";
241 }
242 program {
243 name: "right_right_arrow_down";
244 signal: "mouse,down,1";
245 source: "right_right_arrow";
246 action: STATE_SET "down" 0.0;
247 target: "right_right_arrow";
248 after: "emit_scroll_right_start";
249 }
250 program {
251 name: "right_right_arrow_up";
252 signal: "mouse,up,1";
253 source: "right_right_arrow";
254 action: STATE_SET "default" 0.0;
255 target: "right_right_arrow";
256 after: "emit_scroll_right_stop";
257 }
258 program {
259 name: "emit_scroll_left_start";
260 action: SIGNAL_EMIT "scroll_left_start" "";
261 }
262 program {
263 name: "emit_scroll_left_stop";
264 action: SIGNAL_EMIT "scroll_left_stop" "";
265 }
266 program {
267 name: "emit_scroll_right_start";
268 action: SIGNAL_EMIT "scroll_right_start" "";
269 }
270 program {
271 name: "emit_scroll_right_stop";
272 action: SIGNAL_EMIT "scroll_right_stop" "";
273 }
274 }
275}
276
277
278group {
279 name: "widgets/vscrollbar";
280 min: 16 40;
281 parts {
282 part {
283 name: "trough";
284 description {
285 state: "default" 0.0;
286 rel1 {
287 relative: 0.5 0.0;
288 offset: -8 0;
289 }
290 rel2 {
291 relative: 0.5 1.0;
292 offset: 9 -1;
293 }
294 image {
295 normal: "e17_vscrollbar_trough.png";
296 border: 6 6 6 6;
297 }
298 }
299 }
300 part {
301 name: "top_top_arrow";
302 description {
303 state: "default" 0.0;
304 rel1 {
305 relative: 0.5 0.0;
306 offset: -8 -1;
307 }
308 rel2 {
309 relative: 0.5 0.0;
310 offset: 9 16;
311 }
312 image {
313 normal: "e17_scrollbar_top_arrow.png";
314 }
315 }
316 description {
317 state: "down" 0.0;
318 inherit: "default" 0.0;
319 image {
320 normal: "e17_scrollbar_top_arrow_down.png";
321 }
322 }
323 }
324 part {
325 name: "bottom_bottom_arrow";
326 description {
327 state: "default" 0.0;
328 rel1 {
329 relative: 0.5 1.0;
330 offset: -8 -17;
331 }
332 rel2 {
333 relative: 0.5 1.0;
334 offset: 9 0;
335 }
336 image {
337 normal: "e17_scrollbar_bottom_arrow.png";
338 }
339 }
340 description {
341 state: "down" 0.0;
342 inherit: "default" 0.0;
343 image {
344 normal: "e17_scrollbar_bottom_arrow_down.png";
345 }
346 }
347 }
348 part {
349 name: "bottom_top_arrow";
350 description {
351 state: "default" 0.0;
352 rel1 {
353 relative: 0.0 0.0;
354 offset: 0 -18;
355 to: "bottom_bottom_arrow";
356 }
357 rel2 {
358 relative: 1.0 0.0;
359 offset: -1 -1;
360 to: "bottom_bottom_arrow";
361 }
362 image {
363 normal: "e17_scrollbar_top_arrow.png";
364 }
365 }
366 description {
367 state: "down" 0.0;
368 inherit: "default" 0.0;
369 image {
370 normal: "e17_scrollbar_top_arrow_down.png";
371 }
372 }
373 }
374 part {
375 name: "scrollbar_bar_confine";
376 type: RECT;
377 description {
378 state: "default" 0.0;
379 visible: 0;
380 rel1 {
381 relative: 0.5 1.0;
382 offset: 9 0;
383 to_y: "top_top_arrow";
384 }
385 rel2 {
386 relative: 0.5 0.0;
387 offset: 10 0;
388 to_y: "bottom_top_arrow";
389 }
390 }
391 }
392 part {
393 name: "drag";
394 dragable {
395 confine: "scrollbar_bar_confine";
396 x: 0 0 0;
397 y: 1 1 1;
398 }
399 description {
400 state: "default" 0.0;
401 min: 18 58;
402 max: 18 58;
403 image {
404 normal: "e17_vhandle.png";
405 border: 0 0 10 10;
406 }
407 }
408 description {
409 state: "down" 0.0;
410 inherit: "default" 0.0;
411 image {
412 normal: "e17_vhandle_down.png";
413 }
414 }
415 }
416 part {
417 name: "drag_thumb";
418 mouse_events: 0;
419 description {
420 state: "default" 0.0;
421 rel1 {
422 relative: 0.5 0.5;
423 offset: -4 -9;
424 to: "drag";
425 }
426 rel2 {
427 relative: 0.5 0.5;
428 offset: 1 6;
429 to: "drag";
430 }
431 image {
432 normal: "e17_vhandle_thumb.png";
433 }
434 }
435 description {
436 state: "down" 0.0;
437 inherit: "default" 0.0;
438 rel1 {
439 offset: -3 -8;
440 }
441 rel2 {
442 offset: 2 7;
443 }
444 }
445 }
446 }
447 programs {
448 program {
449 name: "vscrollbar_drag_down";
450 signal: "mouse,down,1";
451 source: "drag";
452 action: STATE_SET "down" 0.0;
453 target: "drag";
454 target: "drag_thumb";
455 }
456 program {
457 name: "vscrollbar_drag_up";
458 signal: "mouse,up,1";
459 source: "drag";
460 action: STATE_SET "default" 0.0;
461 target: "drag";
462 target: "drag_thumb";
463 }
464 program {
465 name: "top_top_arrow_down";
466 signal: "mouse,down,1";
467 source: "top_top_arrow";
468 action: STATE_SET "down" 0.0;
469 target: "top_top_arrow";
470 after: "emit_scroll_top_start";
471 }
472 program {
473 name: "top_top_arrow_up";
474 signal: "mouse,up,1";
475 source: "top_top_arrow";
476 action: STATE_SET "default" 0.0;
477 target: "top_top_arrow";
478 after: "emit_scroll_top_stop";
479 }
480 program {
481 name: "bottom_top_arrow_down";
482 signal: "mouse,down,1";
483 source: "bottom_top_arrow";
484 action: STATE_SET "down" 0.0;
485 target: "bottom_top_arrow";
486 after: "emit_scroll_top_start";
487 }
488 program {
489 name: "bottom_top_arrow_up";
490 signal: "mouse,up,1";
491 source: "bottom_top_arrow";
492 action: STATE_SET "default" 0.0;
493 target: "bottom_top_arrow";
494 after: "emit_scroll_top_stop";
495 }
496 program {
497 name: "bottom_bottom_arrow_down";
498 signal: "mouse,down,1";
499 source: "bottom_bottom_arrow";
500 action: STATE_SET "down" 0.0;
501 target: "bottom_bottom_arrow";
502 after: "emit_scroll_bottom_start";
503 }
504 program {
505 name: "bottom_bottom_arrow_up";
506 signal: "mouse,up,1";
507 source: "bottom_bottom_arrow";
508 action: STATE_SET "default" 0.0;
509 target: "bottom_bottom_arrow";
510 after: "emit_scroll_bottom_stop";
511 }
512 program {
513 name: "emit_scroll_top_start";
514 action: SIGNAL_EMIT "scroll_top_start" "";
515 }
516 program {
517 name: "emit_scroll_top_stop";
518 action: SIGNAL_EMIT "scroll_top_stop" "";
519 }
520 program {
521 name: "emit_scroll_bottom_start";
522 action: SIGNAL_EMIT "scroll_bottom_start" "";
523 }
524 program {
525 name: "emit_scroll_bottom_stop";
526 action: SIGNAL_EMIT "scroll_bottom_stop" "";
527 }
528 }
529}
diff --git a/data/themes/images/e17_hhandle.png b/data/themes/images/e17_hhandle.png
new file mode 100644
index 000000000..71867ae33
--- /dev/null
+++ b/data/themes/images/e17_hhandle.png
Binary files differ
diff --git a/data/themes/images/e17_hhandle_down.png b/data/themes/images/e17_hhandle_down.png
new file mode 100644
index 000000000..856c245b0
--- /dev/null
+++ b/data/themes/images/e17_hhandle_down.png
Binary files differ
diff --git a/data/themes/images/e17_hhandle_thumb.png b/data/themes/images/e17_hhandle_thumb.png
new file mode 100644
index 000000000..10a9324c6
--- /dev/null
+++ b/data/themes/images/e17_hhandle_thumb.png
Binary files differ
diff --git a/data/themes/images/e17_hscrollbar_trough.png b/data/themes/images/e17_hscrollbar_trough.png
new file mode 100644
index 000000000..7c835a7ed
--- /dev/null
+++ b/data/themes/images/e17_hscrollbar_trough.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_bottom_arrow.png b/data/themes/images/e17_scrollbar_bottom_arrow.png
new file mode 100644
index 000000000..f19faa6a9
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_bottom_arrow.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_bottom_arrow_down.png b/data/themes/images/e17_scrollbar_bottom_arrow_down.png
new file mode 100644
index 000000000..4bef94fd7
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_bottom_arrow_down.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_left_arrow.png b/data/themes/images/e17_scrollbar_left_arrow.png
new file mode 100644
index 000000000..f8abc9a3a
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_left_arrow.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_left_arrow_down.png b/data/themes/images/e17_scrollbar_left_arrow_down.png
new file mode 100644
index 000000000..25c1a4b24
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_left_arrow_down.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_right_arrow.png b/data/themes/images/e17_scrollbar_right_arrow.png
new file mode 100644
index 000000000..1368a5cd6
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_right_arrow.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_right_arrow_down.png b/data/themes/images/e17_scrollbar_right_arrow_down.png
new file mode 100644
index 000000000..d5f767255
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_right_arrow_down.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_top_arrow.png b/data/themes/images/e17_scrollbar_top_arrow.png
new file mode 100644
index 000000000..e4ac314df
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_top_arrow.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_top_arrow_down.png b/data/themes/images/e17_scrollbar_top_arrow_down.png
new file mode 100644
index 000000000..fb98a84c8
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_top_arrow_down.png
Binary files differ
diff --git a/data/themes/images/e17_vhandle.png b/data/themes/images/e17_vhandle.png
new file mode 100644
index 000000000..e5c06f54c
--- /dev/null
+++ b/data/themes/images/e17_vhandle.png
Binary files differ
diff --git a/data/themes/images/e17_vhandle_down.png b/data/themes/images/e17_vhandle_down.png
new file mode 100644
index 000000000..04a35a9f1
--- /dev/null
+++ b/data/themes/images/e17_vhandle_down.png
Binary files differ
diff --git a/data/themes/images/e17_vhandle_thumb.png b/data/themes/images/e17_vhandle_thumb.png
new file mode 100644
index 000000000..315952bc2
--- /dev/null
+++ b/data/themes/images/e17_vhandle_thumb.png
Binary files differ
diff --git a/data/themes/images/e17_vscrollbar_trough.png b/data/themes/images/e17_vscrollbar_trough.png
new file mode 100644
index 000000000..c19c2bfba
--- /dev/null
+++ b/data/themes/images/e17_vscrollbar_trough.png
Binary files differ