aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libraries/winFang.edc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libraries/winFang.edc')
-rw-r--r--src/libraries/winFang.edc115
1 files changed, 115 insertions, 0 deletions
diff --git a/src/libraries/winFang.edc b/src/libraries/winFang.edc
new file mode 100644
index 0000000..0fca7a9
--- /dev/null
+++ b/src/libraries/winFang.edc
@@ -0,0 +1,115 @@
1// The images we use.
2images
3{
4 image: "bubble.png" COMP; // COMP means to use lossless compression.
5 image: "bubble_sh.png" COMP;
6 image: "logo.png" COMP;
7 image: "pt.png" COMP;
8 image: "sky_01.jpg" COMP;
9 image: "sky_02.jpg" COMP;
10 image: "sky_03.jpg" COMP;
11 image: "sky_04.jpg" COMP;
12}
13
14collections {
15
16 group {
17 name: "winFang/layout";
18
19 data {
20 item: "title" "<b>Layout based internal window</b>";
21 }
22
23 parts {
24
25 // The first part, the black background RECTangle of the screens.
26 part
27 { name: "winFang/background";
28 type: IMAGE;
29 // Ignore mouse events.
30 mouse_events: 0;
31 // Each part has one or more descriptions, or states.
32 // They all have to have at least this default state.
33 description
34 { state: "default" 0.0;
35 // RGBA, so this is purple, and semi transparent.
36// color: 50 0 100 100; // pre multiplied R = (r * a) / 255
37 color: 126 0 255 100; // r = (R * 255) / a
38 aspect_preference: HORIZONTAL;
39 image {
40 normal: "sky_04.jpg";
41 }
42 }
43 }
44
45 part {
46 name: "winFang/title";
47 type: TEXT;
48
49 description {
50 state: "default" 0.0;
51 color: 255 255 255 255;
52 rel1 {
53 relative: 0.0 0.0;
54 to: "winFang/background";
55 }
56 rel2 {
57 relative: 1.0 0.0;
58 to: "winFang/background";
59 offset: 0 15;
60 }
61 text {
62 text: "bla";
63 size: 10;
64 font: "sans";
65 min: 0 1;
66 max: 0 1;
67 }
68 }
69 }
70
71 part {
72 name: "winFang/box";
73 type: BOX;
74
75 description {
76 state: "default" 0.0;
77
78 box {
79 layout: "vertical";
80 }
81 rel1 {
82 relative: 0.0 0.0;
83 to: "winFang/title";
84 offset: 0 15;
85 }
86 rel2 {
87 relative: 1.0 1.0;
88 to: "winFang/background";
89 }
90 }
91 } // winFang/box
92
93 part {
94 name: "winFang/content";
95 type: SWALLOW;
96
97 description {
98 state: "default" 0.0;
99 fixed: 1 1;
100
101 rel1 {
102 relative: 0.0 0.0;
103 to: "winFang/title";
104 offset: 0 15;
105 }
106 rel2 {
107 relative: 1.0 1.0;
108 to: "winFang/background";
109 }
110 }
111 } // winFang/content
112
113 }
114 }
115}