summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-10-12 22:21:50 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-10-12 22:21:50 +0000
commitc73c78469864af0cc20f0c154797a37370fe95ad (patch)
treee96083d205641baf46297a2cd4f7127c2696edc9 /data
parent603797ce958f0bfb175b4e10fd0884c765455fad (diff)
- Add label widget (futur work: ability to tie its focus to another widget)
- Redo properties dialog in EFM to show more info and file permissions. (needs more work so it can do and apply things, and load permissions) SVN revision: 17468
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc1
-rw-r--r--data/themes/default_fileman.edc172
-rw-r--r--data/themes/default_label.edc119
3 files changed, 120 insertions, 172 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 2496867bf..7ccd29f2d 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -53,5 +53,6 @@ collections {
53#include "default_radio.edc" 53#include "default_radio.edc"
54#include "default_frame.edc" 54#include "default_frame.edc"
55#include "default_button.edc" 55#include "default_button.edc"
56#include "default_label.edc"
56} 57}
57 58
diff --git a/data/themes/default_fileman.edc b/data/themes/default_fileman.edc
index e77522ce5..9f8ceb763 100644
--- a/data/themes/default_fileman.edc
+++ b/data/themes/default_fileman.edc
@@ -117,11 +117,7 @@ images
117 image: "e17_menu_bg_border.png" COMP; 117 image: "e17_menu_bg_border.png" COMP;
118 image: "e17_button2.png" COMP; 118 image: "e17_button2.png" COMP;
119 image: "e17_button.png" COMP; 119 image: "e17_button.png" COMP;
120 image: "e17_dialog_watermark.png" COMP;
121 image: "e17_ibar_bg_v.png" COMP;
122 image: "e17_logo.png" COMP; 120 image: "e17_logo.png" COMP;
123 image: "e17_menu_bg.png" COMP;
124 image: "e17_ibar_over_v.png" COMP;
125} 121}
126 122
127styles 123styles
@@ -358,174 +354,6 @@ group {
358 } 354 }
359} 355}
360 356
361
362group {
363 name: "fileman/properties";
364 parts {
365 part {
366 name: "base";
367 mouse_events: 0;
368 type: RECT;
369 description {
370 state: "default" 0.0;
371 rel1 {
372 relative: 0.0 0.0;
373 offset: 1 1;
374 }
375 rel2 {
376 relative: 1.0 1.0;
377 offset: -2 -2;
378 }
379 color: 221 221 221 255;
380 }
381 }
382 part {
383 name: "conf_bg";
384 mouse_events: 0;
385 description {
386 state: "default" 0.0;
387 rel1 {
388 to: "conf";
389 offset: -7 -7;
390 }
391 rel2 {
392 to: "conf";
393 offset: 6 6;
394 }
395 image {
396 normal: "e17_ibar_bg_v.png";
397 border: 7 7 7 7;
398 }
399 }
400 }
401 part {
402 name: "base3";
403 mouse_events: 0;
404 description {
405 state: "default" 0.0;
406 image {
407 normal: "e17_menu_bg_border.png";
408 border: 1 1 1 1;
409 middle: 0;
410 }
411 fill {
412 smooth: 0;
413 }
414 }
415 }
416 part {
417 name: "conf";
418 type: RECT;
419 mouse_events: 0;
420 description {
421 state: "default" 0.0;
422// max: 1000 1000;
423 min: 200 100;
424 rel1 {
425 to_y: "title";
426 relative: 0.0 1.0;
427 offset: 8 8;
428 }
429 rel2 {
430 relative: 1.0 1.0;
431 offset: -9 -9;
432 }
433 }
434 }
435 part {
436 name: "watermark";
437 mouse_events: 0;
438 description {
439 state: "default" 0.0;
440 min: 200 138;
441 max: 200 138;
442 align: 1.0 1.0;
443 fixed: 1 1;
444 rel1 {
445 relative: 1.0 1.0;
446 offset: 29 9;
447 }
448 rel2 {
449 relative: 1.0 1.0;
450 offset: 29 9;
451 }
452 image {
453 normal: "e17_dialog_watermark.png";
454 }
455 }
456 }
457 part {
458 name: "conf_over";
459 mouse_events: 0;
460 description {
461 state: "default" 0.0;
462 rel1 {
463 to: "conf_bg";
464 }
465 rel2 {
466 to: "conf_bg";
467 }
468 image {
469 normal: "e17_ibar_over_v.png";
470 border: 13 13 13 13;
471 }
472 }
473 }
474 part {
475 name: "title";
476 type: TEXT;
477 effect: SOFT_SHADOW;
478 mouse_events: 0;
479 description {
480 state: "default" 0.0;
481 fixed: 0 1;
482 align: 0.5 0.0;
483 rel1 {
484 //to_y: "logo";
485 relative: 0.0 0.0;
486 offset: 6 6;
487 }
488 rel2 {
489 //to_y: "logo";
490 relative: 1.0 0.0;
491 offset: -7 6;
492 }
493 color: 255 255 255 255;
494 color3: 0 0 0 32;
495 text {
496 text: "Title Text";
497 font: "Edje-Vera-Bold";
498 size: 14;
499 min: 0 1;
500 align: 0.5 0.5;
501 }
502 }
503 }
504 part {
505 name: "content_swallow";
506 type: SWALLOW;
507 description {
508 state: "default" 0.0;
509 align: 0.0 0.5;
510 color: 0 0 0 0;
511 rel1 {
512 to_y: "title";
513 relative: 0.0 0.0;
514 offset: 11 11;
515 to: "conf_bg";
516 }
517 rel2 {
518 relative: 1.0 1.0;
519 offset: -12 -12;
520 to: "conf_bg";
521 }
522 }
523 }
524 }
525 programs {
526 }
527}
528
529group { 357group {
530 name: "fileman/rubberband"; 358 name: "fileman/rubberband";
531 parts { 359 parts {
diff --git a/data/themes/default_label.edc b/data/themes/default_label.edc
new file mode 100644
index 000000000..5e5518144
--- /dev/null
+++ b/data/themes/default_label.edc
@@ -0,0 +1,119 @@
1images {
2 image: "focus.png" COMP;
3}
4group {
5 name: "widgets/label";
6 parts {
7 part {
8 name: "label";
9 type: TEXT;
10 effect: SHADOW;
11 mouse_events: 0;
12 description {
13 state: "default" 0.0;
14 min: 16 16;
15 rel1 {
16 relative: 0.0 0.0;
17 offset: 4 4;
18 }
19 rel2 {
20 relative: 1.0 1.0;
21 offset: -5 -5;
22 }
23 color: 0 0 0 255;
24 color3: 255 255 255 128;
25 text {
26 text: "Check Button";
27 font: "Edje-Vera";
28 size: 10;
29 min: 1 1;
30 align: 0.0 0.5;
31 }
32 }
33 }
34 part {
35 name: "event";
36 type: RECT;
37 description {
38 state: "default" 0.0;
39 color: 0 0 0 0;
40 }
41 }
42 part {
43 name: "focus";
44 mouse_events: 0;
45 description {
46 state: "default" 0.0;
47 visible: 0;
48 color: 255 255 255 0;
49 image {
50 normal: "focus.png";
51 border: 7 7 7 7;
52 middle: 0;
53 }
54 fill {
55 smooth: 0;
56 }
57 }
58 description {
59 state: "focused" 0.0;
60 inherit: "default" 0.0;
61 visible: 1;
62 color: 255 255 255 255;
63 }
64 }
65 }
66 programs {
67/*
68 program {
69 name: "turn_on1";
70 signal: "toggle_on";
71 source: "";
72 action: STATE_SET "active" 0.0;
73 target: "item1";
74 }
75 program {
76 name: "turn_off1";
77 signal: "toggle_off";
78 source: "";
79 action: STATE_SET "default" 0.0;
80 target: "item1";
81 }
82 program {
83 name: "click";
84 signal: "mouse,down,1";
85 source: "event";
86 script {
87 new buf[100];
88 new Float:val;
89
90 get_state(PART:"item1", buf, sizeof(buf), val);
91 if (!strcmp(buf, "default")) {
92 set_state(PART:"item1", "active", 0.0);
93 emit("toggled", "on");
94 }
95 else {
96 set_state(PART:"item1", "default", 0.0);
97 emit("toggled", "off");
98 }
99 }
100 }
101 */
102 program {
103 name: "focus_in";
104 signal: "focus_in";
105 source: "";
106 action: STATE_SET "focused" 0.0;
107 transition: DECELERATE 0.2;
108 target: "focus";
109 }
110 program {
111 name: "focus_out";
112 signal: "focus_out";
113 source: "";
114 action: STATE_SET "default" 0.0;
115 transition: ACCELERATE 0.5;
116 target: "focus";
117 }
118 }
119}