summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-10-27 10:24:07 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-10-27 10:24:07 +0000
commitbc8618438a38a562627de6a3ce7a8ff4df1ca219 (patch)
tree83dbf799c59d0fc3065e347bfe04bcb30dadc0ab /data
parentb01c9dad8925d9b05991a49757f3fe0d25e84f59 (diff)
- add file selector theme
SVN revision: 18030
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc1
-rw-r--r--data/themes/default_fileman.edc33
-rw-r--r--data/themes/default_filesel.edc132
-rw-r--r--data/themes/default_scrollbar.edc888
-rw-r--r--data/themes/images/e17_hscrollbar_trough.pngbin446 -> 241 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_desktop.pngbin0 -> 12935 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_down.pngbin0 -> 149 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_left.pngbin0 -> 176 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_right.pngbin0 -> 180 bytes
-rw-r--r--data/themes/images/e17_scrollbar_arrow_up.pngbin0 -> 176 bytes
-rw-r--r--data/themes/images/e17_scrollbar_button.pngbin0 -> 807 bytes
-rw-r--r--data/themes/images/e17_scrollbar_button_shadow1.pngbin0 -> 519 bytes
-rw-r--r--data/themes/images/e17_scrollbar_button_shadow2.pngbin0 -> 582 bytes
-rw-r--r--data/themes/images/e17_scrollbar_hdrag_thumb.pngbin0 -> 195 bytes
-rw-r--r--data/themes/images/e17_scrollbar_vdrag_thumb.pngbin0 -> 183 bytes
-rw-r--r--data/themes/images/e17_vscrollbar_trough.pngbin380 -> 238 bytes
16 files changed, 564 insertions, 490 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 7ccd29f2d..21b6cf1f5 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -48,6 +48,7 @@ collections {
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_fileman.edc" 50#include "default_fileman.edc"
51#include "default_filesel.edc"
51#include "default_scrollbar.edc" 52#include "default_scrollbar.edc"
52#include "default_check.edc" 53#include "default_check.edc"
53#include "default_radio.edc" 54#include "default_radio.edc"
diff --git a/data/themes/default_fileman.edc b/data/themes/default_fileman.edc
index d471f5753..2b23b7c60 100644
--- a/data/themes/default_fileman.edc
+++ b/data/themes/default_fileman.edc
@@ -24,7 +24,7 @@ group { \
24 24
25#define FILEMAN_ICON(TYPE) \ 25#define FILEMAN_ICON(TYPE) \
26group { \ 26group { \
27 name: "fileman/icons/"TYPE; \ 27 name: "icons/fileman/"TYPE; \
28 max: 64 64; \ 28 max: 64 64; \
29 parts { \ 29 parts { \
30 part { \ 30 part { \
@@ -44,7 +44,7 @@ group { \
44 44
45#define FILEMAN_ICON_CLICKABLE(TYPE) \ 45#define FILEMAN_ICON_CLICKABLE(TYPE) \
46group { \ 46group { \
47 name: "fileman/icons/"TYPE; \ 47 name: "icons/fileman/"TYPE; \
48 max: 64 64; \ 48 max: 64 64; \
49 parts { \ 49 parts { \
50 part { \ 50 part { \
@@ -93,7 +93,9 @@ images
93 image: "e17_icon_fileman_folder.png" COMP; 93 image: "e17_icon_fileman_folder.png" COMP;
94 image: "e17_icon_fileman_folder_clicked.png" COMP; 94 image: "e17_icon_fileman_folder_clicked.png" COMP;
95 image: "e17_icon_fileman_file.png" COMP; 95 image: "e17_icon_fileman_file.png" COMP;
96 image: "e17_icon_fileman_file_clicked.png" COMP; 96 image: "e17_icon_fileman_file_clicked.png" COMP;
97 image: "e17_icon_fileman_home.png" COMP;
98 image: "e17_icon_fileman_desktop.png" COMP;
97 image: "e17_icon_fileman_pdf.png" COMP; 99 image: "e17_icon_fileman_pdf.png" COMP;
98 image: "e17_icon_fileman_c.png" COMP; 100 image: "e17_icon_fileman_c.png" COMP;
99 image: "e17_icon_fileman_h.png" COMP; 101 image: "e17_icon_fileman_h.png" COMP;
@@ -401,6 +403,29 @@ group {
401} 403}
402 404
403group { 405group {
406 name: "fileman/background";
407 parts {
408 part {
409 name: "base";
410 type: RECT;
411 mouse_events: 0;
412 description {
413 state: "default" 0.0;
414 rel1 {
415 relative: 0.0 0.0;
416 offset: 1 1;
417 }
418 rel2 {
419 relative: 1.0 1.0;
420 offset: -1 -1;
421 }
422 color: 255 255 255 0;
423 }
424 }
425 }
426}
427
428group {
404 name: "fileman/rubberband"; 429 name: "fileman/rubberband";
405 parts { 430 parts {
406 part { 431 part {
@@ -429,6 +454,8 @@ group {
429 454
430FILEMAN_ICON_CLICKABLE("folder"); 455FILEMAN_ICON_CLICKABLE("folder");
431FILEMAN_ICON_CLICKABLE("file"); 456FILEMAN_ICON_CLICKABLE("file");
457FILEMAN_ICON("home");
458FILEMAN_ICON("desktop");
432FILEMAN_ICON("pdf"); 459FILEMAN_ICON("pdf");
433FILEMAN_ICON("c"); 460FILEMAN_ICON("c");
434FILEMAN_ICON("h"); 461FILEMAN_ICON("h");
diff --git a/data/themes/default_filesel.edc b/data/themes/default_filesel.edc
new file mode 100644
index 000000000..2f9ec0914
--- /dev/null
+++ b/data/themes/default_filesel.edc
@@ -0,0 +1,132 @@
1images {
2 image: "e17_ibar_bg_h.png" COMP;
3 image: "e17_ibar_over_h.png" COMP;
4}
5group {
6 name: "widgets/fileselector/main";
7 parts {
8 part {
9 name: "background";
10 mouse_events: 1;
11 description {
12 state: "default" 0.0;
13 rel1 {
14 to: "overlay";
15 }
16 rel2 {
17 to: "overlay";
18 }
19 image {
20 normal: "e17_ibar_bg_h.png";
21 border: 6 6 6 6;
22 }
23 fill {
24 smooth: 0;
25 }
26 }
27 }
28 part {
29 name: "items_clip";
30 type: RECT;
31 mouse_events: 0;
32 description {
33 state: "default" 0.0;
34 rel1 {
35 to: "background";
36 offset: 4 4;
37 }
38 rel2 {
39 to: "background";
40 offset: -5 -5;
41 }
42 color: 255 255 255 255;
43 }
44 }
45 part {
46 name: "items";
47 type: SWALLOW;
48 mouse_events: 0;
49 clip_to: "items_clip";
50 description {
51 state: "default" 0.0;
52 rel1 {
53 offset: 4 4;
54 }
55 rel2 {
56 offset: -13 -5;
57 }
58 color: 0 0 0 0;
59 }
60 description {
61 state: "top" 0.0;
62 inherit: "default" 0.0;
63 }
64 description {
65 state: "left" 0.0;
66 inherit: "default" 0.0;
67 }
68 description {
69 state: "right" 0.0;
70 inherit: "default" 0.0;
71 }
72 }
73 part {
74 name: "vscrollbar";
75 type: "SWALLOW";
76 mouse_events: 1;
77 clip_to: "items_clip";
78 description {
79 min: 16 40;
80 state: "default" 0.0;
81 rel1 {
82 relative: 1.0 0.0;
83 offset: -13 4;
84 }
85 rel2 {
86 relative: 1.0 1.0;
87 offset: -13 -5;
88 }
89 color: 0 0 0 255;
90 }
91 }
92 part {
93 name: "overlay";
94 mouse_events: 0;
95 description {
96 state: "default" 0.0;
97 image {
98 normal: "e17_ibar_over_h.png";
99 border: 13 13 13 13;
100 middle: 0;
101 }
102 fill {
103 smooth: 0;
104 }
105 }
106 description {
107 state: "top" 0.0;
108 inherit: "default" 0.0;
109 }
110 description {
111 state: "left" 0.0;
112 inherit: "default" 0.0;
113 }
114 description {
115 state: "right" 0.0;
116 inherit: "default" 0.0;
117 }
118 }
119 part {
120 name: "inn";
121 type: RECT;
122 repeat_events: 1;
123 description {
124 state: "default" 0.0;
125 color: 0 0 0 0;
126 }
127 }
128 }
129 programs {
130
131 }
132}
diff --git a/data/themes/default_scrollbar.edc b/data/themes/default_scrollbar.edc
index 2e1909939..df2077073 100644
--- a/data/themes/default_scrollbar.edc
+++ b/data/themes/default_scrollbar.edc
@@ -1,5 +1,308 @@
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
1images { 292images {
2 image: "e17_hscrollbar_trough.png" COMP; 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/*
3 image: "e17_scrollbar_left_arrow.png" COMP; 306 image: "e17_scrollbar_left_arrow.png" COMP;
4 image: "e17_scrollbar_left_arrow_down.png" COMP; 307 image: "e17_scrollbar_left_arrow_down.png" COMP;
5 image: "e17_scrollbar_right_arrow.png" COMP; 308 image: "e17_scrollbar_right_arrow.png" COMP;
@@ -18,512 +321,123 @@ images {
18 image: "e17_scrollbar_top_arrow_down.png" COMP; 321 image: "e17_scrollbar_top_arrow_down.png" COMP;
19 image: "e17_vhandle.png" COMP; 322 image: "e17_vhandle.png" COMP;
20 image: "e17_vhandle_down.png" COMP; 323 image: "e17_vhandle_down.png" COMP;
21 image: "e17_vhandle_thumb.png" COMP; 324 image: "e17_vhandle_thumb.png" COMP;
325*/
22} 326}
23 327
24group { 328group {
25 name: "widgets/hscrollbar"; 329 name: "widgets/hscrollbar";
26 min: 40 16; 330 min: 68 18;
27 parts { 331 parts {
28 part { 332 part {
29 name: "trough"; 333 name: "trough";
30 description { 334 description {
31 state: "default" 0.0; 335 state: "default" 0.0;
32 rel1 { 336 rel1 {
33 relative: 0.0 0.5; 337 relative: 0.0 0.5;
34 offset: 0 -8; 338 offset: 0 -8;
35 } 339 }
36 rel2 { 340 rel2 {
37 relative: 1.0 0.5; 341 relative: 1.0 0.5;
38 offset: -1 9; 342 offset: -1 9;
39 } 343 }
40 image { 344 image {
41 normal: "e17_hscrollbar_trough.png"; 345 normal: "e17_hscrollbar_trough.png";
42 border: 6 6 6 6; 346 border: 8 8 8 8;
43 } 347 }
44 } 348 }
45 } 349 }
46 part { 350 part {
47 name: "left_left_arrow"; 351 name: "confine";
48 description { 352 type: RECT;
49 state: "default" 0.0; 353 description {
50 rel1 { 354 state: "default" 0.0;
51 relative: 0.0 0.5; 355 visible: 0;
52 offset: -1 -8; 356 rel1 {
53 } 357 relative: 0.0 0.5;
54 rel2 { 358 offset: 18 -6;
55 relative: 0.0 0.5; 359 }
56 offset: 16 9; 360 rel2 {
57 } 361 relative: 1.0 0.5;
58 image { 362 offset: -35 7;
59 normal: "e17_scrollbar_left_arrow.png"; 363 }
60 } 364 }
61 } 365 }
62 description { 366 SCROLLBAR_BUTTON("left_left_arrow", 0.0, 0.5, -1, -8, "e17_scrollbar_arrow_left.png")
63 state: "down" 0.0; 367 SCROLLBAR_BUTTON("right_left_arrow", 1.0, 0.5, -34, -8, "e17_scrollbar_arrow_left.png")
64 inherit: "default" 0.0; 368 SCROLLBAR_BUTTON("right_right_arrow", 1.0, 0.5, -18, -8, "e17_scrollbar_arrow_right.png")
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 } 369 }
193 programs { 370 programs {
194 program { 371 SCROLLBAR_BUTTON_PROG("left_left_arrow", "left")
195 name: "hscrollbar_drag_down"; 372 SCROLLBAR_BUTTON_PROG("right_left_arrow", "left")
196 signal: "mouse,down,1"; 373 SCROLLBAR_BUTTON_PROG("right_right_arrow", "right")
197 source: "drag"; 374 }
198 action: STATE_SET "down" 0.0; 375}
199 target: "drag"; 376group {
200 target: "drag_thumb"; 377 name: "widgets/hscrollbar_drag";
201 } 378 min: 14 0;
202 program { 379 parts {
203 name: "hscrollbar_drag_up"; 380 SCROLLBAR_DRAG("drag", 0.0, 0.0, -5, -2, 1.0, 1.0, 4, 1, "e17_scrollbar_hdrag_thumb.png")
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 } 381 }
275} 382}
276
277
278group { 383group {
279 name: "widgets/vscrollbar"; 384 name: "widgets/vscrollbar";
280 min: 16 40; 385 min: 18 68;
281 parts { 386 parts {
282 part { 387 part {
283 name: "trough"; 388 name: "trough";
284 description { 389 description {
285 state: "default" 0.0; 390 state: "default" 0.0;
286 rel1 { 391 rel1 {
287 relative: 0.5 0.0; 392 relative: 0.5 0.0;
288 offset: -8 0; 393 offset: -8 0;
289 } 394 }
290 rel2 { 395 rel2 {
291 relative: 0.5 1.0; 396 relative: 0.5 1.0;
292 offset: 9 -1; 397 offset: 9 -1;
293 } 398 }
294 image { 399 image {
295 normal: "e17_vscrollbar_trough.png"; 400 normal: "e17_vscrollbar_trough.png";
296 border: 6 6 6 6; 401 border: 8 8 8 8;
297 } 402 }
298 } 403 }
299 } 404 description {
300 part { 405 state: "hidden" 0.0;
301 name: "top_top_arrow"; 406 inherit: "default" 0.0;
302 description { 407 visible: 0;
303 state: "default" 0.0; 408 }
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 } 409 }
348 part { 410 part {
349 name: "bottom_top_arrow"; 411 name: "confine";
350 description { 412 type: RECT;
351 state: "default" 0.0; 413 description {
352 rel1 { 414 state: "default" 0.0;
353 relative: 0.0 0.0; 415 visible: 0;
354 offset: 0 -18; 416 rel1 {
355 to: "bottom_bottom_arrow"; 417 relative: 0.5 0.0;
356 } 418 offset: -6 18;
357 rel2 { 419 }
358 relative: 1.0 0.0; 420 rel2 {
359 offset: -1 -1; 421 relative: 0.5 1.0;
360 to: "bottom_bottom_arrow"; 422 offset: 7 -35;
361 } 423 }
362 image { 424 }
363 normal: "e17_scrollbar_top_arrow.png"; 425 }
364 } 426 SCROLLBAR_BUTTON("up_up_arrow", 0.5, 0.0, -8, -1, "e17_scrollbar_arrow_up.png")
365 } 427 SCROLLBAR_BUTTON("down_up_arrow", 0.5, 1.0, -8, -34, "e17_scrollbar_arrow_down.png")
366 description { 428 SCROLLBAR_BUTTON("down_down_arrow", 0.5, 1.0, -8, -18, "e17_scrollbar_arrow_down.png")
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 } 429 }
447 programs { 430 programs {
448 program { 431 SCROLLBAR_BUTTON_PROG("up_up_arrow", "up")
449 name: "vscrollbar_drag_down"; 432 SCROLLBAR_BUTTON_PROG("down_up_arrow", "up")
450 signal: "mouse,down,1"; 433 SCROLLBAR_BUTTON_PROG("down_down_arrow", "down")
451 source: "drag"; 434 }
452 action: STATE_SET "down" 0.0; 435}
453 target: "drag"; 436group {
454 target: "drag_thumb"; 437 name: "widgets/vscrollbar_drag";
455 } 438 min: 0 14;
456 program { 439 parts {
457 name: "vscrollbar_drag_up"; 440 SCROLLBAR_DRAG("drag", 0.0, 0.0, -2, -5, 1.0, 1.0, 1, 4, "e17_scrollbar_vdrag_thumb.png")
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 } 441 }
529} 442}
443
diff --git a/data/themes/images/e17_hscrollbar_trough.png b/data/themes/images/e17_hscrollbar_trough.png
index 7c835a7ed..2c4b8c0d9 100644
--- a/data/themes/images/e17_hscrollbar_trough.png
+++ b/data/themes/images/e17_hscrollbar_trough.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_desktop.png b/data/themes/images/e17_icon_fileman_desktop.png
new file mode 100644
index 000000000..1d7724863
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_desktop.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_down.png b/data/themes/images/e17_scrollbar_arrow_down.png
new file mode 100644
index 000000000..a1b5bd20c
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_arrow_down.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_left.png b/data/themes/images/e17_scrollbar_arrow_left.png
new file mode 100644
index 000000000..015be4649
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_arrow_left.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_right.png b/data/themes/images/e17_scrollbar_arrow_right.png
new file mode 100644
index 000000000..67e1eb9f3
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_arrow_right.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_arrow_up.png b/data/themes/images/e17_scrollbar_arrow_up.png
new file mode 100644
index 000000000..e2519eb84
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_arrow_up.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_button.png b/data/themes/images/e17_scrollbar_button.png
new file mode 100644
index 000000000..47ef8ecbb
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_button.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_button_shadow1.png b/data/themes/images/e17_scrollbar_button_shadow1.png
new file mode 100644
index 000000000..087c12261
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_button_shadow1.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_button_shadow2.png b/data/themes/images/e17_scrollbar_button_shadow2.png
new file mode 100644
index 000000000..2a800ab69
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_button_shadow2.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_hdrag_thumb.png b/data/themes/images/e17_scrollbar_hdrag_thumb.png
new file mode 100644
index 000000000..281a3f84c
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_hdrag_thumb.png
Binary files differ
diff --git a/data/themes/images/e17_scrollbar_vdrag_thumb.png b/data/themes/images/e17_scrollbar_vdrag_thumb.png
new file mode 100644
index 000000000..771987bc4
--- /dev/null
+++ b/data/themes/images/e17_scrollbar_vdrag_thumb.png
Binary files differ
diff --git a/data/themes/images/e17_vscrollbar_trough.png b/data/themes/images/e17_vscrollbar_trough.png
index c19c2bfba..3cf4280f0 100644
--- a/data/themes/images/e17_vscrollbar_trough.png
+++ b/data/themes/images/e17_vscrollbar_trough.png
Binary files differ