3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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.
20 #define TEXT_SLIDE_DURATION 10
23 style { name: "textblock_style";
24 base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen";
27 tag: "hilight" "+ font=Tizen:style=Bold";
28 tag: "b" "+ font=Tizen:style=Bold";
31 style { name: "naviframe_title_style";
32 base: "font=Tizen:style=Medium font_size="NAVIFRAME_TITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen";
35 tag: "hilight" "+ font=Tizen:style=Bold";
36 tag: "b" "+ font=Tizen:style=Bold";
39 style { name: "naviframe_maintitle_style";
40 base: "font=Tizen:style=Medium font_size="NAVIFRAME_TITLE_SMALL_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen";
43 tag: "hilight" "+ font=Tizen:style=Bold";
44 tag: "b" "+ font=Tizen:style=Bold";
47 style { name: "naviframe_subtitle_style";
48 base: "font=Tizen:style=Medium font_size="NAVIFRAME_SUBTITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen";
51 tag: "hilight" "+ font=Tizen:style=Bold";
52 tag: "b" "+ font=Tizen:style=Bold";
55 style { name: "naviframe_landscape_title_style";
56 base: "font=Tizen:style=Medium font_size="NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen";
59 tag: "hilight" "+ font=Tizen:style=Bold";
60 tag: "b" "+ font=Tizen:style=Bold";
63 style { name: "naviframe_landscape_maintitle_style";
64 base: "font=Tizen:style=Medium font_size="NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen";
67 tag: "hilight" "+ font=Tizen:style=Bold";
68 tag: "b" "+ font=Tizen:style=Bold";
71 style { name: "naviframe_landscape_subtitle_style";
72 base: "font=Tizen:style=Medium font_size="NAVIFRAME_LANDSCAPE_SUBTITLE_FONT_SIZE_INC" color="NAVIFRAME_TITLE_STYLE_COLOR_INC" text_class=tizen";
75 tag: "hilight" "+ font=Tizen:style=Bold";
76 tag: "b" "+ font=Tizen:style=Bold";
79 /* label doesn't use it */
80 style { name: "textblock_charwrap_style";
81 base: "font=Tizen:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=tizen";
84 tag: "hilight" "+ font=Tizen:style=Bold";
85 tag: "b" "+ font=Tizen:style=Bold";
90 group { name: "elm/label/base/default";
92 part { name: "label.text.clip";
94 description { state: "default" 0.0;
97 part { name: "elm.text";
100 clip_to: "label.text.clip";
101 description { state: "default" 0.0;
103 style: "textblock_style";
112 /* default label doesn't use it */
113 group { name: "elm/label/base_wrap/default";
115 part { name: "elm.text";
119 description { state: "default" 0.0;
121 style: "textblock_style";
126 description { state: "charwrap_mode" 0.0;
128 style: "textblock_charwrap_style";
136 program { name: "default_on";
137 signal: "elm,state,default";
139 action: STATE_SET "default" 0.0;
142 program { name: "charwrap_on";
143 signal: "elm,state,charwrap";
145 action: STATE_SET "charwrap_mode" 0.0;
151 /* default label doesn't use it */
152 group { name: "elm/label/base_wrap_ellipsis/default";
154 part { name: "elm.text";
158 description { state: "default" 0.0;
159 // FIXME : fixed for multiline ellipsis.
160 // does it need to make another ellipsis style?
163 style: "textblock_style";
168 description { state: "charwrap_mode" 0.0;
169 // FIXME : fixed for multiline ellipsis.
170 // does it need to make another ellipsis style?
173 style: "textblock_charwrap_style";
181 program { name: "default_on";
182 signal: "elm,state,default";
184 action: STATE_SET "default" 0.0;
187 program { name: "charwrap_on";
188 signal: "elm,state,charwrap";
190 action: STATE_SET "charwrap_mode" 0.0;
196 group { name: "elm/label/base/marker";
198 style { name: "textblock_style2";
199 base: "font=Tizen:style=Bold font_size=14 align=center color=#fff wrap=word text_class=tizen";
202 tag: "hilight" "+ color=#ffff";
203 tag: "b" "+ color=#ffff";
208 part { name: "elm.text";
211 description { state: "default" 0.0;
213 style: "textblock_style2";
222 /* default label doesn't use it */
223 group { name: "elm/label/base_wrap/marker";
225 part { name: "elm.text";
229 description { state: "default" 0.0;
231 style: "textblock_style2";
240 group { name: "elm/label/base/slide_long";
242 public g_duration = 0, g_stopslide, g_timer_id, g_anim_id;
244 public message(Msg_Type:type, id, ...) {
245 if (type == MSG_FLOAT_SET) {
247 duration = getfarg(2);
248 set_float(g_duration, duration);
251 public slide_to_end_anim(val, Float:pos) {
254 stopflag = get_int(g_stopslide);
255 if (stopflag == 1) return;
256 set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
258 id = timer(0.5, "slide_to_begin", 1);
259 set_int(g_timer_id, id);
262 public slide_to_end() {
266 stopflag = get_int(g_stopslide);
267 if (stopflag == 1) return;
268 duration = get_float(g_duration);
269 id = anim(duration, "slide_to_end_anim", 1);
270 set_int(g_anim_id, id);
272 public slide_to_begin() {
275 stopflag = get_int(g_stopslide);
276 if (stopflag == 1) return;
277 set_state(PART:"elm.text", "slide_begin", 0.0);
278 id = timer(0.5, "slide_to_end", 1);
279 set_int(g_timer_id, id);
281 public start_slide() {
282 set_int(g_stopslide, 0);
283 set_state(PART:"elm.text", "slide_begin", 0.0);
286 public stop_slide() {
288 set_int(g_stopslide, 1);
289 id = get_int(g_anim_id);
291 id = get_int(g_timer_id);
293 set_state(PART:"elm.text", "default", 0.0);
298 part { name: "label.text.clip";
300 description { state: "default" 0.0;
303 part { name: "elm.text";
306 clip_to: "label.text.clip";
307 description { state: "default" 0.0;
308 rel1.relative: 0.0 0.0;
309 rel2.relative: 1.0 1.0;
312 style: "textblock_style";
317 description { state: "slide_end" 0.0;
318 inherit: "default" 0.0;
319 rel1.relative: 0.0 0.0;
320 rel2.relative: 0.0 1.0;
323 style: "textblock_style";
328 description { state: "slide_begin" 0.0;
329 inherit: "default" 0.0;
330 rel1.relative: 1.0 0.0;
331 rel2.relative: 1.0 1.0;
334 style: "textblock_style";
342 program { name: "start_slide";
344 signal: "elm,state,slide,start";
349 program { name: "stop_slide";
351 signal: "elm,state,slide,stop";
359 group { name: "elm/label/base/slide_short";
361 public g_duration = 0, g_stopslide, g_timer_id, g_anim_id;
363 public message(Msg_Type:type, id, ...) {
364 if (type == MSG_FLOAT_SET) {
366 duration = getfarg(2);
367 set_float(g_duration, duration);
370 public slide_to_end_anim(val, Float:pos) {
373 stopflag = get_int(g_stopslide);
374 if (stopflag == 1) return;
375 set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
377 id = timer(0.5, "slide_to_begin", 1);
378 set_int(g_timer_id, id);
381 public slide_to_end() {
385 stopflag = get_int(g_stopslide);
386 if (stopflag == 1) return;
387 duration = get_float(g_duration);
388 id = anim(duration, "slide_to_end_anim", 1);
389 set_int(g_anim_id, id);
391 public slide_to_begin() {
394 stopflag = get_int(g_stopslide);
395 if (stopflag == 1) return;
396 set_state(PART:"elm.text", "slide_begin", 0.0);
397 id = timer(0.5, "slide_to_end", 1);
398 set_int(g_timer_id, id);
400 public start_slide() {
401 set_int(g_stopslide, 0);
402 set_state(PART:"elm.text", "slide_begin", 0.0);
405 public stop_slide() {
407 set_int(g_stopslide, 1);
408 id = get_int(g_anim_id);
410 id = get_int(g_timer_id);
412 set_state(PART:"elm.text", "default", 0.0);
417 part { name: "label.text.clip";
419 description { state: "default" 0.0;
422 part { name: "elm.text";
425 clip_to: "label.text.clip";
426 description { state: "default" 0.0;
427 rel1.relative: 0.0 0.0;
428 rel2.relative: 1.0 1.0;
431 style: "textblock_style";
436 description { state: "slide_end" 0.0;
437 inherit: "default" 0.0;
438 rel1.relative: 1.0 0.0;
439 rel2.relative: 1.0 1.0;
442 style: "textblock_style";
447 description { state: "slide_begin" 0.0;
448 inherit: "default" 0.0;
449 rel1.relative: 0.0 0.0;
450 rel2.relative: 0.0 1.0;
453 style: "textblock_style";
461 program { name: "start_slide";
463 signal: "elm,state,slide,start";
468 program { name: "stop_slide";
470 signal: "elm,state,slide,stop";
478 group { name: "elm/label/base/slide_bounce";
480 public g_duration = 0, g_stopslide, g_timer_id, g_anim_id;
482 public message(Msg_Type:type, id, ...) {
483 if (type == MSG_FLOAT_SET) {
485 duration = getfarg(2);
486 set_float(g_duration, duration);
489 public slide_to_end_anim(val, Float:pos) {
492 stopflag = get_int(g_stopslide);
493 if (stopflag == 1) return;
494 set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
496 id = timer(0.5, "slide_to_begin", 1);
497 set_int(g_timer_id, id);
500 public slide_to_end() {
504 stopflag = get_int(g_stopslide);
505 if (stopflag == 1) return;
506 duration = get_float(g_duration);
507 id = anim(duration, "slide_to_end_anim", 1);
508 set_int(g_anim_id, id);
510 public slide_to_begin_anim(val, Float:pos) {
513 stopflag = get_int(g_stopslide);
514 if (stopflag == 1) return;
515 set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
517 id = timer(0.5, "slide_to_end", 1);
518 set_int(g_timer_id, id);
521 public slide_to_begin() {
525 stopflag = get_int(g_stopslide);
526 if (stopflag == 1) return;
527 duration = get_float(g_duration);
528 id = anim(duration, "slide_to_begin_anim", 1);
529 set_int(g_anim_id, id);
531 public start_slide() {
532 set_int(g_stopslide, 0);
533 set_state(PART:"elm.text", "slide_begin", 0.0);
536 public stop_slide() {
538 set_int(g_stopslide, 1);
539 id = get_int(g_anim_id);
541 id = get_int(g_timer_id);
543 set_state(PART:"elm.text", "default", 0.0);
548 part { name: "label.text.clip";
550 description { state: "default" 0.0;
553 part { name: "elm.text";
556 clip_to: "label.text.clip";
557 description { state: "default" 0.0;
558 rel1.relative: 0.0 0.0;
559 rel2.relative: 1.0 1.0;
562 style: "textblock_style";
567 description { state: "slide_end" 0.0;
568 inherit: "default" 0.0;
569 rel1.relative: 1.0 0.0;
570 rel2.relative: 1.0 1.0;
573 style: "textblock_style";
578 description { state: "slide_begin" 0.0;
579 inherit: "default" 0.0;
580 rel1.relative: 0.0 0.0;
581 rel2.relative: 0.0 1.0;
584 style: "textblock_style";
592 program { name: "start_slide";
594 signal: "elm,state,slide,start";
599 program { name: "stop_slide";
601 signal: "elm,state,slide,stop";
609 group { name: "elm/label/base/naviframe_title";
611 public g_duration = 0, g_stopslide, g_timer_id, g_anim_id, g_landscape = 0;
613 public message(Msg_Type:type, id, ...) {
614 if ((type == MSG_FLOAT_SET) && (id == 0)) {
616 duration = getfarg(2);
617 set_float(g_duration, duration);
620 public slide_end_pending(val, Float:pos) {
623 emit("elm,state,slide,end", "");
626 public slide_to_end_anim(val, Float:pos) {
628 stopflag = get_int(g_stopslide);
629 if (stopflag == 1) return;
630 set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
632 anim(1, "slide_end_pending", 1);
634 public slide_to_end() {
638 stopflag = get_int(g_stopslide);
639 if (stopflag == 1) return;
640 duration = get_float(g_duration);
641 id = anim(duration, "slide_to_end_anim", 1);
642 set_int(g_anim_id, id);
644 public slide_to_begin() {
647 stopflag = get_int(g_stopslide);
648 if (stopflag == 1) return;
649 set_state(PART:"elm.text", "slide_begin", 0.0);
650 id = timer(0.5, "slide_to_end", 1);
651 set_int(g_timer_id, id);
653 public start_slide() {
654 set_int(g_stopslide, 0);
655 set_state(PART:"elm.text", "slide_begin", 0.0);
658 public stop_slide() {
660 set_int(g_stopslide, 1);
661 id = get_int(g_anim_id);
663 id = get_int(g_timer_id);
665 set_state(PART:"elm.text", "default", 0.0);
669 part { name: "label.text.clip";
671 description { state: "default" 0.0;
674 part { name: "elm.text";
677 clip_to: "label.text.clip";
678 description { state: "default" 0.0;
679 rel1.relative: 0.0 0.0;
680 rel2.relative: 1.0 1.0;
683 style: "naviframe_title_style";
684 size: NAVIFRAME_TITLE_FONT_SIZE_INC;
685 size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC;
690 description { state: "slide_end" 0.0;
691 inherit: "default" 0.0;
692 rel1.relative: 1.0 0.0;
693 rel2.relative: 1.0 1.0;
696 style: "naviframe_title_style";
697 size: NAVIFRAME_TITLE_FONT_SIZE_INC;
698 size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC;
703 description { state: "slide_begin" 0.0;
704 inherit: "default" 0.0;
705 rel1.relative: 0.0 0.0;
706 rel2.relative: 0.0 1.0;
709 style: "naviframe_title_style";
710 size: NAVIFRAME_TITLE_FONT_SIZE_INC;
711 size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_TITLE_FONT_SIZE_INC;
716 description { state: "default_landscape" 0.0;
717 rel1.relative: 0.0 0.0;
718 rel2.relative: 1.0 1.0;
721 style: "naviframe_landscape_title_style";
722 size: NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC;
723 size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC;
728 description { state: "slide_end_landscape" 0.0;
729 inherit: "default" 0.0;
730 rel1.relative: 1.0 0.0;
731 rel2.relative: 1.0 1.0;
734 style: "naviframe_landscape_title_style";
735 size: NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC;
736 size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC;
741 description { state: "slide_begin_landscape" 0.0;
742 inherit: "default" 0.0;
743 rel1.relative: 0.0 0.0;
744 rel2.relative: 0.0 1.0;
747 style: "naviframe_landscape_title_style";
748 size: NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC;
749 size_range: NAVIFRAME_TITLE_FONT_MIN_SIZE_INC NAVIFRAME_LANDSCAPE_TITLE_FONT_SIZE_INC;
757 program { name: "start_slide";
759 signal: "elm,state,slide,start";
764 program { name: "stop_slide";
766 signal: "elm,state,slide,stop";
771 program { name: "landscape_mode";
773 signal: "elm,state,orient,90";
775 set_int(g_landscape, 1);
778 program { name: "landscape_mode2";
780 signal: "elm,state,orient,270";
782 set_int(g_landscape, 1);
785 program { name: "portrait_mode";
787 signal: "elm,state,orient,0";
789 set_int(g_landscape, 0);
792 program { name: "portrait_mode2";
794 signal: "elm,state,orient,180";
796 set_int(g_landscape, 0);
801 group { name: "elm/label/base/naviframe_maintitle";
803 public g_duration = 0, g_stopslide, g_timer_id, g_anim_id, g_landscape = 0;
805 public message(Msg_Type:type, id, ...) {
806 if ((type == MSG_FLOAT_SET) && (id == 0)) {
808 duration = getfarg(2);
809 set_float(g_duration, duration);
812 public slide_end_pending(val, Float:pos) {
815 emit("elm,state,slide,end", "");
818 public slide_to_end_anim(val, Float:pos) {
820 stopflag = get_int(g_stopslide);
821 if (stopflag == 1) return;
822 if (!get_int(g_landscape))
823 set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
825 set_tween_state(PART:"elm.text", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0);
827 anim(1, "slide_end_pending", 1);
829 public slide_to_end() {
833 stopflag = get_int(g_stopslide);
834 if (stopflag == 1) return;
835 duration = get_float(g_duration);
836 id = anim(duration, "slide_to_end_anim", 1);
837 set_int(g_anim_id, id);
839 public slide_to_begin() {
842 stopflag = get_int(g_stopslide);
843 if (stopflag == 1) return;
844 if (!get_int(g_landscape))
845 set_state(PART:"elm.text", "slide_begin", 0.0);
847 set_state(PART:"elm.text", "slide_begin_landscape", 0.0);
848 id = timer(0.5, "slide_to_end", 1);
849 set_int(g_timer_id, id);
851 public start_slide() {
852 set_int(g_stopslide, 0);
853 if (!get_int(g_landscape))
854 set_state(PART:"elm.text", "slide_begin", 0.0);
856 set_state(PART:"elm.text", "slide_begin_landscape", 0.0);
859 public stop_slide() {
861 set_int(g_stopslide, 1);
862 id = get_int(g_anim_id);
864 id = get_int(g_timer_id);
866 if (!get_int(g_landscape))
867 set_state(PART:"elm.text", "default", 0.0);
869 set_state(PART:"elm.text", "default_landscape", 0.0);
873 part { name: "label.text.clip";
875 description { state: "default" 0.0;
878 part { name: "elm.text";
881 clip_to: "label.text.clip";
882 description { state: "default" 0.0;
883 rel1.relative: 0.0 0.0;
884 rel2.relative: 1.0 1.0;
887 style: "naviframe_maintitle_style";
891 description { state: "slide_end" 0.0;
892 inherit: "default" 0.0;
893 rel1.relative: 1.0 0.0;
894 rel2.relative: 1.0 1.0;
897 style: "naviframe_maintitle_style";
901 description { state: "slide_begin" 0.0;
902 inherit: "default" 0.0;
903 rel1.relative: 0.0 0.0;
904 rel2.relative: 0.0 1.0;
907 style: "naviframe_maintitle_style";
911 description { state: "default_landscape" 0.0;
912 rel1.relative: 0.0 0.0;
913 rel2.relative: 1.0 1.0;
916 style: "naviframe_landscape_maintitle_style";
920 description { state: "slide_end_landscape" 0.0;
921 inherit: "default" 0.0;
922 rel1.relative: 1.0 0.0;
923 rel2.relative: 1.0 1.0;
926 style: "naviframe_landscape_maintitle_style";
930 description { state: "slide_begin_landscape" 0.0;
931 inherit: "default" 0.0;
932 rel1.relative: 0.0 0.0;
933 rel2.relative: 0.0 1.0;
936 style: "naviframe_landscape_maintitle_style";
943 program { name: "start_slide";
945 signal: "elm,state,slide,start";
950 program { name: "stop_slide";
952 signal: "elm,state,slide,stop";
957 program { name: "landscape_mode";
959 signal: "elm,state,orient,90";
961 set_int(g_landscape, 1);
964 program { name: "landscape_mode2";
966 signal: "elm,state,orient,270";
968 set_int(g_landscape, 1);
971 program { name: "portrait_mode";
973 signal: "elm,state,orient,0";
975 set_int(g_landscape, 0);
978 program { name: "portrait_mode2";
980 signal: "elm,state,orient,180";
982 set_int(g_landscape, 0);
987 group { name: "elm/label/base/naviframe_subtitle";
989 public g_duration = 0, g_stopslide, g_timer_id, g_anim_id, g_landscape = 0;
991 public message(Msg_Type:type, id, ...) {
992 if ((type == MSG_FLOAT_SET) && (id == 0)) {
994 duration = getfarg(2);
995 set_float(g_duration, duration);
998 public slide_end_pending(val, Float:pos) {
1001 emit("elm,state,slide,end", "");
1004 public slide_to_end_anim(val, Float:pos) {
1006 stopflag = get_int(g_stopslide);
1007 if (stopflag == 1) return;
1008 if (!get_int(g_landscape))
1009 set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1011 set_tween_state(PART:"elm.text", pos, "slide_begin_landscape", 0.0, "slide_end_landscape", 0.0);
1013 anim(1, "slide_end_pending", 1);
1015 public slide_to_end() {
1019 stopflag = get_int(g_stopslide);
1020 if (stopflag == 1) return;
1021 duration = get_float(g_duration);
1022 id = anim(duration, "slide_to_end_anim", 1);
1023 set_int(g_anim_id, id);
1025 public slide_to_begin() {
1028 stopflag = get_int(g_stopslide);
1029 if (stopflag == 1) return;
1030 if (!get_int(g_landscape))
1031 set_state(PART:"elm.text", "slide_begin", 0.0);
1033 set_state(PART:"elm.text", "slide_begin_landscape", 0.0);
1034 id = timer(0.5, "slide_to_end", 1);
1035 set_int(g_timer_id, id);
1037 public start_slide() {
1038 set_int(g_stopslide, 0);
1039 if (!get_int(g_landscape))
1040 set_state(PART:"elm.text", "slide_begin", 0.0);
1042 set_state(PART:"elm.text", "slide_begin_landscape", 0.0);
1045 public stop_slide() {
1047 set_int(g_stopslide, 1);
1048 id = get_int(g_anim_id);
1050 id = get_int(g_timer_id);
1052 if (!get_int(g_landscape))
1053 set_state(PART:"elm.text", "default", 0.0);
1055 set_state(PART:"elm.text", "default_landscape", 0.0);
1059 part { name: "label.text.clip";
1061 description { state: "default" 0.0;
1064 part { name: "elm.text";
1067 clip_to: "label.text.clip";
1068 description { state: "default" 0.0;
1069 rel1.relative: 0.0 0.0;
1070 rel2.relative: 1.0 1.0;
1073 style: "naviframe_subtitle_style";
1077 description { state: "slide_end" 0.0;
1078 inherit: "default" 0.0;
1079 rel1.relative: 1.0 0.0;
1080 rel2.relative: 1.0 1.0;
1083 style: "naviframe_subtitle_style";
1087 description { state: "slide_begin" 0.0;
1088 inherit: "default" 0.0;
1089 rel1.relative: 0.0 0.0;
1090 rel2.relative: 0.0 1.0;
1093 style: "naviframe_subtitle_style";
1097 description { state: "default_landscape" 0.0;
1098 rel1.relative: 0.0 0.0;
1099 rel2.relative: 1.0 1.0;
1102 style: "naviframe_landscape_subtitle_style";
1106 description { state: "slide_end_landscape" 0.0;
1107 inherit: "default" 0.0;
1108 rel1.relative: 1.0 0.0;
1109 rel2.relative: 1.0 1.0;
1112 style: "naviframe_landscape_subtitle_style";
1116 description { state: "slide_begin_landscape" 0.0;
1117 inherit: "default" 0.0;
1118 rel1.relative: 0.0 0.0;
1119 rel2.relative: 0.0 1.0;
1122 style: "naviframe_landscape_subtitle_style";
1129 program { name: "start_slide";
1131 signal: "elm,state,slide,start";
1136 program { name: "stop_slide";
1138 signal: "elm,state,slide,stop";
1143 program { name: "landscape_mode";
1145 signal: "elm,state,orient,90";
1147 set_int(g_landscape, 1);
1150 program { name: "landscape_mode2";
1152 signal: "elm,state,orient,270";
1154 set_int(g_landscape, 1);
1157 program { name: "portrait_mode";
1159 signal: "elm,state,orient,0";
1161 set_int(g_landscape, 0);
1164 program { name: "portrait_mode2";
1166 signal: "elm,state,orient,180";
1168 set_int(g_landscape, 0);
1173 group { name: "elm/label/base/datetime";
1174 inherit: "elm/label/base/default";
1179 description { state: "default" 0.0;
1183 part { name: "elm.text";
1186 clip_to: "label.text.clip";
1187 description { state: "default" 0.0;
1188 color: DATETIME_LABEL_TEXT_BLOCK_STYLE_COLOR_INC;
1190 font: "Tizen:style=Regular";
1191 size: DATETIME_TEXT_FONT_SIZE_INC;
1192 text_class: "tizen";
1196 description { state: "selected" 0.0;
1197 inherit: "default" 0.0;
1198 color: DATETIME_LABEL_TEXT_BLOCK_STYLE_SELECTED_COLOR_INC;
1203 program { name: "label_select";
1204 signal: "elm,state,select";
1206 action: STATE_SET "selected" 0.0;
1209 program { name: "label_unselect";
1210 signal: "elm,state,unselect";
1212 action: STATE_SET "default" 0.0;