2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.0 (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.
18 name: "setting-test/clock-type";
26 rel1 {relative: 0.0 0.0; }
27 rel2 {relative: 1.0 1.0; }
32 name: "clock-wallpaper";
83 name: "setting-test/clock-type-home";
91 rel1 {relative: 0.0 0.0; }
92 rel2 {relative: 1.0 1.0; }
98 rel1 {relative: 0.0 0.0; }
99 rel2 {relative: 1.0 1.0; }
109 state: "default" 0.0;
110 rel1 {relative: 0.0 0.0; }
111 rel2 {relative: 1.0 1.0; }
116 rel1 {relative: 0.0 0.0; }
117 rel2 {relative: 1.0 1.0; }
122 name: "clock-wallpaper";
126 state: "default" 0.0;
142 state: "default" 0.0;
158 state: "default" 0.0;
174 name: "setting-test/index-home";
181 state: "default" 0.0;
182 rel1 {relative: 0.0 0.0; }
183 rel2 {relative: 1.0 1.0; }
191 state: "default" 0.0;
192 rel1 {relative: 0.0 0.0; }
193 rel2 {relative: 1.0 1.0; }
203 state: "default" 0.0;
204 rel1 {relative: 0.0 0.0; to: "bg";}
205 rel2 {relative: 1.0 1.0; to: "bg";}
211 // Layout - thumbnail
212 #define BODY_THUMBNAIL_SIZE 216 288
213 #define BODY_THUMBNAIL_LAYOUT_SIZE 248 480
214 #define BODY_THUMBNAIL_LAYOUT_WIDTH 248
215 #define BODY_THUMBNAIL_PADDING_TOP_SIZE 66
216 #define BODY_THUMBNAIL_PADDING_LEFT_SIZE 16
217 #define BODY_THUMBNAIL_PADDING_RIGHT_SIZE 16
218 #define BODY_THUMBNAIL_PADDING_CENTER_SIZE 14
219 #define BODY_THUMBNAIL_TEXT_SIZE 36
220 #define BODY_THUMBNAIL_TEXT_SUB_SIZE 28
221 #define BODY_THUMBNAIL_1LINE_TEXT_HEIGHT 88
222 #define BODY_THUMBNAIL_2LINE_TEXT_HEIGHT 44
223 #define BODY_THUMBNAIL_2LINE_TEXT_SUB_HEIGHT 32
224 #define BODY_THUMBNAIL_LINE_SIZE 2
226 group { name: "setting/layout/body_thumbnail/default";
228 image: "edit_clock_btn_bg.#.png" COMP;
229 image: "edit_clock_btn_icon.png" COMP;
230 image: "edit_clock_btn_line.#.png" COMP;
237 description { state: "default" 0.0;
238 min: BODY_THUMBNAIL_LAYOUT_SIZE;
239 max: BODY_THUMBNAIL_LAYOUT_SIZE;
243 part { name: "top_padding";
246 description { state: "default" 0.0;
248 rel2.relative: 1.0 0.0;
249 min: 0 BODY_THUMBNAIL_PADDING_TOP_SIZE;
250 max: -1 BODY_THUMBNAIL_PADDING_TOP_SIZE;
253 part { name: "left_padding";
256 description { state: "default" 0.0;
257 min: BODY_THUMBNAIL_PADDING_LEFT_SIZE 0;
258 max: BODY_THUMBNAIL_PADDING_LEFT_SIZE -1;
261 rel2.relative: 0.0 1.0;
264 part { name: "right_padding";
267 description { state: "default" 0.0;
268 min: BODY_THUMBNAIL_PADDING_RIGHT_SIZE 0;
269 max: BODY_THUMBNAIL_PADDING_RIGHT_SIZE -1;
272 rel1.relative: 1.0 0.0;
275 part { name: "elm.icon";
278 description { state: "default" 0.0;
279 rel1.to: "top_padding";
280 rel1.relative: 0.0 1.0;
281 rel2.to: "top_padding";
282 rel2.relative: 1.0 1.0;
284 min: BODY_THUMBNAIL_SIZE;
285 max: BODY_THUMBNAIL_SIZE;
289 part { name: "left_line";
292 description { state: "default" 0.0;
295 min: BODY_THUMBNAIL_LINE_SIZE 0;
296 max: BODY_THUMBNAIL_LINE_SIZE -1;
300 rel2.relative: 0.0 1.0;
302 description { state: "unfocus" 0.0;
303 inherit: "default" 0.0;
304 color_class: "W132D";
307 part { name: "right_line";
310 description { state: "default" 0.0;
313 min: BODY_THUMBNAIL_LINE_SIZE 0;
314 max: BODY_THUMBNAIL_LINE_SIZE -1;
317 rel1.relative: 1.0 0.0;
320 description { state: "unfocus" 0.0;
321 inherit: "default" 0.0;
322 color_class: "W132D";
325 part { name: "top_line";
328 description { state: "default" 0.0;
331 min: 0 BODY_THUMBNAIL_LINE_SIZE;
332 max: -1 BODY_THUMBNAIL_LINE_SIZE;
334 rel1.to: "left_line";
335 rel1.relative: 1.0 0.0;
336 rel2.to: "right_line";
337 rel2.relative: 0.0 0.0;
339 description { state: "unfocus" 0.0;
340 inherit: "default" 0.0;
341 color_class: "W132D";
344 part { name: "bottom_line";
347 description { state: "default" 0.0;
350 min: 0 BODY_THUMBNAIL_LINE_SIZE;
351 max: -1 BODY_THUMBNAIL_LINE_SIZE;
353 rel1.to: "left_line";
354 rel1.relative: 1.0 1.0;
355 rel2.to: "right_line";
356 rel2.relative: 0.0 1.0;
358 description { state: "unfocus" 0.0;
359 inherit: "default" 0.0;
360 color_class: "W132D";
363 part { name: "center_padding";
366 description { state: "default" 0.0;
368 min: 0 BODY_THUMBNAIL_PADDING_CENTER_SIZE;
369 max: -1 BODY_THUMBNAIL_PADDING_CENTER_SIZE;
370 rel1.to: "bottom_line";
371 rel1.relative: 0.0 1.0;
372 rel2.to: "bottom_line";
373 rel2.relative: 1.0 1.0;
376 part { name: "edit.btn.bg";
379 description { state: "default" 0.0;
384 to: "center_padding";
388 to: "center_padding";
396 inherit: "default" 0.0;
400 part { name: "edit.btn.line";
403 description { state: "default" 0.0;
408 to: "center_padding";
412 to: "center_padding";
417 normal: "edit_clock_btn_line.#.png";
423 inherit: "default" 0.0;
427 part { name: "edit.btn";
430 description { state: "default" 0.0;
435 to: "center_padding";
439 to: "center_padding";
446 inherit: "default" 0.0;
454 signal: "elm,state,thumbnail,focus";
456 action: STATE_SET "default" 0.0;
458 target: "right_line";
460 target: "bottom_line";
464 signal: "elm,state,thumbnail,unfocus";
466 action: STATE_SET "unfocus" 0.0;
468 target: "right_line";
470 target: "bottom_line";
473 name: "edit/btn/show";
474 signal: "edit,btn,show";
476 action: STATE_SET "show" 0.0;
477 target: "edit.btn.bg";
478 target: "edit.btn.line";
484 group { name: "setting/layout/body_thumbnail/home";
486 image: "edit_clock_btn_bg.#.png" COMP;
487 image: "edit_clock_btn_icon.png" COMP;
488 image: "edit_clock_btn_line.#.png" COMP;
495 description { state: "default" 0.0;
496 min: BODY_THUMBNAIL_LAYOUT_SIZE;
497 max: BODY_THUMBNAIL_LAYOUT_SIZE;
501 part { name: "top_padding";
504 description { state: "default" 0.0;
506 rel2.relative: 1.0 0.0;
507 min: 0 BODY_THUMBNAIL_PADDING_TOP_SIZE;
508 max: -1 BODY_THUMBNAIL_PADDING_TOP_SIZE;
511 part { name: "left_padding";
514 description { state: "default" 0.0;
515 min: BODY_THUMBNAIL_PADDING_LEFT_SIZE 0;
516 max: BODY_THUMBNAIL_PADDING_LEFT_SIZE -1;
519 rel2.relative: 0.0 1.0;
522 part { name: "right_padding";
525 description { state: "default" 0.0;
526 min: BODY_THUMBNAIL_PADDING_RIGHT_SIZE 0;
527 max: BODY_THUMBNAIL_PADDING_RIGHT_SIZE -1;
530 rel1.relative: 1.0 0.0;
533 part { name: "elm.icon";
536 description { state: "default" 0.0;
537 rel1.to: "top_padding";
538 rel1.relative: 0.0 1.0;
539 rel2.to: "top_padding";
540 rel2.relative: 1.0 1.0;
542 min: BODY_THUMBNAIL_SIZE;
543 max: BODY_THUMBNAIL_SIZE;
547 part { name: "left_line";
550 description { state: "default" 0.0;
553 min: BODY_THUMBNAIL_LINE_SIZE 0;
554 max: BODY_THUMBNAIL_LINE_SIZE -1;
555 color_class: "AO033";
558 rel2.relative: 0.0 1.0;
560 description { state: "unfocus" 0.0;
561 inherit: "default" 0.0;
562 color: 255 255 255 80;
565 part { name: "right_line";
568 description { state: "default" 0.0;
571 min: BODY_THUMBNAIL_LINE_SIZE 0;
572 max: BODY_THUMBNAIL_LINE_SIZE -1;
573 color_class: "AO033";
575 rel1.relative: 1.0 0.0;
578 description { state: "unfocus" 0.0;
579 inherit: "default" 0.0;
580 color: 255 255 255 80;
583 part { name: "top_line";
586 description { state: "default" 0.0;
589 min: 0 BODY_THUMBNAIL_LINE_SIZE;
590 max: -1 BODY_THUMBNAIL_LINE_SIZE;
591 color_class: "AO033";
592 rel1.to: "left_line";
593 rel1.relative: 1.0 0.0;
594 rel2.to: "right_line";
595 rel2.relative: 0.0 0.0;
597 description { state: "unfocus" 0.0;
598 inherit: "default" 0.0;
599 color: 255 255 255 80;
602 part { name: "bottom_line";
605 description { state: "default" 0.0;
608 min: 0 BODY_THUMBNAIL_LINE_SIZE;
609 max: -1 BODY_THUMBNAIL_LINE_SIZE;
610 color_class: "AO033";
611 rel1.to: "left_line";
612 rel1.relative: 1.0 1.0;
613 rel2.to: "right_line";
614 rel2.relative: 0.0 1.0;
616 description { state: "unfocus" 0.0;
617 inherit: "default" 0.0;
618 color: 255 255 255 80;
621 part { name: "center_padding";
624 description { state: "default" 0.0;
626 min: 0 BODY_THUMBNAIL_PADDING_CENTER_SIZE;
627 max: -1 BODY_THUMBNAIL_PADDING_CENTER_SIZE;
628 rel1.to: "bottom_line";
629 rel1.relative: 0.0 1.0;
630 rel2.to: "bottom_line";
631 rel2.relative: 1.0 1.0;
634 part { name: "edit.btn.bg";
637 description { state: "default" 0.0;
642 to: "center_padding";
646 to: "center_padding";
654 inherit: "default" 0.0;
658 part { name: "edit.btn.line";
661 description { state: "default" 0.0;
666 to: "center_padding";
670 to: "center_padding";
675 normal: "edit_clock_btn_line.#.png";
681 inherit: "default" 0.0;
685 part { name: "edit.btn";
688 description { state: "default" 0.0;
693 to: "center_padding";
697 to: "center_padding";
704 inherit: "default" 0.0;
712 signal: "elm,state,thumbnail,focus";
714 action: STATE_SET "default" 0.0;
716 target: "right_line";
718 target: "bottom_line";
722 signal: "elm,state,thumbnail,unfocus";
724 action: STATE_SET "unfocus" 0.0;
726 target: "right_line";
728 target: "bottom_line";
731 name: "edit/btn/show";
732 signal: "edit,btn,show";
734 action: STATE_SET "show" 0.0;
735 target: "edit.btn.bg";
736 target: "edit.btn.line";