3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://floralicense.org/license/
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #define WIDTH_OF_TITLE (1280)
19 #define HEIGHT_OF_TITLE (108)
20 #define WIDTH_OF_TITLE_INC (90)
21 #define WIDTH_OF_TITLE_INC_RECT (100)
22 #define HEIGHT_OF_TITLE_INC_RECT (50)
23 #define OFFSET_WIDTH_OF_TITLE_INC (20)
24 #define OFFSET_HEIGHT_OF_TITLE_INC (10)
25 #define OFFSET_OF_TITLE_INC (71)
26 #define HEIGHT_OF_TITLE_CALENDAR (48)
27 #define HEIGHT_OF_TITLE_ACCOUNT (40)
28 #define OFFSET_OF_ICON_RIGHT (5)
29 #define HEIGHT_OF_ICON (48)
31 group { name, "main/title";
34 image, "P01_spin_left_press.png" COMP;
35 image, "P01_spin_right_press.png" COMP;
36 image, "P01_spin_right.png" COMP;
37 image, "P01_spin_left.png" COMP;
41 style { name, "main/title";
42 base, "font=SLP:style=Medium font_size=40 align=center color=#000000ff wrap=none";
44 tag, "hilight" "+ color=#ffff";
45 tag, "b" "+ color=#ffff";
46 tag, "g38" "+ color=#879E19 font="FONT_LIG" font_size=38";
49 style { name, "main/title/selected";
50 base, "font=SLP:style=Medium font_size=40 align=center color=#ffffffff wrap=none";
52 tag, "hilight" "+ color=#ffff";
53 tag, "b" "+ color=#ffff";
54 tag, "g38" "+ color=#879E19 font="FONT_LIG" font_size=38";
64 color, 248 246 239 255;;
68 part { name, "title/text/bg";
73 rel1.to, "title/text";
74 rel2.to, "title/text";
76 normal, CALENDAR_SELSECTED;
84 inherit, "default" 0.0;
89 part { name, "title/text";
96 rel1 { relative, 1.0 0.5; to_x, "title/left"; to_y, "base"; }
97 rel2 { relative, 0.0 0.5; to_x, "title/right"; to_y, "base"; }
104 state, "default" 0.1;
106 rel1 { relative, 1.0 0.5; to_x, "title/left"; to_y, "base"; }
107 rel2 { relative, 0.0 0.5; to_x, "title/right"; to_y, "base"; }
109 style, "main/title/selected";
115 part { name, "title/left";
119 state, "default" 0.0;
132 part { name, "title/left/img";
136 state, "default" 0.0;
139 rel1 { relative, 0.5 0.5; to, "title/left"; }
140 rel2 { relative, 0.5 0.5; to, "title/left"; }
142 image.normal, "P01_spin_left.png";
145 state, "default" 0.1;
146 inherit, "default" 0.0;
147 image.normal, "P01_spin_left_press.png";
151 part { name, "title/right";
155 state, "default" 0.0;
168 part { name, "title/right/img";
172 state, "default" 0.0;
175 rel1 { relative, 0.5 0.5; to, "title/right"; }
176 rel2 { relative, 0.5 0.5; to, "title/right"; }
178 image.normal, "P01_spin_right.png";
181 state, "default" 0.1;
182 inherit, "default" 0.0;
183 image.normal, "P01_spin_right_press.png";
189 program { name, "title/left/down";
190 signal, "mouse,down,1";
191 source, "title/left";
192 action, SIGNAL_EMIT "start,dec" "title";
195 program { name, "title/left/mouse_down";
196 signal, "mouse,down,1";
197 source, "title/left";
198 action, STATE_SET "default" 0.1;
199 target, "title/left/img";
202 program { name, "title/left/up";
203 signal, "mouse,up,1";
204 source, "title/left";
205 action, SIGNAL_EMIT "stop,dec" "title";
208 program { name, "title/left/mouse_up";
209 signal, "mouse,up,1";
210 source, "title/left";
211 action, STATE_SET "default" 0.0;
212 target, "title/left/img";
215 program { name, "title/right/down";
216 signal, "mouse,down,1";
217 source, "title/right";
218 action, SIGNAL_EMIT "start,inc" "title";
221 program { name, "title/right/mouse_down";
222 signal, "mouse,down,1";
223 source, "title/right";
224 action, STATE_SET "default" 0.1;
225 target, "title/right/img";
228 program { name, "title/right/up";
229 signal, "mouse,up,1";
230 source, "title/right";
231 action, SIGNAL_EMIT "stop,inc" "title";
234 program { name, "title/right/mouse_up";
235 signal, "mouse,up,1";
236 source, "title/right";
237 action, STATE_SET "default" 0.0;
238 target, "title/right/img";