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 group { name, "main/day/time";
49 group { name, "main/day/time/timeblock";
52 image, "calendar_selected.png" COMP;
53 image, DAY_CURRENT_TIME COMP;
54 image, NOSCHEDULE COMP;
66 part { name, "bg/ampm";
77 inherit, "default" 0.0;
81 part { name, "bg/sel";
88 to_x, "text/base"; to_y, "base";
92 normal, "calendar_selected.png";
99 state, "selected" 0.0;
100 inherit, "default" 0.0;
104 part { name, "text/base";
109 state, "default" 0.0;
113 rel2 { relative, 0.0 1.0; to, "base"; }
123 state, "default" 0.0;
124 rel1 { relative, 0.0 0.0; to, "text/base"; }
125 rel2 { relative, 1.0 0.25; to, "text/base"; }
127 font, "SLP:style=Regular";
131 color, 171 171 171 255;
135 inherit, "default" 0.0;
144 state, "default" 0.0;
145 rel1 { relative, 0.0 0.25; to, "text/base"; }
146 rel2 { relative, 1.0 0.6; to, "text/base"; }
150 state, "default" 0.1;
151 rel1 { relative, 0.0 0.25; to, "text/base"; }
152 rel2 { relative, 1.0 0.6; to, "text/base"; }
154 font, "SLP:style=Regular";
158 color, 171 171 171 255;
167 state, "default" 0.0;
168 rel1 { relative, 0.0 0.25; to, "text/base"; }
169 rel2 { relative, 1.0 0.6; to, "text/base"; }
173 state, "default" 0.1;
174 rel1 { relative, 0.0 0.25; to, "text/base"; }
175 rel2 { relative, 1.0 0.6; to, "text/base"; }
177 font, "SLP:style=Regular";
181 color, 171 171 171 255;
185 part { name, "line/hori";
189 state, "default" 0.0;
193 relative, 1.0 1.0; offset, 0 -1;
194 to_x, "text/base"; to_y, "base";
197 color, COLOR_OF_HORIZEN_LINE_FOR_TAB;
201 part { name, "line/hori_mid";
205 state, "default" 0.0;
209 relative, 1.0 0.5; offset, 0 -1;
210 to_x, "text/base"; to_y, "base";
216 color, COLOR_OF_MIDDLE_LINE_FOR_TAB;
220 part { name, "line/vert";
224 state, "default" 0.0;
227 rel1 { relative, 1.0 0.0; to, "text/base"; }
228 rel2 { relative, 1.0 1.0; to, "text/base"; }
229 color, COLOR_OF_VERT_LINE_FOR_TAB;
233 part { name, "evtbase/top";
237 state, "default" 0.0;
240 to_x, "text/base"; to_y, "base";
242 rel2 { relative, 1.0 0.5; to, "base"; }
246 part { name, "evtbase/bottom";
250 state, "default" 0.0;
253 to_x, "text/base"; to_y, "base";
259 part { name, "bg/contracted";
263 state, "default" 0.0;
267 relative, 1.0 0.0; offset, 0 10;
268 to_x, "text/base"; to_y, "base";
271 relative, 1.0 1.0;offset, 0 -12;
272 to_x, "base"; to_y, "base";
275 normal, "P01_noschedule.png";
283 state, "contracted" 0.0;
284 inherit, "default" 0.0;
288 part { name, "line/on_time";
292 state, "default" 0.0;
296 relative, 1.0 0.5; offset, 0 -2;
297 to_x, "text/base"; to_y, "base";
303 color, COLOR_OF_ON_TIME_LINE_FOR_TAB;
309 inherit, "default" 0.0;
313 part { name, "line/on_time/img";
317 state, "default" 0.0;
322 to_x, "text/base"; to_y, "base";
326 to_x, "text/base"; to_y, "base";
329 image.normal, "P01_day_current_time.png";
334 inherit, "default" 0.0;
340 program { name, "tb/down";
341 signal, "mouse,down,1";
343 action, SIGNAL_EMIT "dn" "edj";
345 program { name, "tb/up";
346 signal, "mouse,up,1";
348 action, SIGNAL_EMIT "up" "edj";
350 program { name, "tb/select";
353 action, STATE_SET "selected" 0.0;
356 program { name, "tb/unselect";
359 action, STATE_SET "default" 0.0;
362 program { name, "tb/am";
365 action, STATE_SET "default" 0.0;
368 program { name, "tb/pm";
371 action, STATE_SET "pm" 0.0;
374 program { name, "tb/text/show";
377 action, STATE_SET "default" 0.0;
380 program { name, "tb/text/hide";
383 action, STATE_SET "hide" 0.0;
386 program { name, "tb/on_time/show";
389 action, STATE_SET "show" 0.0;
390 target, "line/on_time";
392 program { name, "tb/on_time/show/img";
395 action, STATE_SET "show" 0.0;
396 target, "line/on_time/img";
398 program { name, "tb/on_time/hide";
401 action, STATE_SET "default" 0.0;
402 target, "line/on_time";
404 program { name, "tb/on_time/hide/img";
407 action, STATE_SET "default" 0.0;
408 target, "line/on_time/img";
410 program { name, "tb/contracted";
411 signal, "contracted";
413 action, STATE_SET "contracted" 0.0;
414 target, "bg/contracted";
416 program { name, "tb/uncontracted";
417 signal, "uncontracted";
419 action, STATE_SET "default" 0.0;
420 target, "bg/contracted";
422 program { name, "show am";
425 action, STATE_SET "default" 0.1;
428 program { name, "hide am";
431 action, STATE_SET "default" 0.0;
434 program { name, "show pm";
437 action, STATE_SET "default" 0.1;
440 program { name, "hide pm";
443 action, STATE_SET "default" 0.0;
451 group { name, "main/day/time/eventblock";
454 image, CALENDAR_EVENT_BG_1 COMP;
455 image, CALENDAR_EVENT_BG_2 COMP;
456 image, CALENDAR_EVENT_BG_3 COMP;
457 image, CALENDAR_EVENT_BG_4 COMP;
458 image, "P01_day_event_bg_02_strok.png" COMP;
463 style { name, "event_textblock";
464 base, "font=SLP:style=Regular font_size=24 color=#855A1DEF wrap=mixed ellipsis=1";
467 tag, "hilight" "+ font=SLP:style=Regular";
468 tag, "b" "+ font=SLP:style=Regular";
471 style { name, "event_textblock_p";
472 base, "font=SLP:style=Regular font_size=24 color=#237A99EF wrap=word";
475 tag, "hilight" "+ font=SLP:style=Regular";
476 tag, "b" "+ font=SLP:style=Regular";
487 state, "default" 0.0;
493 part { name, "bg/top";
498 state, "default" 0.0;
502 rel2 { relative, 1.0 0.0; to, "base"; }
507 part { name, "bg/bottom";
512 state, "default" 0.0;
515 rel1 { relative, 0.0 1.0; to, "base"; }
521 part { name, "bg/left";
526 state, "default" 0.0;
530 rel2 { relative, 0.0 1.0; to, "base"; }
535 state, "longpressed" 0.0;
539 rel2 { relative, 0.0 1.0; to, "base"; }
544 part { name, "bg/right";
549 state, "default" 0.0;
552 rel1 { relative, 1.0 0.0; to, "base"; }
558 state, "longpressed" 0.0;
561 rel1 { relative, 1.0 0.0; to, "base"; }
572 state, "default" 0.0;
575 to_x, "bg/left"; to_y, "bg/top";
579 to_x, "bg/right"; to_y, "bg/bottom";
584 part { name, "text/top";
589 state, "default" 0.0;
593 rel2 { relative, 1.0 0.0; to, "base"; }
598 part { name, "text/bottom";
603 state, "default" 0.0;
606 rel1 { relative, 0.0 1.0; to, "base"; }
612 part { name, "text/left";
617 state, "default" 0.0;
621 rel2 { relative, 0.0 1.0; to, "base"; }
626 part { name, "text/right";
631 state, "default" 0.0;
634 rel1 { relative, 1.0 0.0; to, "base"; }
645 state, "default" 0.0;
648 to_x, "bg/left"; to_y, "bg/top";
652 to_x, "bg/right"; to_y, "bg/bottom";
656 state, "longpressed" 0.0;
659 to_x, "bg/left"; to_y, "bg/top";
663 to_x, "bg/right"; to_y, "bg/bottom";
674 state, "default" 0.0;
677 to_x, "text/left"; to_y, "text/top";
681 to_x, "text/right"; to_y, "text/bottom";
683 text.style, "event_textblock";
687 inherit, "default" 0.0;
688 text.style, "event_textblock_p";
691 part { name, "bg_barder";
695 state, "default" 0.0;
698 to_x, "bg/left"; to_y, "bg/top";
702 to_x, "bg/right"; to_y, "bg/bottom";
707 normal, "P01_day_event_bg_02_strok.png";
712 state, "longpressed" 0.0;
713 inherit, "default" 0.0;
717 part { name, "bg/magnify/bottom";
722 state, "default" 0.0;
727 to_x, "bg/left"; to_y, "bg/bottom";
731 to_x, "bg/right"; to_y, "bg/bottom";
737 part { name, "bg/magnify/top";
742 state, "default" 0.0;
747 to_x, "bg/left"; to_y, "bg/top";
751 to_x, "bg/right"; to_y, "bg/top";
761 program { name, "bg/1";
764 action, STATE_SET "default" 0.0;
767 program { name, "bg/2";
770 action, STATE_SET "bg2" 0.0;
773 program { name, "bg/3";
776 action, STATE_SET "bg3" 0.0;
779 program { name, "bg/4";
782 action, STATE_SET "bg4" 0.0;
785 program { name, "evt/down";
786 signal, "mouse,down,1";
788 action, SIGNAL_EMIT "dn" "edj";
790 program { name, "evt/up";
791 signal, "mouse,up,1";
793 action, SIGNAL_EMIT "up" "edj";
795 program { name, "evt/sel";
798 action, STATE_SET "down" 0.0;
801 program { name, "evt/unsel";
804 action, STATE_SET "default" 0.0;
807 program { name, "longpress/on";
808 signal, "longpress,on";
810 action, STATE_SET "longpressed" 0.0;
815 program { name, "longpress/border";
816 signal, "longpress,border";
818 action, STATE_SET "longpressed" 0.0;
824 program { name, "longpress/off";
825 signal, "longpress,off";
827 action, STATE_SET "default" 0.0;
832 program { name, "bg/magnify/bottom/down";
833 signal, "mouse,down,1";
834 source, "bg/magnify/bottom";
835 action, SIGNAL_EMIT "mg,bottom,dn" "edj";
837 program { name, "bg/magnify/bottom/up";
838 signal, "mouse,up,1";
839 source, "bg/magnify/bottom";
840 action, SIGNAL_EMIT "mg,bottom,up" "edj";
842 program { name, "bg/magnify/top/down";
843 signal, "mouse,down,1";
844 source, "bg/magnify/top";
845 action, SIGNAL_EMIT "mg,top,dn" "edj";
847 program { name, "bg/magnify/top/up";
848 signal, "mouse,up,1";
849 source, "bg/magnify/top";
850 action, SIGNAL_EMIT "mg,top,up" "edj";