summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-10-30 09:51:26 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-10-30 09:51:26 +0000
commit470ce088d0f41d4253113d34e6a8d7b341a3f797 (patch)
tree95415871d4ba3a66519d8f991afdb3664f2ed2f7 /data
parent2b8d5e924ba02cb502b2b0bde9eed4091ec7f3f1 (diff)
- remove old scrollbar stuff
SVN revision: 18145
Diffstat (limited to 'data')
-rw-r--r--data/themes/default_scrollbar.edc443
-rw-r--r--data/themes/images/e17_hscrollbar_trough.pngbin241 -> 0 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_down.pngbin149 -> 0 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_left.pngbin176 -> 0 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_right.pngbin180 -> 0 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_up.pngbin176 -> 0 bytes
-rw-r--r--data/themes/images/e17_scrollbar_button.pngbin807 -> 0 bytes
-rw-r--r--data/themes/images/e17_scrollbar_button_shadow1.pngbin519 -> 0 bytes
-rw-r--r--data/themes/images/e17_scrollbar_button_shadow2.pngbin582 -> 0 bytes
-rw-r--r--data/themes/images/e17_vscrollbar_trough.pngbin238 -> 0 bytes
10 files changed, 0 insertions, 443 deletions
diff --git a/data/themes/default_scrollbar.edc b/data/themes/default_scrollbar.edc
deleted file mode 100644
index 17bab8d8e..000000000
--- a/data/themes/default_scrollbar.edc
+++ /dev/null
@@ -1,443 +0,0 @@
1#define SCROLLBAR_BUTTON_SIZE 18
2
3#define SCROLLBAR_DRAG(part_name, rx1, ry1, ox1, oy1, rx2, ry2, ox2, oy2, image_thumb) \
4 part { \
5 name: part_name"_shadow2"; \
6 mouse_events: 0; \
7 description { \
8 state: "default" 0.0; \
9 rel1 { \
10 relative: 0.0 0.0; \
11 offset: 0 0; \
12 to: part_name; \
13 } \
14 rel2 { \
15 relative: 1.0 1.0; \
16 offset: -1 -1; \
17 to: part_name; \
18 } \
19 image { \
20 normal: "e17_scrollbar_button_shadow2.png"; \
21 border: 8 8 8 8; \
22 } \
23 } \
24 } \
25 part { \
26 name: part_name"_shadow1"; \
27 mouse_events: 0; \
28 description { \
29 state: "default" 0.0; \
30 rel1 { \
31 relative: 0.0 0.0; \
32 offset: 0 0; \
33 to: part_name; \
34 } \
35 rel2 { \
36 relative: 1.0 1.0; \
37 offset: -1 -1; \
38 to: part_name; \
39 } \
40 image { \
41 normal: "e17_scrollbar_button_shadow1.png"; \
42 border: 8 8 8 8; \
43 } \
44 } \
45 } \
46 part { \
47 name: part_name; \
48 description { \
49 state: "default" 0.0; \
50 rel1 { \
51 relative: rx1 ry1; \
52 offset: ox1 oy1; \
53 } \
54 rel2 { \
55 relative: rx2 ry2; \
56 offset: ox2 oy2; \
57 } \
58 image { \
59 normal: "e17_scrollbar_button.png"; \
60 border: 8 8 8 8; \
61 } \
62 } \
63 } \
64 part { \
65 name: part_name"_thumb"; \
66 mouse_events: 0; \
67 description { \
68 state: "default" 0.0; \
69 rel1 { \
70 relative: 0.5 0.5; \
71 offset: -4 -4; \
72 to: part_name; \
73 } \
74 rel2 { \
75 relative: 0.5 0.5; \
76 offset: 3 3; \
77 to: part_name; \
78 } \
79 image { \
80 normal: image_thumb; \
81 } \
82 } \
83 }
84
85#define SCROLLBAR_BUTTON(button_name, rx1, ry1, ox1, oy1, arrow_image) \
86 part { \
87 name: button_name"_shadow2"; \
88 mouse_events: 0; \
89 description { \
90 state: "default" 0.0; \
91 rel1 { \
92 relative: 0.0 0.0; \
93 offset: 0 0; \
94 to: button_name; \
95 } \
96 rel2 { \
97 relative: 1.0 1.0; \
98 offset: -1 -1; \
99 to: button_name; \
100 } \
101 image { \
102 normal: "e17_scrollbar_button_shadow2.png"; \
103 border: 8 8 8 8; \
104 } \
105 } \
106 description { \
107 state: "active" 0.0; \
108 inherit: "default" 0.0; \
109 visible: 0; \
110 color: 255 255 255 0; \
111 } \
112 description { \
113 state: "hidden" 0.0; \
114 inherit: "default" 0.0; \
115 visible: 0; \
116 color: 255 255 255 0; \
117 } \
118 } \
119 part { \
120 name: button_name"_shadow1"; \
121 mouse_events: 0; \
122 description { \
123 state: "default" 0.0; \
124 rel1 { \
125 relative: 0.0 0.0; \
126 offset: 0 0; \
127 to: button_name; \
128 } \
129 rel2 { \
130 relative: 1.0 1.0; \
131 offset: -1 -1; \
132 to: button_name; \
133 } \
134 image { \
135 normal: "e17_scrollbar_button_shadow1.png"; \
136 border: 8 8 8 8; \
137 } \
138 } \
139 description { \
140 state: "active" 0.0; \
141 inherit: "default" 0.0; \
142 visible: 0; \
143 color: 255 255 255 0; \
144 } \
145 description { \
146 state: "active" 0.0; \
147 inherit: "default" 0.0; \
148 visible: 0; \
149 color: 255 255 255 0; \
150 } \
151 } \
152 part { \
153 name: button_name; \
154 description { \
155 state: "default" 0.0; \
156 rel1 { \
157 relative: rx1 ry1; \
158 offset: ox1 oy1; \
159 } \
160 rel2 { \
161 relative: rx1 ry1; \
162 offset: (ox1 + SCROLLBAR_BUTTON_SIZE) (oy1 + SCROLLBAR_BUTTON_SIZE); \
163 } \
164 image { \
165 normal: "e17_scrollbar_button.png"; \
166 border: 8 8 8 8; \
167 } \
168 } \
169 description { \
170 state: "active" 0.0; \
171 inherit: "default" 0.0; \
172 rel1 { \
173 offset: (ox1 + 1) (oy1 + 1); \
174 } \
175 rel2 { \
176 offset: (ox1 + SCROLLBAR_BUTTON_SIZE + 1) (oy1 + SCROLLBAR_BUTTON_SIZE + 1); \
177 } \
178 } \
179 description { \
180 state: "hidden" 0.0; \
181 inherit: "default" 0.0; \
182 visible: 0; \
183 color: 255 255 255 0; \
184 } \
185 } \
186 part { \
187 name: button_name"_arrow"; \
188 mouse_events: 0; \
189 description { \
190 state: "default" 0.0; \
191 max: 16 16; \
192 rel1 { \
193 relative: 0.0 0.0; \
194 offset: 4 4; \
195 to: button_name; \
196 } \
197 rel2 { \
198 relative: 1.0 1.0; \
199 offset: -5 -5; \
200 to: button_name; \
201 } \
202 image { \
203 normal: arrow_image; \
204 } \
205 } \
206 description { \
207 state: "hidden" 0.0; \
208 inherit: "default" 0.0; \
209 visible: 0; \
210 color: 255 255 255 0; \
211 } \
212 }
213
214#define SCROLLBAR_BUTTON_PROG(button_name, dir) \
215 program { \
216 name: button_name"_active_pre"; \
217 signal: "mouse,down,1"; \
218 source: button_name; \
219 action: STATE_SET "default" 0.0; \
220 target: button_name"_shadow1"; \
221 target: button_name"_shadow2"; \
222 target: button_name; \
223 target: button_name"_arrow"; \
224 after: button_name"_active"; \
225 after: button_name"_active_p"; \
226 } \
227 program { \
228 name: button_name"_active"; \
229 action: STATE_SET "active" 0.0; \
230 target: button_name"_shadow2"; \
231 transition: LINEAR 0.05; \
232 after: button_name"_active2"; \
233 } \
234 program { \
235 name: button_name"_active2"; \
236 action: STATE_SET "active" 0.0; \
237 target: button_name"_shadow1"; \
238 transition: LINEAR 0.05; \
239 } \
240 program { \
241 name: button_name"_active_p"; \
242 action: STATE_SET "active" 0.0; \
243 target: button_name; \
244 target: button_name"_arrow"; \
245 transition: LINEAR 0.1; \
246 } \
247 program { \
248 name: button_name"_passive_pre"; \
249 signal: "mouse,up,1"; \
250 source: button_name; \
251 action: STATE_SET "active" 0.0; \
252 target: button_name"_shadow1"; \
253 target: button_name"_shadow2"; \
254 target: button_name; \
255 target: button_name"_arrow"; \
256 after: button_name"_passive"; \
257 after: button_name"_passive_p"; \
258 } \
259 program { \
260 name: button_name"_passive"; \
261 action: STATE_SET "default" 0.0; \
262 target: button_name"_shadow2"; \
263 transition: LINEAR 0.1; \
264 after: button_name"_passive2"; \
265 } \
266 program { \
267 name: button_name"_passive2"; \
268 action: STATE_SET "default" 0.0; \
269 target: button_name"_shadow1"; \
270 transition: LINEAR 0.1; \
271 } \
272 program { \
273 name: button_name"_passive_p"; \
274 action: STATE_SET "default" 0.0; \
275 target: button_name; \
276 target: button_name"_arrow"; \
277 transition: LINEAR 0.2; \
278 } \
279 program { \
280 name: button_name"_button_pressed"; \
281 source: button_name; \
282 signal: "mouse,down,1"; \
283 action: SIGNAL_EMIT "scroll_"dir"_start" ""; \
284 } \
285 program { \
286 name: button_name"_button_released"; \
287 source: button_name; \
288 signal: "mouse,up,1"; \
289 action: SIGNAL_EMIT "scroll_stop" ""; \
290 }
291
292images {
293 image: "e17_hscrollbar_trough.png" COMP;
294 image: "e17_vscrollbar_trough.png" COMP;
295 image: "e17_scrollbar_button_shadow1.png" COMP;
296 image: "e17_scrollbar_button_shadow2.png" COMP;
297 image: "e17_scrollbar_button.png" COMP;
298 image: "e17_scrollbar_arrow_left.png" COMP;
299 image: "e17_scrollbar_arrow_right.png" COMP;
300 image: "e17_scrollbar_arrow_up.png" COMP;
301 image: "e17_scrollbar_arrow_down.png" COMP;
302 image: "e17_scrollbar_hdrag_thumb.png" COMP;
303 image: "e17_scrollbar_vdrag_thumb.png" COMP;
304
305/*
306 image: "e17_scrollbar_left_arrow.png" COMP;
307 image: "e17_scrollbar_left_arrow_down.png" COMP;
308 image: "e17_scrollbar_right_arrow.png" COMP;
309 image: "e17_scrollbar_right_arrow_down.png" COMP;
310 image: "e17_scrollbar_left_arrow.png" COMP;
311 image: "e17_scrollbar_left_arrow_down.png" COMP;
312 image: "e17_hhandle.png" COMP;
313 image: "e17_hhandle_down.png" COMP;
314 image: "e17_hhandle_thumb.png" COMP;
315 image: "e17_vscrollbar_trough.png" COMP;
316 image: "e17_scrollbar_top_arrow.png" COMP;
317 image: "e17_scrollbar_top_arrow_down.png" COMP;
318 image: "e17_scrollbar_bottom_arrow.png" COMP;
319 image: "e17_scrollbar_bottom_arrow_down.png" COMP;
320 image: "e17_scrollbar_top_arrow.png" COMP;
321 image: "e17_scrollbar_top_arrow_down.png" COMP;
322 image: "e17_vhandle.png" COMP;
323 image: "e17_vhandle_down.png" COMP;
324 image: "e17_vhandle_thumb.png" COMP;
325*/
326}
327
328group {
329 name: "widgets/hscrollbar";
330 min: 68 18;
331 parts {
332 part {
333 name: "trough";
334 description {
335 state: "default" 0.0;
336 rel1 {
337 relative: 0.0 0.5;
338 offset: 0 -8;
339 }
340 rel2 {
341 relative: 1.0 0.5;
342 offset: -1 9;
343 }
344 image {
345 normal: "e17_hscrollbar_trough.png";
346 border: 8 8 8 8;
347 }
348 }
349 }
350 part {
351 name: "confine";
352 type: RECT;
353 description {
354 state: "default" 0.0;
355 visible: 0;
356 rel1 {
357 relative: 0.0 0.5;
358 offset: 18 -6;
359 }
360 rel2 {
361 relative: 1.0 0.5;
362 offset: -35 7;
363 }
364 }
365 }
366 SCROLLBAR_BUTTON("left_left_arrow", 0.0, 0.5, -1, -8, "e17_scrollbar_arrow_left.png")
367 SCROLLBAR_BUTTON("right_left_arrow", 1.0, 0.5, -34, -8, "e17_scrollbar_arrow_left.png")
368 SCROLLBAR_BUTTON("right_right_arrow", 1.0, 0.5, -18, -8, "e17_scrollbar_arrow_right.png")
369 }
370 programs {
371 SCROLLBAR_BUTTON_PROG("left_left_arrow","left")
372 SCROLLBAR_BUTTON_PROG("right_left_arrow","left")
373 SCROLLBAR_BUTTON_PROG("right_right_arrow","right")
374 }
375}
376group {
377 name: "widgets/hscrollbar_drag";
378 min: 14 0;
379 parts {
380 SCROLLBAR_DRAG("drag", 0.0, 0.0, -5, -2, 1.0, 1.0, 4, 1, "e17_scrollbar_hdrag_thumb.png")
381 }
382}
383group {
384 name: "widgets/vscrollbar";
385 min: 18 68;
386 parts {
387 part {
388 name: "trough";
389 description {
390 state: "default" 0.0;
391 rel1 {
392 relative: 0.5 0.0;
393 offset: -8 0;
394 }
395 rel2 {
396 relative: 0.5 1.0;
397 offset: 9 -1;
398 }
399 image {
400 normal: "e17_vscrollbar_trough.png";
401 border: 8 8 8 8;
402 }
403 }
404 description {
405 state: "hidden" 0.0;
406 inherit: "default" 0.0;
407 visible: 0;
408 }
409 }
410 part {
411 name: "confine";
412 type: RECT;
413 description {
414 state: "default" 0.0;
415 visible: 0;
416 rel1 {
417 relative: 0.5 0.0;
418 offset: -6 18;
419 }
420 rel2 {
421 relative: 0.5 1.0;
422 offset: 7 -35;
423 }
424 }
425 }
426 SCROLLBAR_BUTTON("up_up_arrow", 0.5, 0.0, -8, -1, "e17_scrollbar_arrow_up.png")
427 SCROLLBAR_BUTTON("down_up_arrow", 0.5, 1.0, -8, -34, "e17_scrollbar_arrow_down.png")
428 SCROLLBAR_BUTTON("down_down_arrow", 0.5, 1.0, -8, -18, "e17_scrollbar_arrow_down.png")
429 }
430 programs {
431 SCROLLBAR_BUTTON_PROG("up_up_arrow","up")
432 SCROLLBAR_BUTTON_PROG("down_up_arrow","up")
433 SCROLLBAR_BUTTON_PROG("down_down_arrow","down")
434 }
435}
436group {
437 name: "widgets/vscrollbar_drag";
438 min: 0 14;
439 parts {
440 SCROLLBAR_DRAG("drag", 0.0, 0.0, -2, -5, 1.0, 1.0, 1, 4, "e17_scrollbar_vdrag_thumb.png")
441 }
442}
443
diff --git a/data/themes/images/e17_hscrollbar_trough.png b/data/themes/images/e17_hscrollbar_trough.png
deleted file mode 100644
index 2c4b8c0d9..000000000
--- a/data/themes/images/e17_hscrollbar_trough.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_down.png b/data/themes/images/e17_scrollbar_arrow_down.png
deleted file mode 100644
index a1b5bd20c..000000000
--- a/data/themes/images/e17_scrollbar_arrow_down.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_left.png b/data/themes/images/e17_scrollbar_arrow_left.png
deleted file mode 100644
index 015be4649..000000000
--- a/data/themes/images/e17_scrollbar_arrow_left.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_right.png b/data/themes/images/e17_scrollbar_arrow_right.png
deleted file mode 100644
index 67e1eb9f3..000000000
--- a/data/themes/images/e17_scrollbar_arrow_right.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_up.png b/data/themes/images/e17_scrollbar_arrow_up.png
deleted file mode 100644
index e2519eb84..000000000
--- a/data/themes/images/e17_scrollbar_arrow_up.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_button.png b/data/themes/images/e17_scrollbar_button.png
deleted file mode 100644
index 47ef8ecbb..000000000
--- a/data/themes/images/e17_scrollbar_button.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_button_shadow1.png b/data/themes/images/e17_scrollbar_button_shadow1.png
deleted file mode 100644
index 087c12261..000000000
--- a/data/themes/images/e17_scrollbar_button_shadow1.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_button_shadow2.png b/data/themes/images/e17_scrollbar_button_shadow2.png
deleted file mode 100644
index 2a800ab69..000000000
--- a/data/themes/images/e17_scrollbar_button_shadow2.png
+++ /dev/null
Binary files differ
diff --git a/data/themes/images/e17_vscrollbar_trough.png b/data/themes/images/e17_vscrollbar_trough.png
deleted file mode 100644
index 3cf4280f0..000000000
--- a/data/themes/images/e17_vscrollbar_trough.png
+++ /dev/null
Binary files differ