summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-10-10 00:55:07 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-10-10 00:55:07 +0000
commit8128695e77977c6b5d30f46b5857448b02d1ff09 (patch)
tree931dbed467d03511d4e1f43a046ea1368f26db0c /data
parent20e29bf3503f9fd1659f2eb228cc70317b03354d (diff)
EFM - The E17 file manager and file browser smart object.
*** BEFORE YOU USE *** This is alpha software and may cause E17 to crash, lockup, use 99% of your cpu, or even delete your files! I would advise using it in Xnest if you want to test or develop it. *** BEFORE YOU USE *** EFM can: - browse files and directories - generate thumbnails - launch executables - do some xdnd - monitor files and directories - delete and rename files EFM cant: - scroll - associate applications with files - purge its thumbnails (do it manually: ~/.e/e/fileman/thumbnails) - do a lot of things you'd expect it to do because its still in alpha stage Current TODO: - scrolling - we need a redraw function that will just re-arrange and not do the whole thing. for example, when we resize, we should just check the file offset and fill the empty space with icons - is the offset code working properly? i have a feeling we're displayin more icons that the visible space can take and they are being hidden. - emit all sorts of signals on double click, right click, single click... - aspect ratio on thumbnails. - add typebuffer like in evidence. - keyboard shortcuts for directory and file navigation. - multi select - allow for icon movement inside the canvas - add metadata system which allows us to save icon positions and will eventually allow us to have custom icon sizes, custom bgs per dir... - double check dir monitoring. note: when we are in a dir that is constantly changing, we cant keep calling redraw_new as it will kill us. - we need to fix the icon edc to allow us to have icon labels what will wrap on wrap=char - fix bugs SVN revision: 17370
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc3
-rw-r--r--data/themes/default_fileman.edc506
-rw-r--r--data/themes/default_icons.edc19
-rw-r--r--data/themes/images/e17_button_detail_arrange.pngbin0 -> 233 bytes
-rw-r--r--data/themes/images/e17_button_detail_arrange_name.pngbin0 -> 229 bytes
-rw-r--r--data/themes/images/e17_button_detail_arrange_time.pngbin0 -> 245 bytes
-rw-r--r--data/themes/images/e17_button_detail_copy.pngbin0 -> 172 bytes
-rw-r--r--data/themes/images/e17_button_detail_cut.pngbin0 -> 290 bytes
-rw-r--r--data/themes/images/e17_button_detail_delete.pngbin0 -> 253 bytes
-rw-r--r--data/themes/images/e17_button_detail_open.pngbin0 -> 337 bytes
-rw-r--r--data/themes/images/e17_button_detail_paste.pngbin0 -> 430 bytes
-rw-r--r--data/themes/images/e17_button_detail_properties.pngbin0 -> 240 bytes
-rw-r--r--data/themes/images/e17_button_detail_refresh.pngbin0 -> 227 bytes
-rw-r--r--data/themes/images/e17_button_detail_rename.pngbin0 -> 238 bytes
-rw-r--r--data/themes/images/e17_button_detail_view.pngbin0 -> 233 bytes
-rw-r--r--data/themes/images/e17_button_detail_view_details.pngbin0 -> 237 bytes
-rw-r--r--data/themes/images/e17_button_detail_view_name.pngbin0 -> 229 bytes
-rw-r--r--data/themes/images/e17_fileman_bg.pngbin0 -> 159 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_c.pngbin0 -> 2275 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_file.pngbin0 -> 2187 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_folder.pngbin0 -> 3243 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_h.pngbin0 -> 2276 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_jpg.pngbin0 -> 2157 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_pdf.pngbin0 -> 2227 bytes
-rw-r--r--data/themes/images/e17_icon_fileman_png.pngbin0 -> 2157 bytes
25 files changed, 527 insertions, 1 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 1fad8c58c..22971e0e6 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -46,7 +46,8 @@ 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_fileman.edc"
50#include "default_scrollbar.edc" 51#include "default_scrollbar.edc"
51} 52}
52 53
diff --git a/data/themes/default_fileman.edc b/data/themes/default_fileman.edc
new file mode 100644
index 000000000..4263c2f1a
--- /dev/null
+++ b/data/themes/default_fileman.edc
@@ -0,0 +1,506 @@
1#define FULL_SIZE_FILEMAN_BUTTON(TYPE) \
2group { \
3 name: "fileman/button/"TYPE; \
4 parts { \
5 part { \
6 name: "whole"; \
7 type: RECT; \
8 description { \
9 state: "default" 0.0; \
10 visible: 0; \
11 rel1 { \
12 relative: 0.0 0.0; \
13 offset: 0 0; \
14 } \
15 rel2 { \
16 relative: 1.0 1.0; \
17 offset: -1 -1; \
18 } \
19 } \
20 } \
21 BORDER_BUTTON("button",TYPE,0.0,0.0,-3,-3,"whole",1.0,1.0,2,2,"whole") \
22 } \
23}
24
25#define FILEMAN_ICON(TYPE) \
26group { \
27 name: "fileman/icons/"TYPE; \
28 max: 64 64; \
29 parts { \
30 part { \
31 name: "icon"; \
32 mouse_events: 0; \
33 description { \
34 state: "default" 0.0; \
35 aspect: 1.0 1.0; \
36 max: 64 64; \
37 image { \
38 normal: "e17_icon_fileman_"TYPE".png"; \
39 } \
40 } \
41 } \
42 } \
43} \
44
45images
46{
47 image: "e17_fileman_bg.png" COMP;
48 image: "e17_icon_fileman_folder.png" COMP;
49 image: "e17_icon_fileman_file.png" COMP;
50 image: "e17_icon_fileman_pdf.png" COMP;
51 image: "e17_icon_fileman_c.png" COMP;
52 image: "e17_icon_fileman_h.png" COMP;
53 image: "e17_icon_fileman_png.png" COMP;
54 image: "e17_icon_fileman_jpg.png" COMP;
55 image: "e17_button_detail_open.png" COMP;
56 image: "e17_button_detail_paste.png" COMP;
57 image: "e17_button_detail_copy.png" COMP;
58 image: "e17_button_detail_cut.png" COMP;
59 image: "e17_button_detail_rename.png" COMP;
60 image: "e17_button_detail_delete.png" COMP;
61 image: "e17_button_detail_properties.png" COMP;
62 image: "e17_button_detail_arrange_name.png" COMP;
63 image: "e17_button_detail_arrange.png" COMP;
64 image: "e17_button_detail_arrange_time.png" COMP;
65 image: "e17_button_detail_properties.png" COMP;
66 image: "e17_button_detail_refresh.png" COMP;
67 image: "e17_button_detail_view_details.png" COMP;
68 image: "e17_button_detail_view_name.png" COMP;
69 image: "e17_button_detail_view.png" COMP;
70
71 image: "e17_menu_bg_border.png" COMP;
72 image: "e17_button2.png" COMP;
73 image: "e17_button.png" COMP;
74 image: "e17_dialog_watermark.png" COMP;
75 image: "e17_ibar_bg_v.png" COMP;
76 image: "e17_about_over_v.png" COMP;
77 image: "e17_logo.png" COMP;
78 image: "e17_menu_bg.png" COMP;
79 image: "e17_ibar_over_v.png" COMP;
80}
81
82styles
83{
84 style {
85 name: "fileman_icon_style";
86 base: "font=Edje-Vera color=#000 font_size=10 align=center wrap=char";
87 //style=soft_shadow shadow_color=#cccccc
88 tag: "br" "\n";
89 tag: "hilight" "+ font=Edje-Vera-Bold";
90 tag: "invisible" "+ font=Edje-Vera font_size=7 style=none color=#0002";
91 }
92}
93
94
95group {
96 name: "fileman/main";
97 parts {
98 part {
99 name: "background_clip";
100 mouse_events: 1;
101 type: RECT;
102 description {
103 state: "default" 0.0;
104 rel1 {
105 relative: 0 0;
106 offset: 0 0;
107 }
108 rel2 {
109 relative: 1.0 1.0;
110 offset: -16 -16;
111 }
112 }
113 }
114 part {
115 name: "background";
116 mouse_events: 1;
117 description {
118 state: "default" 0.0;
119 rel1 {
120 relative: 0 0;
121 offset: 0 0;
122 }
123 rel2 {
124 relative: 1.0 1.0;
125 offset: 0 0;
126 }
127 image {
128 normal: "e17_fileman_bg.png";
129 }
130 fill {
131 smooth: 0;
132 }
133 }
134 }
135 part {
136 name: "logo_bg";
137 clip_to: "background_clip";
138 mouse_events: 1;
139 description
140 {
141 state: "default" 0.0;
142 color: 255 255 255 64;
143 rel1 {
144 relative: 0 0;
145 offset: -30 -80;
146 }
147 rel2 {
148 relative: 0 0;
149 offset: 90 80;
150 }
151 image {
152 normal: "e17_logo.png";
153 }
154 }
155 }
156 part {
157 name: "icon_area";
158 type: SWALLOW;
159 mouse_events: 1;
160 description {
161 state: "default" 0.0;
162 rel1 {
163 relative: 0 0;
164 offset: 0 0;
165 }
166 rel2 {
167 relative: 1.0 1.0;
168 offset: 0 0;
169 }
170 }
171 }
172 part {
173 name: "hscrollbar";
174 type: "SWALLOW";
175 mouse_events: 1;
176 description {
177 min: 40 16;
178 state: "default" 0.0;
179 rel1 {
180 relative: 0.0 1.0;
181 offset: 0 -16;
182 }
183 rel2 {
184 relative: 1.0 1.0;
185 offset: -16 -1;
186 }
187 color: 0 0 0 255;
188 }
189 }
190 part {
191 name: "vscrollbar";
192 type: "SWALLOW";
193 mouse_events: 1;
194 description {
195 min: 16 40;
196 state: "default" 0.0;
197 rel1 {
198 relative: 1.0 0.0;
199 offset: -16 0;
200 }
201 rel2 {
202 relative: 1.0 1.0;
203 offset: 0 -16;
204 }
205 color: 0 0 0 255;
206 }
207 }
208 }
209 programs {
210 }
211}
212
213group {
214 name: "fileman/icon";
215 min: 48 48;
216 max: 128 128;
217 parts {
218 part {
219 name: "icon_swallow";
220 type: SWALLOW;
221 mouse_events: 1;
222 dragable {
223 x: 1 1 0;
224 y: 1 1 0;
225 }
226 description {
227 min: 48 48;
228 max: 128 128;
229 state: "default" 0.0;
230 rel1 {
231 relative: 0.0 0.0;
232 offset: 5 5;
233 }
234 rel2 {
235 relative: 1.0 1.0;
236 offset: -6 -20;
237 }
238 color: 0 0 0 255;
239 }
240 }
241
242 part {
243 name: "icon_title";
244 type: TEXT;
245 effect: NONE;
246 description {
247 rel1 {
248 relative: 0.0 1.0;
249 offset: 5 -6;
250 }
251 rel2 {
252 relative: 1.0 1.0;
253 offset: -6 -6;
254 }
255 color: 0 0 0 255;
256 text {
257 text: "No Title";
258 align: 0.0 0.0;
259 font: "Edje-Vera";
260 size: 10;
261 // min: 1 1;
262 }
263 }
264 }
265
266/*
267 part {
268 name: "icon_title";
269 type: TEXTBLOCK;
270 effect: NONE;
271 description {
272 rel1 {
273 relative: 0.0 1.0;
274 offset: 5 -20;
275 }
276 rel2 {
277 relative: 1.0 1.0;
278 offset: -6 1000;
279 }
280 color: 0 0 0 255;
281 //color3: 0 0 0 32;
282 text {
283 text: "No Title";
284 style: "fileman_icon_style";
285 min: 1 1;
286 }
287 }
288 }
289*/
290 part {
291 name: "icon_title_edit_swallow";
292 type: SWALLOW;
293 effect: NONE;
294 description {
295 rel1 {
296 relative: 0.0 1.0;
297 offset: 5 -20;
298 }
299 rel2 {
300 relative: 1.0 1.0;
301 offset: -6 -6;
302 }
303 }
304 }
305 }
306 programs {
307 program {
308 name: "button_click";
309 signal: "mouse,down,1";
310 source: "icon_event";
311 action: SIGNAL_EMIT "clicked" "";
312 }
313 }
314}
315
316
317group {
318 name: "fileman/properties";
319 parts {
320 part {
321 name: "base";
322 mouse_events: 0;
323 type: RECT;
324 description {
325 state: "default" 0.0;
326 rel1 {
327 relative: 0.0 0.0;
328 offset: 1 1;
329 }
330 rel2 {
331 relative: 1.0 1.0;
332 offset: -2 -2;
333 }
334 color: 221 221 221 255;
335 }
336 }
337 part {
338 name: "conf_bg";
339 mouse_events: 0;
340 description {
341 state: "default" 0.0;
342 rel1 {
343 to: "conf";
344 offset: -7 -7;
345 }
346 rel2 {
347 to: "conf";
348 offset: 6 6;
349 }
350 image {
351 normal: "e17_ibar_bg_v.png";
352 border: 7 7 7 7;
353 }
354 }
355 }
356 part {
357 name: "base3";
358 mouse_events: 0;
359 description {
360 state: "default" 0.0;
361 image {
362 normal: "e17_menu_bg_border.png";
363 border: 1 1 1 1;
364 middle: 0;
365 }
366 fill {
367 smooth: 0;
368 }
369 }
370 }
371 part {
372 name: "conf";
373 type: RECT;
374 mouse_events: 0;
375 description {
376 state: "default" 0.0;
377// max: 1000 1000;
378 min: 200 100;
379 rel1 {
380 to_y: "title";
381 relative: 0.0 1.0;
382 offset: 8 8;
383 }
384 rel2 {
385 relative: 1.0 1.0;
386 offset: -9 -9;
387 }
388 }
389 }
390 part {
391 name: "watermark";
392 mouse_events: 0;
393 description {
394 state: "default" 0.0;
395 min: 200 138;
396 max: 200 138;
397 align: 1.0 1.0;
398 fixed: 1 1;
399 rel1 {
400 relative: 1.0 1.0;
401 offset: 29 9;
402 }
403 rel2 {
404 relative: 1.0 1.0;
405 offset: 29 9;
406 }
407 image {
408 normal: "e17_dialog_watermark.png";
409 }
410 }
411 }
412 part {
413 name: "conf_over";
414 mouse_events: 0;
415 description {
416 state: "default" 0.0;
417 rel1 {
418 to: "conf_bg";
419 }
420 rel2 {
421 to: "conf_bg";
422 }
423 image {
424 normal: "e17_ibar_over_v.png";
425 border: 13 13 13 13;
426 }
427 }
428 }
429 part {
430 name: "title";
431 type: TEXT;
432 effect: SOFT_SHADOW;
433 mouse_events: 0;
434 description {
435 state: "default" 0.0;
436 fixed: 0 1;
437 align: 0.5 0.0;
438 rel1 {
439 //to_y: "logo";
440 relative: 0.0 0.0;
441 offset: 6 6;
442 }
443 rel2 {
444 //to_y: "logo";
445 relative: 1.0 0.0;
446 offset: -7 6;
447 }
448 color: 255 255 255 255;
449 color3: 0 0 0 32;
450 text {
451 text: "Title Text";
452 font: "Edje-Vera-Bold";
453 size: 14;
454 min: 0 1;
455 align: 0.5 0.5;
456 }
457 }
458 }
459 part {
460 name: "content_swallow";
461 type: SWALLOW;
462 description {
463 state: "default" 0.0;
464 align: 0.0 0.5;
465 color: 0 0 0 0;
466 rel1 {
467 to_y: "title";
468 relative: 0.0 0.0;
469 offset: 11 11;
470 to: "conf_bg";
471 }
472 rel2 {
473 relative: 1.0 1.0;
474 offset: -12 -12;
475 to: "conf_bg";
476 }
477 }
478 }
479 }
480 programs {
481 }
482}
483
484
485FILEMAN_ICON("folder");
486FILEMAN_ICON("file");
487FILEMAN_ICON("pdf");
488FILEMAN_ICON("c");
489FILEMAN_ICON("h");
490FILEMAN_ICON("png");
491FILEMAN_ICON("jpg");
492
493FULL_SIZE_FILEMAN_BUTTON("open");
494FULL_SIZE_FILEMAN_BUTTON("copy");
495FULL_SIZE_FILEMAN_BUTTON("cut");
496FULL_SIZE_FILEMAN_BUTTON("paste");
497FULL_SIZE_FILEMAN_BUTTON("delete");
498FULL_SIZE_FILEMAN_BUTTON("rename");
499FULL_SIZE_FILEMAN_BUTTON("properties");
500FULL_SIZE_FILEMAN_BUTTON("arrange_name");
501FULL_SIZE_FILEMAN_BUTTON("arrange");
502FULL_SIZE_FILEMAN_BUTTON("arrange_time");
503FULL_SIZE_FILEMAN_BUTTON("refresh");
504FULL_SIZE_FILEMAN_BUTTON("view_details");
505FULL_SIZE_FILEMAN_BUTTON("view_name");
506FULL_SIZE_FILEMAN_BUTTON("view");
diff --git a/data/themes/default_icons.edc b/data/themes/default_icons.edc
index b353b23d5..88cc5d070 100644
--- a/data/themes/default_icons.edc
+++ b/data/themes/default_icons.edc
@@ -411,3 +411,22 @@ images {
411 } 411 }
412 } 412 }
413 } 413 }
414
415 group {
416 name: "icons/enlightenment/fileman";
417 max: 64 64;
418 parts {
419 part {
420 name: "icon";
421 mouse_events: 0;
422 description {
423 state: "default" 0.0;
424 aspect: 1.0 1.0;
425 max: 64 64;
426 image {
427 normal: "e17_icon_fileman_folder.png";
428 }
429 }
430 }
431 }
432 }
diff --git a/data/themes/images/e17_button_detail_arrange.png b/data/themes/images/e17_button_detail_arrange.png
new file mode 100644
index 000000000..ee09364a4
--- /dev/null
+++ b/data/themes/images/e17_button_detail_arrange.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_arrange_name.png b/data/themes/images/e17_button_detail_arrange_name.png
new file mode 100644
index 000000000..bfcc5988c
--- /dev/null
+++ b/data/themes/images/e17_button_detail_arrange_name.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_arrange_time.png b/data/themes/images/e17_button_detail_arrange_time.png
new file mode 100644
index 000000000..11ceb706b
--- /dev/null
+++ b/data/themes/images/e17_button_detail_arrange_time.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_copy.png b/data/themes/images/e17_button_detail_copy.png
new file mode 100644
index 000000000..321331678
--- /dev/null
+++ b/data/themes/images/e17_button_detail_copy.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_cut.png b/data/themes/images/e17_button_detail_cut.png
new file mode 100644
index 000000000..d5b215f63
--- /dev/null
+++ b/data/themes/images/e17_button_detail_cut.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_delete.png b/data/themes/images/e17_button_detail_delete.png
new file mode 100644
index 000000000..a96644383
--- /dev/null
+++ b/data/themes/images/e17_button_detail_delete.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_open.png b/data/themes/images/e17_button_detail_open.png
new file mode 100644
index 000000000..c7fdadc6d
--- /dev/null
+++ b/data/themes/images/e17_button_detail_open.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_paste.png b/data/themes/images/e17_button_detail_paste.png
new file mode 100644
index 000000000..87eae1a02
--- /dev/null
+++ b/data/themes/images/e17_button_detail_paste.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_properties.png b/data/themes/images/e17_button_detail_properties.png
new file mode 100644
index 000000000..a92bda0ca
--- /dev/null
+++ b/data/themes/images/e17_button_detail_properties.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_refresh.png b/data/themes/images/e17_button_detail_refresh.png
new file mode 100644
index 000000000..c8dd5e83b
--- /dev/null
+++ b/data/themes/images/e17_button_detail_refresh.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_rename.png b/data/themes/images/e17_button_detail_rename.png
new file mode 100644
index 000000000..09ed03c59
--- /dev/null
+++ b/data/themes/images/e17_button_detail_rename.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_view.png b/data/themes/images/e17_button_detail_view.png
new file mode 100644
index 000000000..ede5e12c8
--- /dev/null
+++ b/data/themes/images/e17_button_detail_view.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_view_details.png b/data/themes/images/e17_button_detail_view_details.png
new file mode 100644
index 000000000..71f3a0c6e
--- /dev/null
+++ b/data/themes/images/e17_button_detail_view_details.png
Binary files differ
diff --git a/data/themes/images/e17_button_detail_view_name.png b/data/themes/images/e17_button_detail_view_name.png
new file mode 100644
index 000000000..68ec22ad2
--- /dev/null
+++ b/data/themes/images/e17_button_detail_view_name.png
Binary files differ
diff --git a/data/themes/images/e17_fileman_bg.png b/data/themes/images/e17_fileman_bg.png
new file mode 100644
index 000000000..546f826bf
--- /dev/null
+++ b/data/themes/images/e17_fileman_bg.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_c.png b/data/themes/images/e17_icon_fileman_c.png
new file mode 100644
index 000000000..778abce08
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_c.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_file.png b/data/themes/images/e17_icon_fileman_file.png
new file mode 100644
index 000000000..e0534ac49
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_file.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_folder.png b/data/themes/images/e17_icon_fileman_folder.png
new file mode 100644
index 000000000..73160c606
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_folder.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_h.png b/data/themes/images/e17_icon_fileman_h.png
new file mode 100644
index 000000000..07833a15e
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_h.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_jpg.png b/data/themes/images/e17_icon_fileman_jpg.png
new file mode 100644
index 000000000..a7b322b36
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_jpg.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_pdf.png b/data/themes/images/e17_icon_fileman_pdf.png
new file mode 100644
index 000000000..76de5a757
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_pdf.png
Binary files differ
diff --git a/data/themes/images/e17_icon_fileman_png.png b/data/themes/images/e17_icon_fileman_png.png
new file mode 100644
index 000000000..3296780c3
--- /dev/null
+++ b/data/themes/images/e17_icon_fileman_png.png
Binary files differ