Initial commit.
[euphoria.git] / data / themes / winter / parts / main.edc
1
2             part {
3                 name, "main";
4                 mouse_events, 1;
5                 repeat_events, 1;
6                   description {
7                     state, "default" 0.0;
8                     min, 199 182;
9                     max, 99999 182;
10                     rel1 {
11                       relative, 0 0;
12                       offset, 0 0;
13                     }
14                     rel2 {
15                       relative, 1 0;
16                       offset, -1 182;
17                     }
18                     image {
19                         normal, "main.png";
20                         border, 10 10 20 10;
21                     }
22                 }
23             } //part
24
25             part {
26                 name, "top_grad";
27                 mouse_events, 1;
28                 repeat_events, 1;
29                   description {
30                     state, "default" 0.0;
31                     min, 30 10;
32                     max, 99999 10;
33                         color, WINTER_COLOR;
34                     rel1 {
35                       to, "main";
36                       relative, 0 0;
37                       offset, 0 0;
38                     }
39                     rel2 {
40                       to, "main";
41                       relative, 1 0;
42                       offset, -1 10;
43                     }
44                     image {
45                         normal, "top_grad.png";
46                         border, 10 10 10 10;
47                     }
48                 }
49             } //part
50
51       part {
52         name, "screen";
53         description {
54           state, "default" 0.0;
55           visible, 1;
56           rel1 {
57             to, "main";
58             relative, 0 0;
59             offset, 7 17;
60           }
61           rel2 {
62             to, "main";
63             relative, 1 0;
64             offset, -8 101;
65           }
66           image {
67             normal, "screen.png";
68             border, 5 5 5 5;
69           }
70         }
71       }
72
73
74             part {
75               name, "bottomConfine";
76               mouse_events, 0;
77               type, RECT;
78               description {
79                 state, "default" 0.0;
80                 visible, 0;
81                 rel1 {
82                   to, "main";
83                   relative, 0 1;
84                   offset, 0 -1;
85                 }
86                 rel2 {
87                   relative, 1 1;
88                   offset, -1 -1;
89                 }
90               }
91             } //part
92             
93             part {
94               name, "bottom";
95               mouse_events, 1;
96               repeat_events, 1;
97               //dragable {
98               //  x, 1 0 0;
99               //  y, -1 1 25;
100               //  confine, "bottomConfine";
101               //}
102 /*
103               description {
104                 state, "default" 0.0;
105                 min, 199 10;
106                 rel1 {
107                   to_x, "main";
108                   relative, 0 1;
109                   offset, 0 -11;
110                 }
111                 rel2 {
112                   to_x, "main";
113                   relative, 1 1;
114                   offset, -1 -1;
115                 }
116                 image {
117                   normal, "bot.png";
118                   border, 0 0 0 0;
119                 }
120                 border, 7 7 0 0;
121               }
122 */
123
124
125               description {
126                 state, "default" 0.0;
127                 min, 199 10;
128                 max, 99999 10;
129                 rel1 {
130                   to, "main";
131                   relative, 0 1;
132                   offset, 0 -1;
133                 }
134                 rel2 {
135                   to, "main";
136                   relative, 1 1;
137                   offset, -1 9;
138                 }
139                 image {
140                   normal, "bot.png";
141                           border, 7 7 0 0;
142                 }
143               }
144               description {
145                 state, "open" 0.0;
146                 min, 199 10;
147                 max, 99999 10;
148                 rel1 {
149                   to_x, "main";
150                   relative, 0 1;
151                   offset, 0 -11;
152                 }
153                 rel2 {
154                   to_x, "main";
155                   relative, 1 1;
156                   offset, -1 -1;
157                 }
158                 image {
159                   normal, "bot.png";
160                           border, 7 7 0 0;
161                 }
162               }
163             } //part
164
165             part {
166                 name, "bottom_grad";
167                 mouse_events, 1;
168                 repeat_events, 1;
169                   description {
170                     state, "default" 0.0;
171                     min, 30 10;
172                     max, 99999 10;
173                         color, WINTER_COLOR;
174                     rel1 {
175                       to, "bottom";
176                       relative, 0 0;
177                       offset, 0 0;
178                     }
179                     rel2 {
180                       to, "bottom";
181                       relative, 1 1;
182                       offset, -1 -1;
183                     }
184                     image {
185                         normal, "bot_grad.png";
186                                 border, 10 10 10 10;
187                     }
188                 }
189             } //part