2 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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.
22 #define QP_ONGOING_PROGRESS_TITLE_COLOR "T023"
23 #define QP_ONGOING_PROGRESS_TITLE_PRESS_COLOR "T023P"
24 #define QP_ONGOING_PROGRESS_CONTENTS_COLOR "T024"
25 #define QP_ONGOING_PROGRESS_RATE_COLOR "T024L1"
27 #define QP_ONGOING_PROGRESS_TITLE_FONT_SIZE 30
28 #define QP_ONGOING_PROGRESS_CONTENTS_FONT_SIZE 24
29 #define QP_ONGOING_PROGRESS_RATE_FONT_SIZE 24
32 name: "quickpanel/listitem/progress";
33 data.item: "bgcolor" QP_THEME_BANDED_COLOR;
42 min: 0 (QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
43 max: -1 (QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
47 name: "seperator.top";
52 min: 0 QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT;
66 name: "seperator.left";
85 name: "seperator.right";
108 state: "default" 0.0;
110 min: 0 QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT;
111 max: 9999 QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT;
114 to_x: "seperator.left";
115 to_y: "seperator.top";
119 to_x: "seperator.right";
120 to_y: "seperator.top";
130 state: "default" 0.0;
133 color_class: QP_THEME_BANDED_COLOR;
138 inherit: "default" 0.0;
139 color_class: QP_THEME_BG_COLOR;
140 color: 255 255 255 128;
146 name: "elm.padding.right";
150 state: "default" 0.0;
155 rel1.relative: 1.0 0.0;
156 rel2.relative: 1.0 1.0;
161 name: "elm.padding.right.content";
165 state: "default" 0.0;
170 rel1.relative: 1.0 0.0;
171 rel2.relative: 1.0 1.0;
176 name: "elm.padding.top.icon";
180 state: "default" 0.0;
185 rel1.relative: 0.0 0.0;
186 rel2.relative: 1.0 0.0;
191 name: "elm.padding.left.icon";
195 state: "default" 0.0;
200 rel1.relative: 0.0 0.0;
201 rel2.relative: 0.0 1.0;
206 name: "elm.padding.top.text";
210 state: "default" 0.0;
215 rel1.relative: 0.0 0.0;
216 rel2.relative: 1.0 0.0;
221 name: "elm.padding.bottom.text";
225 state: "default" 0.0;
230 rel1.relative: 0.0 1.0;
231 rel2.relative: 1.0 1.0;
236 name: "elm.padding.left.title";
240 state: "default" 0.0;
241 min: (15 + 46 + 15) 0;
245 rel1.relative: 0.0 0.0;
246 rel2.relative: 0.0 1.0;
251 name: "elm.padding.left.progress.text";
255 state: "default" 0.0;
256 min: (15 + 46 + 15) 0;
260 rel1.relative: 0.0 0.0;
261 rel2.relative: 0.0 1.0;
266 name: "elm.padding.left.progress";
270 state: "default" 0.0;
271 min: (15 + 46 + 15) 0;
275 rel1.relative: 0.0 0.0;
276 rel2.relative: 0.0 1.0;
281 name: "elm.padding.top.progress";
285 state: "default" 0.0;
290 rel1.relative: 0.0 0.0;
291 rel2.relative: 1.0 0.0;
296 name: "elm.rect.thumbnail";
300 description { state: "default" 0.0;
305 to_x: "elm.padding.left.icon";
306 to_y: "elm.padding.top.icon";
310 to_x: "elm.padding.left.icon";
311 to_y: "elm.padding.top.icon";
317 name: "elm.rect.icon";
322 state: "default" 0.0;
327 to: "elm.rect.thumbnail";
331 to: "elm.rect.thumbnail";
337 name: "elm.rect.text.title";
341 description { state: "default" 0.0;
346 to_x: "elm.padding.left.title";
347 to_y: "elm.padding.top.text";
351 to_x: "elm.padding.right";
352 to_y: "elm.padding.top.text";
358 name: "elm.rect.text.progress";
363 state: "default" 0.0;
368 to_x: "elm.padding.right";
369 to_y: "elm.padding.bottom.text";
373 to_x: "elm.padding.right";
374 to_y: "elm.padding.bottom.text";
380 name: "elm.rect.text.content";
385 state: "default" 0.0;
390 to_x: "elm.padding.left.title";
391 to_y: "elm.padding.bottom.text";
395 to_x: "elm.rect.text.progress";
396 to_y: "elm.padding.bottom.text";
402 name: "elm.rect.progress";
407 state: "default" 0.0;
414 to_x: "elm.padding.left.progress";
415 to_y: "elm.padding.top.progress";
419 to_x: "elm.padding.right";
420 to_y: "elm.padding.top.progress";
425 name: "elm.swallow.thumbnail";
430 state: "default" 0.0;
432 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
433 max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
435 to: "elm.rect.thumbnail";
438 to: "elm.rect.thumbnail";
444 name: "elm.swallow.icon";
449 state: "default" 0.0;
464 name: "elm.text.title";
469 state: "default" 0.0;
473 to:"elm.rect.text.title";
476 to:"elm.rect.text.title";
478 color_class: QP_ONGOING_PROGRESS_TITLE_COLOR;
480 font: "Tizen:style=Regular";
482 size: QP_ONGOING_PROGRESS_TITLE_FONT_SIZE;
488 state: "selected" 0.0;
489 inherit: "default" 0.0;
493 name: "elm.text.time";
498 state: "default" 0.0;
501 to:"elm.rect.text.progress";
504 to:"elm.rect.text.progress";
506 color_class: QP_ONGOING_PROGRESS_RATE_COLOR;
508 font: "Tizen:style=Regular";
510 size: QP_ONGOING_PROGRESS_RATE_FONT_SIZE;
515 state: "selected" 0.0;
516 inherit: "default" 0.0;
520 name: "elm.text.content";
525 state: "default" 0.0;
529 to: "elm.rect.text.content";
532 to: "elm.rect.text.content";
534 color_class: QP_ONGOING_PROGRESS_CONTENTS_COLOR;
536 font: "Tizen:style=Regular";
538 size: QP_ONGOING_PROGRESS_CONTENTS_FONT_SIZE;
545 name: "elm.swallow.progress";
550 state: "default" 0.0;
552 to: "elm.rect.progress";
555 to: "elm.rect.progress";
560 name: "object.layer.touch.background";
566 state: "default" 0.0;
572 QUICKPANEL_FOCUS_OBJECT("focus", "base", "base")
577 name: "effect,mouse,down";
578 signal: "mouse,down,1";
579 source: "object.layer.touch.background";
581 set_state(PART:"bgcolor", "effect", 0.0);
585 name: "effect,mouse,up";
586 signal: "mouse,up,1";
587 source: "object.layer.touch.background";
588 action: STATE_SET "default" 0.0;
589 transition: ACCELERATE 0.20;
594 name: "listbox.touch.down";
595 signal: "mouse,clicked,1";
596 source: "object.layer.touch.background";
597 action: SIGNAL_EMIT "selected" "edje";
603 #define QP_ONGOING_EVENT_TITLE_COLOR "T023"
604 #define QP_ONGOING_EVENT_CONTENTS_COLOR "T024"
606 #define QP_ONGOING_EVENT_TITLE_FONT_SIZE 30
607 #define QP_ONGOING_EVENT_CONTENTS_FONT_SIZE 24
610 name: "quickpanel/listitem/event";
611 data.item: "bgcolor" QP_THEME_BANDED_COLOR;
615 name: "ongoing_event_content_text";
616 base: "font=Tizen:style=Regular text_class=tizen align=left valign=0.5 font_size="QP_ONGOING_EVENT_CONTENTS_FONT_SIZE" ellipsis=1.0 color=#2B2B2BFF color_class="QP_ONGOING_EVENT_CONTENTS_COLOR" wrap=none";
625 state: "default" 0.0;
626 min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
627 max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
631 inherit: "default" 0.0;
632 min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
633 max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
637 inherit: "default" 0.0;
638 min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
639 max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
643 inherit: "default" 0.0;
644 min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
645 max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
650 name: "seperator.top";
654 state: "default" 0.0;
655 min: 0 QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT;
669 name: "seperator.left";
673 state: "default" 0.0;
688 name: "seperator.right";
692 state: "default" 0.0;
711 state: "default" 0.0;
713 min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
714 max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
717 to_x: "seperator.left";
718 to_y: "seperator.top";
722 to_x: "seperator.right";
723 to_y: "seperator.top";
729 inherit: "default" 0.0;
730 min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
731 max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
735 inherit: "default" 0.0;
736 min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
737 max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
741 inherit: "default" 0.0;
742 min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT;
743 max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT;
752 state: "default" 0.0;
755 color_class: QP_THEME_BANDED_COLOR;
760 inherit: "default" 0.0;
761 color_class: QP_THEME_BG_COLOR;
762 color: 255 255 255 128;
767 name: "elm.padding.right";
771 state: "default" 0.0;
776 rel1.relative: 1.0 0.0;
777 rel2.relative: 1.0 1.0;
782 name: "elm.padding.top.icon";
786 state: "default" 0.0;
791 rel1.relative: 0.0 0.0;
792 rel2.relative: 1.0 0.0;
797 inherit: "default" 0.0;
802 inherit: "default" 0.0;
807 inherit: "default" 0.0;
812 name: "elm.padding.left.icon";
816 state: "default" 0.0;
821 rel1.relative: 0.0 0.0;
822 rel2.relative: 0.0 1.0;
827 name: "elm.padding.top.text";
831 state: "default" 0.0;
836 rel1.relative: 0.0 0.0;
837 rel2.relative: 1.0 0.0;
842 inherit: "default" 0.0;
847 inherit: "default" 0.0;
852 inherit: "default" 0.0;
857 name: "elm.padding.bottom.text";
861 state: "default" 0.0;
866 rel1.relative: 0.0 1.0;
867 rel2.relative: 1.0 1.0;
872 inherit: "default" 0.0;
877 inherit: "default" 0.0;
882 inherit: "default" 0.0;
887 name: "elm.padding.left.title";
891 state: "default" 0.0;
892 min: (15 + 46 + 15) 0;
896 rel1.relative: 0.0 0.0;
897 rel2.relative: 0.0 1.0;
901 part { name: "elm.padding.left.contents";
905 state: "default" 0.0;
906 min: (15 + 46 + 15) 0;
910 rel1.relative: 0.0 0.0;
911 rel2.relative: 0.0 1.0;
916 name: "elm.rect.thumbnail";
921 state: "default" 0.0;
926 to_x: "elm.padding.left.icon";
927 to_y: "elm.padding.top.icon";
931 to_x: "elm.padding.left.icon";
932 to_y: "elm.padding.top.icon";
938 name: "elm.rect.icon";
942 description { state: "default" 0.0;
947 to: "elm.rect.thumbnail";
951 to: "elm.rect.thumbnail";
957 name: "elm.rect.text.title";
962 state: "default" 0.0;
967 to_x: "elm.padding.left.title";
968 to_y: "elm.padding.top.text";
972 to_x: "elm.padding.right";
973 to_y: "elm.padding.top.text";
978 state: "move.center" 0.0;
979 inherit: "default" 0.0;
982 to_x: "elm.padding.left.title";
987 to_x: "elm.padding.right";
994 name: "elm.rect.text.content";
999 state: "default" 0.0;
1004 to_x: "elm.padding.left.contents";
1005 to_y: "elm.rect.text.title";
1009 to_x: "elm.padding.right";
1010 to_y: "elm.padding.bottom.text";
1016 name: "elm.swallow.thumbnail";
1021 state: "default" 0.0;
1022 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_W;
1023 max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_W;
1026 to: "elm.rect.thumbnail";
1029 to: "elm.rect.thumbnail";
1035 name: "elm.swallow.icon";
1040 state: "default" 0.0;
1045 to: "elm.rect.icon";
1049 to: "elm.rect.icon";
1055 name: "elm.text.title";
1060 state: "default" 0.0;
1064 to:"elm.rect.text.title";
1067 to:"elm.rect.text.title";
1069 color_class: QP_ONGOING_EVENT_TITLE_COLOR;
1071 font: "Tizen:style=Regular";
1072 text_class: "tizen";
1073 size: QP_ONGOING_EVENT_TITLE_FONT_SIZE;
1079 state: "selected" 0.0;
1080 inherit: "default" 0.0;
1084 name: "elm.text.content";
1090 state: "default" 0.0;
1096 to: "elm.rect.text.content";
1099 to: "elm.rect.text.content";
1102 style: "ongoing_event_content_text";
1108 inherit: "default" 0.0;
1114 inherit: "default" 0.0;
1120 inherit: "default" 0.0;
1126 name: "object.layer.touch.background";
1132 state: "default" 0.0;
1138 QUICKPANEL_FOCUS_OBJECT("focus", "base", "base")
1143 name: "listbox.touch.down";
1144 signal: "mouse,clicked,1";
1145 source: "object.layer.touch.background";
1146 action: SIGNAL_EMIT "selected" "edje";
1149 name: "effect,mouse,down";
1150 signal: "mouse,down,1";
1151 source: "object.layer.touch.background";
1153 set_state(PART:"bgcolor", "effect", 0.0);
1157 name: "effect,mouse,up";
1158 signal: "mouse,up,1";
1159 source: "object.layer.touch.background";
1160 action: STATE_SET "default" 0.0;
1161 transition: ACCELERATE 0.20;
1166 signal: "line1.set";
1168 action: STATE_SET "line1" 0.0;
1169 target: "background";
1171 target: "elm.padding.top.icon";
1172 target: "elm.padding.top.text";
1173 target: "elm.padding.bottom.text";
1174 target: "elm.text.content";
1178 signal: "line2.set";
1180 action: STATE_SET "line2" 0.0;
1181 target: "background";
1183 target: "elm.padding.top.icon";
1184 target: "elm.padding.top.text";
1185 target: "elm.padding.bottom.text";
1186 target: "elm.text.content";
1190 signal: "line3.set";
1192 action: STATE_SET "line3" 0.0;
1193 target: "background";
1195 target: "elm.padding.top.icon";
1196 target: "elm.padding.top.text";
1197 target: "elm.padding.bottom.text";
1198 target: "elm.text.content";
1201 name: "title.move.center";
1202 signal: "title.move.center";
1204 action: STATE_SET "move.center" 0.0;
1205 target: "elm.rect.text.title";