1 #define WIDTH_OF_TITLE (1280)
2 #define HEIGHT_OF_TITLE (108)
3 #define WIDTH_OF_TITLE_INC (90)
4 #define WIDTH_OF_TITLE_INC_RECT (100)
5 #define HEIGHT_OF_TITLE_INC_RECT (50)
6 #define OFFSET_WIDTH_OF_TITLE_INC (20)
7 #define OFFSET_HEIGHT_OF_TITLE_INC (10)
8 #define OFFSET_OF_TITLE_INC (71)
11 group { name, "main/title";
14 image, CALENDAR_SPIN_ICON_1 COMP;
15 image, CALENDAR_SPIN_ICON_2 COMP;
19 style { name, "main/title";
20 base, "font=SLP:style=Medium font_size=40 align=center color=#000000ff wrap=none";
22 tag, "hilight" "+ color=#ffff";
23 tag, "b" "+ color=#ffff";
24 tag, "g38" "+ color=#879E19 font="FONT_LIG" font_size=38";
38 part { name, "title/text";
45 rel1 { relative, 1.0 0.5; to_x, "title/left"; to_y, "base"; }
46 rel2 { relative, 0.0 0.5; to_x, "title/right"; to_y, "base"; }
54 part { name, "title/left";
71 part { name, "title/left/img";
78 rel1 { relative, 0.5 0.5; to, "title/left"; }
79 rel2 { relative, 0.5 0.5; to, "title/left"; }
81 image.normal, "57_calendar_spin_01_icon.png";
85 part { name, "title/right";
102 part { name, "title/right/img";
106 state, "default" 0.0;
109 rel1 { relative, 0.5 0.5; to, "title/right"; }
110 rel2 { relative, 0.5 0.5; to, "title/right"; }
112 image.normal, "57_calendar_spin_02_icon.png";
118 program { name, "title/left/down";
119 signal, "mouse,down,1";
120 source, "title/left";
121 action, SIGNAL_EMIT "start,dec" "title";
124 program { name, "title/left/up";
125 signal, "mouse,up,1";
126 source, "title/left";
127 action, SIGNAL_EMIT "stop,dec" "title";
130 program { name, "title/right/down";
131 signal, "mouse,down,1";
132 source, "title/right";
133 action, SIGNAL_EMIT "start,inc" "title";
136 program { name, "title/right/up";
137 signal, "mouse,up,1";
138 source, "title/right";
139 action, SIGNAL_EMIT "stop,inc" "title";
144 group { name, "main/title/l";
147 image, "P01_title_right.png" COMP;
148 image, "P01_title_right_press.png" COMP;
149 image, "P01_title_left.png" COMP;
150 image, "P01_title_left_press.png" COMP;
154 style { name, "main/title/l";
155 base, "font=SLP:style=Medium font_size=40 align=center color=#ffffffff wrap=none";
157 tag, "hilight" "+ color=#ffff";
158 tag, "b" "+ color=#ffff";
159 tag, "g38" "+ color=#879E19 font="FONT_LIG" font_size=18";
168 state, "default" 0.0;
173 part { name, "title/text";
178 state, "default" 0.0;
180 rel1 { relative, 1.0 0.5; to_x, "title/left"; to_y, "base"; }
181 rel2 { relative, 0.0 0.5; to_x, "title/right"; to_y, "base"; }
183 style, "main/title/l";
189 part { name, "title/left/padding";
193 state, "default" 0.0;
196 relative, (OFFSET_OF_TITLE_INC/WIDTH_OF_TITLE/2) 1.0;
203 part { name, "title/left";
207 state, "default" 0.0;
208 rel1 { relative, 1.0 (HEIGHT_OF_TITLE-HEIGHT_OF_TITLE_INC_RECT)/2/HEIGHT_OF_TITLE; to, "title/left/padding"; }
209 rel2 { relative, ((OFFSET_OF_TITLE_INC+WIDTH_OF_TITLE_INC_RECT)/WIDTH_OF_TITLE/2) ((HEIGHT_OF_TITLE-HEIGHT_OF_TITLE_INC_RECT)/2+HEIGHT_OF_TITLE_INC_RECT)/HEIGHT_OF_TITLE; to, "base";}
213 part { name, "title/left/img";
217 state, "default" 0.0;
218 rel1 { relative, (OFFSET_WIDTH_OF_TITLE_INC/WIDTH_OF_TITLE_INC_RECT) (OFFSET_HEIGHT_OF_TITLE_INC/HEIGHT_OF_TITLE_INC_RECT); to, "title/left"; }
219 rel2 { relative, (1-( OFFSET_WIDTH_OF_TITLE_INC/WIDTH_OF_TITLE_INC_RECT)) (1-(OFFSET_HEIGHT_OF_TITLE_INC/HEIGHT_OF_TITLE_INC_RECT)); to, "title/left";}
221 image.normal, "57_calendar_spin_01_icon.png";
224 state, "default" 0.1;
225 inherit: "default" 0.0;
226 image.normal, "57_calendar_spin_01_icon.png";
230 part { name, "title/right/padding";
234 state, "default" 0.0;
236 relative, (1 - (OFFSET_OF_TITLE_INC/WIDTH_OF_TITLE/2)) 0.0;
244 part { name, "title/right";
248 state, "default" 0.0;
249 rel1 { relative, (1-((OFFSET_OF_TITLE_INC+WIDTH_OF_TITLE_INC_RECT)/WIDTH_OF_TITLE/2)) (HEIGHT_OF_TITLE-HEIGHT_OF_TITLE_INC_RECT)/2/HEIGHT_OF_TITLE; to, "base"; }
250 rel2 { relative, 0.0 ((HEIGHT_OF_TITLE-HEIGHT_OF_TITLE_INC_RECT)/2+HEIGHT_OF_TITLE_INC_RECT)/HEIGHT_OF_TITLE; to, "title/right/padding"; }
254 part { name, "title/right/img";
258 state, "default" 0.0;
261 rel1 { relative, (OFFSET_WIDTH_OF_TITLE_INC/WIDTH_OF_TITLE_INC_RECT) (OFFSET_HEIGHT_OF_TITLE_INC/HEIGHT_OF_TITLE_INC_RECT); to, "title/right"; }
262 rel2 { relative, (1-( OFFSET_WIDTH_OF_TITLE_INC/WIDTH_OF_TITLE_INC_RECT)) (1-(OFFSET_HEIGHT_OF_TITLE_INC/HEIGHT_OF_TITLE_INC_RECT)); to, "title/right";}
264 image.normal, "57_calendar_spin_02_icon.png";
267 state, "default" 0.1;
268 inherit: "default" 0.0;
269 image.normal, "57_calendar_spin_02_icon.png";
275 program { name, "title/left/down";
276 signal, "mouse,down,1";
277 source, "title/left";
278 action, SIGNAL_EMIT "start,dec" "title";
281 program { name, "title/left/mouse_down";
282 signal, "mouse,down,1";
283 source, "title/left";
284 action, STATE_SET "default" 0.1;
285 target, "title/left/img";
288 program { name, "title/left/up";
289 signal, "mouse,up,1";
290 source, "title/left";
291 action, SIGNAL_EMIT "stop,dec" "title";
294 program { name, "title/left/mouse_up";
295 signal, "mouse,up,1";
296 source, "title/left";
297 action, STATE_SET "default" 0.0;
298 target, "title/left/img";
301 program { name, "title/right/down";
302 signal, "mouse,down,1";
303 source, "title/right";
304 action, SIGNAL_EMIT "start,inc" "title";
307 program { name, "title/right/mouse_down";
308 signal, "mouse,down,1";
309 source, "title/right";
310 action, STATE_SET "default" 0.1;
311 target, "title/right/img";
314 program { name, "title/right/up";
315 signal, "mouse,up,1";
316 source, "title/right";
317 action, SIGNAL_EMIT "stop,inc" "title";
320 program { name, "title/right/mouse_up";
321 signal, "mouse,up,1";
322 source, "title/right";
323 action, STATE_SET "default" 0.0;
324 target, "title/right/img";