2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 #define PROG_PART_SHOW_HIDE(part_name)\
22 name: "show,"part_name;\
23 signal: "show,"part_name;\
25 action: STATE_SET "default" 0.0;\
29 name: "hide,"part_name;\
30 signal: "hide,"part_name;\
32 action: STATE_SET "hidden" 0.0;\
43 state : "default" 0.0;
46 state : "transit" 0.0;
55 state : "default" 0.0;
59 state : "transit" 0.0;
100 color: 255 255 255 255;
102 relative: 36/WIDTH (62+64)/HEIGHT;
106 relative: (WIDTH-36)/WIDTH (62+64+140)/HEIGHT;
110 font: "Tizen:style=Medium";
114 text: "Life Magazine";
119 inherit: "default" 0.0;
128 state: "default" 0.0;
130 rel1.to: "text.area";
131 rel2.to: "text.area";
142 state: "default" 0.0;
146 rel1{relative: 36/WIDTH 1.0; to_x: "bg"; to_y: "text.area"; offset: 0 110; }
147 rel2{relative: (WIDTH-36)/WIDTH 1.0; to_x: "bg"; to_y: "text.area";}
151 inherit: "default" 0.0;
162 state: "default" 0.0;
164 color: 255 255 255 255;
166 relative: 36/WIDTH (60+10)/HEIGHT;//for it covers indicator, so move done 20 pixels
170 relative: 1.0 (92+10)/HEIGHT;
174 font: "Tizen:style=Bold";
182 inherit: "default" 0.0;
187 name: "tts.sim.state";
191 state: "default" 0.0;
193 rel1.to: "sim.state";
194 rel2.to: "sim.state";
205 state: "default" 0.0;
209 relative: 0.0 898/HEIGHT;
222 relative: 0.0 (898-110)/HEIGHT;
226 relative: 1.0 (1280-110)/HEIGHT;
232 inherit: "default" 0.0;
241 state: "default" 0.0;
243 rel1.to: "rect.info";
244 rel2.to: "rect.info";
254 state: "default" 0.0;
265 name: "sw.phone-lock";
270 state: "default" 0.0;
283 name: "transit,clipper";
284 signal: "transit,clipper";
286 action: STATE_SET "transit" 0.0;
289 transition: LINEAR 0.5;
296 action: SIGNAL_EMIT "exit,app" "event";
302 action: STATE_SET "up" 1.0;
307 signal: "flick,down";
309 action: STATE_SET "default" 0.0;
312 PROG_PART_SHOW_HIDE("text.area")
313 PROG_PART_SHOW_HIDE("sw.noti")
314 PROG_PART_SHOW_HIDE("sim.state")
315 PROG_PART_SHOW_HIDE("rect.info")