1 #define PLAYER_MENU_BTN_PRESS_BG "player/T02_function_btn_press.png"
3 #define PART_BTN_BG(_name, _to) \
8 description { state: "default" 0.0; \
11 color: 150 150 150 255; \
14 description { state: "clicked" 0.0; \
15 inherit: "default" 0.0; \
19 part { name: _name"_image"; \
24 description { state: "default" 0.0; \
27 image { normal: PLAYER_MENU_BTN_PRESS_BG; border: 3 3 1 1; } \
35 image: "T02_option_shuffle_on.png" COMP;
36 image: "T02_option_shuffle_off.png" COMP;
37 image: "T02_option_rep_1.png" COMP;
38 image: "T02_option_rep_all.png" COMP;
39 image: "T02_option_rep_A.png" COMP;
40 image: "T02_option_add_playlist.png" COMP;
41 //image: "T02_option_favorite_on.png" COMP;
42 image: "T02_option_bg.png" COMP;
43 image: PLAYER_MENU_BTN_PRESS_BG COMP;
47 /* Menu Box **********************************************************************/
54 rel1 { relative: 0.0 0.0; }
55 rel2 { relative: 1.0 1.0; }
59 PART_BTN_BG("shuffle_bg", "shuffle")
67 image { normal: "T02_option_shuffle_on.png"; }
68 rel1 { relative: MENU_SHUFFLE_SX MENU_SY; offset: 0 0; to: "menu_box_bg"; }
69 rel2 { relative: MENU_SHUFFLE_EX MENU_EY; offset: -1 0; to: "menu_box_bg"; }
73 inherit: "default" 0.0;
74 image { normal: "T02_option_shuffle_on.png"; }
77 state: "invisible" 0.0;
78 inherit: "default" 0.0;
89 image { normal: "T02_option_shuffle_off.png"; }
90 rel1 { relative: MENU_SHUFFLE_SX MENU_SY; offset: 0 0; to: "menu_box_bg"; }
91 rel2 { relative: MENU_SHUFFLE_EX MENU_EY; offset: 0 0; to: "menu_box_bg"; }
95 inherit: "default" 0.0;
96 image { normal: "T02_option_shuffle_off.png"; }
99 state: "invisible" 0.0;
100 inherit: "default" 0.0;
105 PART_BTN_BG("repeat_bg", "rep_all")
112 state: "default" 0.0;
113 image { normal: "T02_option_rep_all.png"; }
114 rel1 { relative: MENU_REP_ALL_SX MENU_SY; offset: 0 0; to: "menu_box_bg"; }
115 rel2 { relative: MENU_REP_ALL_EX MENU_EY; offset: 0 0; to: "menu_box_bg"; }
118 state: "invisible" 0.0;
119 inherit: "default" 0.0;
129 state: "default" 0.0;
130 image { normal: "T02_option_rep_A.png"; }
131 rel1 { relative: MENU_REP_ALL_SX MENU_SY; offset: 0 0; to: "menu_box_bg"; }
132 rel2 { relative: MENU_REP_ALL_EX MENU_EY; offset: 0 0; to: "menu_box_bg"; }
135 state: "clicked" 0.0;
136 inherit: "default" 0.0;
137 image { normal: "34_menu_rep_non_press.png"; }
140 state: "invisible" 0.0;
141 inherit: "default" 0.0;
151 state: "default" 0.0;
152 image { normal: "T02_option_rep_1.png"; }
153 rel1 { relative: MENU_REP_ALL_SX MENU_SY; offset: 0 0; to: "menu_box_bg"; }
154 rel2 { relative: MENU_REP_ALL_EX MENU_EY; offset: 0 0; to: "menu_box_bg"; }
157 state: "invisible" 0.0;
158 inherit: "default" 0.0;
163 PART_BTN_BG("add_to_playlist_bg", "add_to_playlist")
165 name: "add_to_playlist";
169 state: "default" 0.0;
171 image { normal: "T02_option_add_playlist.png"; }
172 rel1 { relative: MENU_FAVORITE_SX MENU_SY; offset: 0 0; to: "menu_box_bg"; }
173 rel2 { relative: MENU_FAVORITE_EX MENU_EY; offset: 0 0; to: "menu_box_bg"; }
176 state: "invisible" 0.0;
177 inherit: "default" 0.0;
184 program { name: "shuffle_down";
186 signal: "mouse,down,1";
187 action: STATE_SET "clicked" 0.0;
189 target: "shuffle_bg";
191 program { name: "shuffle_up";
193 signal: "mouse,up,1";
194 action: STATE_SET "default" 0.0;
196 target: "shuffle_bg";
199 name: "shuffle_clicked";
201 signal: "mouse,clicked,1";
202 action: SIGNAL_EMIT "shuffle_clicked" 0.0;
206 name: "shuffle_visible" ;
207 signal: "shuffle_visible";
209 action: STATE_SET "default" 0.0;
214 name: "shuffle_invisible" ;
215 signal: "shuffle_invisible";
217 action: STATE_SET "invisible" 0.0;
222 name: "shuffle_non_down";
223 source: "shuffle_non";
224 signal: "mouse,down,1";
225 action: STATE_SET "clicked" 0.0;
226 target: "shuffle_non";
227 target: "shuffle_bg";
231 name: "shuffle_non_up";
232 source: "shuffle_non";
233 signal: "mouse,up,1";
234 action: STATE_SET "default" 0.0;
235 target: "shuffle_non";
236 target: "shuffle_bg";
240 name: "shuffle_non_clicked";
241 source: "shuffle_non";
242 signal: "mouse,clicked,1";
243 action: SIGNAL_EMIT "shuffle_non_clicked" 0.0;
247 name: "shuffle_non_visible" ;
248 signal: "shuffle_non_visible";
249 source: "shuffle_non";
250 action: STATE_SET "default" 0.0;
251 target: "shuffle_non";
255 name: "shuffle_non_invisible" ;
256 signal: "shuffle_non_invisible";
257 source: "shuffle_non";
258 action: STATE_SET "invisible" 0.0;
259 target: "shuffle_non";
263 name: "rep_all_down";
265 signal: "mouse,down,1";
266 action: STATE_SET "clicked" 0.0;
274 signal: "mouse,up,1";
275 action: STATE_SET "default" 0.0;
281 name: "rep_all_clicked";
283 signal: "mouse,clicked,1";
284 action: SIGNAL_EMIT "rep_all_clicked" 0.0;
288 name: "rep_all_visible" ;
289 signal: "rep_all_visible";
291 action: STATE_SET "default" 0.0;
296 name: "rep_all_invisible" ;
297 signal: "rep_all_invisible";
299 action: STATE_SET "invisible" 0.0;
304 name: "rep_non_down";
306 signal: "mouse,down,1";
307 action: STATE_SET "clicked" 0.0;
315 signal: "mouse,up,1";
316 action: STATE_SET "default" 0.0;
322 name: "rep_non_clicked";
324 signal: "mouse,clicked,1";
325 action: SIGNAL_EMIT "rep_non_clicked" 0.0;
329 name: "rep_non_visible" ;
330 signal: "rep_non_visible";
332 action: STATE_SET "default" 0.0;
337 name: "rep_non_invisible" ;
338 signal: "rep_non_invisible";
340 action: STATE_SET "invisible" 0.0;
347 signal: "mouse,down,1";
348 action: STATE_SET "clicked" 0.0;
356 signal: "mouse,up,1";
357 action: STATE_SET "default" 0.0;
363 name: "rep_1_clicked";
365 signal: "mouse,clicked,1";
366 action: SIGNAL_EMIT "rep_1_clicked" 0.0;
370 name: "rep_1_visible" ;
371 signal: "rep_1_visible";
373 action: STATE_SET "default" 0.0;
378 name: "rep_1_invisible" ;
379 signal: "rep_1_invisible";
381 action: STATE_SET "invisible" 0.0;
385 name: "add_to_playlist_clicked";
386 source: "add_to_playlist";
387 signal: "mouse,clicked,1";
388 action: SIGNAL_EMIT "add_to_playlist_clicked" 0.0;
391 name: "add_to_playlist_invisible";
393 signal: "add_to_playlist_invisible";
394 action: STATE_SET "invisible" 0.0;
395 target: "add_to_playlist";
397 program { name: "add_to_playlist_down";
398 source: "add_to_playlist";
399 signal: "mouse,down,1";
400 action: STATE_SET "clicked" 0.0;
401 target: "add_to_playlist_bg";
404 program { name: "add_to_playlist_up";
405 source: "add_to_playlist";
406 signal: "mouse,up,1";
407 action: STATE_SET "default" 0.0;
408 target: "add_to_playlist_bg";