Initial commit.
[euphoria.git] / data / themes / iio / collections / switch.edc
1                 
2         part { name, "small_base"; type, IMAGE; mouse_events, 0;
3         description { state, "default" 0.0; max, 93 187; min, 93 187;   
4         rel1 { relative, 0.0 0.0; offset, 0 0; }                     
5         rel2 { relative, 1.0 1.0; offset, 0 0; }
6         image { normal, "small_base.png"; }
7         border, 3 3 10 20; fill { smooth, 0; } } } 
8 //
9         part { name, "small_lcd"; type, IMAGE; mouse_events, 0;  
10         description { state, "default" 0.0; max, 93 71; min, 93 71; align, 0.0 0.0;     
11         rel1 { relative, 1.0  0.0; offset, 0 0; to, "small_base"; }                     
12         rel2 { relative, 1.0 1.0; offset, -1 0; to, "small_base"; }     
13         image { normal, "small_lcd.png"; } }
14
15         description { state, "active" 0.0; max, 93 71; min, 93 71; align, 0.0 0.0;      
16         rel1 { relative, 1.0  0.0; offset, 0 0; to, "small_base"; }                     
17         rel2 { relative, 1.0 1.0; offset, -1 0; to, "small_base"; }     
18         image { normal, "small_lcd_active.png"; } } }
19 //
20         part { name, "a_stop_b"; type, IMAGE; mouse_events, 0;   
21         description { state, "default" 0.0; max, 89 25; min, 89 25; align, 0.0 0.0;            
22         rel1 { relative, 1.0  1.0; offset, 0 0; to, "small_base"; }                     
23         rel2 { relative, 1.0 1.0; offset, -3 -2; to, "small_base"; }       
24         image { normal, "s_b_stop.png"; } } }
25 //
26         part { name, "a_prev_b"; type, IMAGE; mouse_events, 0;   
27         description { state, "default" 0.0; max, 25 41; min, 25 41; align, 0.0 0.0;             
28         rel1 { relative, 0.0 0.0; offset, -2 0; to, "a_stop_b"; }
29         rel2 { relative, 0.5 0.0; offset, 0 -1; to, "a_stop_b"; }              
30         image { normal, "s_b_prev.png"; } } }
31 //
32         part { name, "a_play_b"; type, IMAGE; mouse_events, 0;   
33         description { state, "default" 0.0; max, 42 41; min,     42 41; align, 0.0 0.0;        
34         rel1 { relative, 1.0 1.0; offset, 0 0; to, "a_prev_b"; }                        
35         rel2 { relative, 1.0 1.0; offset,42 -1; to, "a_prev_b"; }              
36         image { normal, "s_b_play.png"; } } }
37 //
38         part { name, "a_next_b"; type, IMAGE; mouse_events, 0;   
39         description { state, "default" 0.0; max, 26 41; min,     26 41; align, 0.0 0.0;        
40         rel1 { relative, 1.0 1.0; offset, 0 0; to, "a_play_b"; }                        
41         rel2 { relative, 1.0 1.0; offset,42 -1; to, "a_play_b"; }              
42         image { normal, "s_b_next.png"; } } }
43 //
44         part { name, "a_pause_b"; type, IMAGE; mouse_events, 0;  
45         description { state, "default" 0.0; max, 93 25; min,     93 25; align, 0.0 0.0;       
46         rel1 { relative, 1.0 0.0; offset, 0 0; to, "a_play_b"; }                
47         rel2 { relative, 1.0 0.0; offset, 25 -1; to, "a_play_b"; }       
48         image { normal, "s_b_pause.png"; } } }
49
50         part { name, "peak_analyzer_img"; type, IMAGE; clip_to, "peak_analyzer_clip";
51         description { state, "default" 0.0; max, 63 32; min, 63 32; align, 0.0 0.0;
52
53         rel1 { relative, 0.5 1.0; offset, 0 0; to, "small_lcd"; }
54         rel2 { relative, 1.0 1.0; offset, -16 -13; to, "small_lcd"; }
55
56         image { normal, "a_s_lcd_011.png"; } } }
57
58         part { name, "peak_analyzer_clip"; type, RECT;
59         description { state, "default" 0.0;
60
61         rel1 { relative, 0.0 0.0; to, "peak_analyzer"; }
62         rel2 { relative, 1.0 1.0; to, "peak_analyzer"; } } }
63
64         part { name, "peak_analyzer_trough"; type, RECT; repeat_events, 1;
65         description { state, "default" 0.0; color, 0 0 0 0;
66
67         rel1 { relative, 0.0 0.0; to, "peak_analyzer_img"; }
68         rel2 { relative, 1.0 1.0; to, "peak_analyzer_img"; offset, 0 32; } } }
69
70         part { name, "peak_analyzer"; type, RECT; mouse_events, 0;
71         dragable { x, 0 0 0; y, 1 1 0; confine, "peak_analyzer_trough"; }
72         description { state, "default" 0.0; color, 0 0 0 0; min, 1 1;
73
74         rel1 { relative, 0.0 0.0; to, "peak_analyzer_img"; }
75         rel2 { relative, 1.0 1.0; to, "peak_analyzer_img"; } } }
76 //
77         part { name, "time_text"; type, TEXT; mouse_events, 0;                     
78         description { state,  "default" 0.0;
79         rel1 { relative, 0.5 1.0; offset, -10 -3; to, "small_lcd"; }
80         rel2 { relative, 1.0 0.5; offset, 0 0; to, "small_lcd"; }
81         color,  31 31 55 255;
82         text { text, "0:00"; font, "Edje.visitor1"; size, 9; align, 0.0 0.0; } } }
83 //
84         part { name, "_prev_button"; type, IMAGE; mouse_events, 1;          
85         description { state, "default" 0.0; max, 13 39; min, 13 39;                     
86         rel1 { relative, 0.0 0.0; offset, 0 0; to, "a_prev_b"; }
87         rel2 { relative, 1.0 1.0; offset, 9 0; to, "a_prev_b"; }                
88         image { normal, "previous_button.png"; } }
89
90         description { state, "hilited" 0.0; max, 13 39; min, 13 39;                     
91         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_prev_b"; }
92         rel2 { relative, 1.0 1.0; offset, 9 0; to, "a_prev_b"; }                
93         image { normal, "previous_button_hilited.png"; } }
94
95         description { state, "clicked" 0.0; max, 13 39; min, 13 39;                     
96         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_prev_b"; }
97         rel2 { relative, 1.0 1.0; offset, 9 0; to, "a_prev_b"; }                        
98         image { normal, "previous_button_clicked.png"; } } } 
99 //
100         part { name, "_pause_button"; type, IMAGE; mouse_events, 1;         
101         description { state, "default" 0.0; max, 39 12; min, 39 12;                     
102         rel1 { relative, 0.0 0.0; offset, 0 0; to, "a_pause_b"; }                       
103         rel2 { relative, 1.0 1.0; offset, 0 8; to, "a_pause_b"; }                       
104         image { normal, "pause_button.png"; } }
105
106         description { state, "hilited" 0.0; max, 39 12; min, 39 12;                     
107         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_pause_b"; }
108         rel2 { relative, 1.0 1.0; offset, 0 8; to, "a_pause_b"; }               
109         image { normal, "pause_button_hilited.png"; } }
110
111         description { state, "clicked" 0.0; max, 39 12; min, 39 12;
112         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_pause_b"; }
113         rel2 { relative, 1.0 1.0; offset, 0 8; to, "a_pause_b"; }                       
114         image { normal, "pause_button_clicked.png"; } } } 
115 //      
116         part { name, "_play_button"; type, IMAGE; mouse_events, 1;          
117         description { state, "default" 0.0; max, 23 23; min, 23 23;                     
118         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_play_b"; }
119         rel2 { relative, 1.0 1.0; offset, 0 0; to, "a_play_b"; }        
120         image { normal, "play_button.png"; }
121         border, 1 1 1 1; fill { smooth, 0; } }  
122         
123         description { state, "hilited" 0.0; max, 23 23; min, 23 23;                     
124         rel1 { relative, 0.0 0.0; offset, 0 0; to, "a_play_b"; }        
125         rel2 { relative, 1.0 1.0; offset, 0 0; to, "a_play_b"; }
126         image { normal, "play_button_hilited.png"; }            
127         border, 1 1 1 1;
128         fill { smooth, 1; } }
129
130         description { state, "clicked" 0.0; max, 23 23; min, 23 23;                     
131         rel1 { relative, 0.0 0.0; offset, 0 0; to, "a_play_b"; }
132         rel2 { relative, 1.0 1.0; offset, 0 0; to, "a_play_b"; }                
133         image { normal, "play_button_clicked.png"; }
134         border, 1 1 1 1;
135         fill { smooth, 0; } } }
136 //
137         part { name, "_next_button"; type, IMAGE; mouse_events, 1;          
138         description { state, "default" 0.0; max, 13 39; min, 13 39;                     
139         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_next_b"; }
140         rel2 { relative, 1.0 1.0; offset, -9 0; to, "a_next_b"; }       
141         image { normal, "next_button.png"; } }
142
143         description { state, "hilited" 0.0; max, 13 39; min, 13 39;
144         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_next_b"; }
145         rel2 { relative, 1.0 1.0; offset, -9 0; to, "a_next_b"; }
146         image { normal, "next_button_hilited.png"; } }
147
148         description { state, "clicked" 0.0; max, 13 39; min, 13 39;
149         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_next_b"; }
150         rel2 { relative, 1.0 1.0; offset, -9 0; to, "a_next_b"; }               
151         image { normal, "next_button_clicked.png"; } } } 
152 //
153         part { name, "_stop_button"; type, IMAGE; mouse_events, 1;          
154         description { state, "default" 0.0; max, 39 13; min, 39 13;                     
155         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_stop_b"; }
156         rel2 { relative, 1.0 1.0; offset, 0 -8; to, "a_stop_b"; }
157         image { normal, "stop_button.png"; } }
158
159         description { state, "hilited" 0.0; max, 39 13; min, 39 13;
160         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_stop_b"; }
161         rel2 { relative, 1.0 1.0; offset, 0 -8; to, "a_stop_b"; }       
162         image { normal, "stop_button_hilited.png"; } }
163
164         description { state, "clicked" 0.0; max, 39 13; min, 39 13;
165         rel1 { relative, 0.0  0.0; offset, 0 0; to, "a_stop_b"; }
166         rel2 { relative, 1.0 1.0; offset, 0 -8; to, "a_stop_b"; }                       
167         image { normal, "stop_button_clicked.png"; } } }
168 //
169         part { name, "sw_base"; type, IMAGE; mouse_events, 1;    
170         description { state, "default" 0.0; max, 13 27; min, 13 27; align, 0.0 0.0;       
171         rel1 { relative, 0.5  1.0; offset, 0 0; to, "small_base"; }                     
172         rel2 { relative, 0.0 0.5; offset, 12 3; to, "small_base"; }       
173         image { normal, "switch_mode.png"; } }
174
175         description { state, "hilited" 0.0; max, 13 27; min, 13 27; align, 0.0 0.0;       
176         rel1 { relative, 0.5 1.0; offset, 0 0; to, "small_base"; }                      
177         rel2 { relative, 0.0 0.5; offset, 12 3; to, "small_base"; }       
178         image { normal, "switch_mode_hilited.png"; } }
179
180         description { state, "clicked" 0.0; max, 13 27; min, 13 27; align, 0.0 0.0;            
181         rel1 { relative, 0.5 1.0; offset, 0 0; to, "small_base"; }                      
182         rel2 { relative, 0.0 0.5; offset, 12 3; to, "small_base"; }       
183         image { normal, "switch_mode_clicked.png"; } } }
184 //
185         part { name, "_quit"; type, IMAGE; mouse_events, 1;         
186         description { state, "default" 0.0; max, 22 22; min, 22 22;                     
187         rel1 { relative, 1.0  0.3; offset, 0 10; to, "small_base"; }                    
188         rel2 { relative, 0.5 0.5; offset, 13 3; to, "small_base"; }
189         image { normal, "close_mode_button_normal.png"; } }
190
191         description { state, "hilited" 0.0; max, 22 22; min, 22 22;                     
192         rel1 { relative, 1.0  0.3; offset, 0 10; to, "small_base"; }                    
193         rel2 { relative, 0.5 0.5; offset, 13 3; to, "small_base"; }
194         image { normal, "close_mode_button_hilited.png"; } }
195
196         description { state, "clicked" 0.0; max, 22 22; min, 22 22;                     
197         rel1 { relative, 1.0  0.3; offset, 0 10; to, "small_base"; }                    
198         rel2 { relative, 0.5 0.5; offset, 13 3; to, "small_base"; }
199         image { normal, "close_mode_button_clicked.png"; } } } 
200 //
201         part { name, "strans_Rect"; type, RECT; mouse_events, 0;                     
202         description { state,  "default" 0.0; 
203         color, 252 252 254 255; 
204         min, 47 20; max, 47 20;
205         rel1 { relative, 0.5 0.5; offset, 0 15; to, "small_lcd"; }
206         rel2 { relative, 0.5 0.0; offset, 0 1; to, "small_lcd"; } }
207
208         description { state, "active" 0.0; 
209         color, 243 243 249 255; 
210         min, 47 20; max, 47 20;
211         rel1 { relative, 0.5 0.5; offset, 0 15; to, "small_lcd"; }
212         rel2 { relative, 0.5 0.0; offset, 0 1; to, "small_lcd"; } } }
213 //              
214         part { name, "song_name"; type,   TEXT; mouse_events, 0;                      
215         description { state,  "default" 0.0;
216         rel1 { relative, 0.10 0.6; offset, 0 0; to, "strans_Rect"; }
217         rel2 { relative, 1.0 0.0; offset, 0 0; to, "strans_Rect"; }
218         color,  31 31 55 255;
219         text { text, "song"; font, "Edje.visitor1"; size, 9; align, 0.0 0.0; } } }