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.
21 #define MAKE_PART_SHOW_PROGRAM(PARTNAME)\
23 name: PARTNAME".object.show";\
24 signal: "object.show";\
26 action: STATE_SET "show" 0.0;\
30 #define MAKE_PART_SHOW_TEXT_PROGRAM(PARTNAME)\
32 name: PARTNAME".text.show";\
33 signal: "object.show";\
35 action: STATE_SET "show" 0.0;\
39 name: PARTNAME".text.show.efect";\
40 signal: "object.show.effect";\
42 action: STATE_SET "show.effect" 0.0;\
47 image: "quick_image_dimmed_port.png" COMP;
48 image: "quick_image_dimmed_land.png" COMP;
49 image: "icon_press.png" COMP;
52 #define BOX_FONT_SHADOW_COLOR 0 0 0 191
53 #define BOX_FONT_OUTLINE_COLOR 0 0 0 191
54 #define BOX_FONT_NO_SHADOW_COLOR 0 0 0 0
55 #define BOX_FONT_NO_OUTLINE_COLOR 0 0 0 0
57 #define BOX_CONTENTS_FONT "Tizen:style=Bold"
58 #define BOX_CONTENTS_FONT_SIZE 30
60 #define BOX_INFO_FONT "Tizen:style=Bold"
61 #define BOX_INFO_FONT_SIZE 28
63 #define BOX_INFO_SHORT_FONT "Tizen:style=Bold"
64 #define BOX_INFO_SHORT_FONT_SIZE 28
66 #define BOX_INFO_SUB_FONT "Tizen:style=Regular"
67 #define BOX_INFO_SUB_FONT_SIZE 24
69 #define TEXT_CLASS_TIZEN "tizen"
70 #define TEXT_EFFECT "OUTLINE_SHADOW"
72 #define QP_NOTI_LEGACY_TITLE_COLOR "T023"
73 #define QP_NOTI_LEGACY_CONTENTS_COLOR "T024"
74 #define QP_NOTI_LEGACY_COUNT_COLOR "ATO017"
75 #define QP_NOTI_LEGACY_TIME_COLOR "T024L1"
76 #define QP_NOTI_LEGACY_INFO_COLOR "ATO019"
77 #define QP_NOTI_LEGACY_INFO_SUB_COLOR "T024"
79 #define QP_NOTI_LEGACY_TITLE_FONT_SIZE 30
80 #define QP_NOTI_LEGACY_CONTENTS_FONT_SIZE 24
81 #define QP_NOTI_LEGACY_COUNT_FONT_SIZE 30
82 #define QP_NOTI_LEGACY_TIME_FONT_SIZE 22
83 #define QP_NOTI_LEGACY_INFO_FONT_SIZE 26
84 #define QP_NOTI_LEGACY_INFO_SUB_FONT_SIZE 26
88 name: "noti_list_title";
89 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_TITLE_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_TITLE_COLOR" ellipsis=1.0 wrap=mixed";
92 name: "noti_list_title_effect";
93 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_TITLE_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_TITLE_COLOR" ellipsis=1.0 wrap=mixed";
97 name: "noti_list_contents";
98 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_CONTENTS_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_CONTENTS_COLOR" ellipsis=1.0 wrap=mixed";
101 name: "noti_list_contents_effect";
102 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_CONTENTS_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_CONTENTS_COLOR" ellipsis=1.0 wrap=mixed";
106 name: "noti_list_count";
107 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_COUNT_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_COUNT_COLOR" ellipsis=1.0 wrap=mixed";
110 name: "noti_list_count_effect";
111 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_COUNT_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_COUNT_COLOR" ellipsis=1.0 wrap=mixed";
115 name: "noti_list_time";
116 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_TIME_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_TIME_COLOR" ellipsis=1.0 wrap=mixed";
119 name: "noti_list_time_effect";
120 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_TIME_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_TIME_COLOR" ellipsis=1.0 wrap=mixed";
124 name: "noti_list_info";
125 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_INFO_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_INFO_COLOR" ellipsis=1.0 wrap=mixed";
128 name: "noti_list_info_effect";
129 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_INFO_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_INFO_COLOR" ellipsis=1.0 wrap=mixed";
133 name: "noti_list_info_sub";
134 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_INFO_SUB_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_INFO_SUB_COLOR" ellipsis=1.0 wrap=mixed";
137 name: "noti_list_info_sub_effect";
138 base: "font=Tizen:style=Regular text_class=tizen font_size="QP_NOTI_LEGACY_INFO_SUB_FONT_SIZE" color=#FFFFFF color_class="QP_NOTI_LEGACY_INFO_SUB_COLOR" ellipsis=1.0 wrap=mixed";
143 name: "quickpanel/listitem_legacy/single_multi";
146 public g_is_show_dim_bg;
148 public init_variables() {
149 set_int(g_is_show_dim_bg, 0);
159 state: "default" 0.0;
160 min: 0 (QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
161 max: -1 (QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
165 name: "seperator.top";
169 state: "default" 0.0;
170 min: 0 QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT;
184 name: "seperator.left";
188 state: "default" 0.0;
203 name: "seperator.right";
207 state: "default" 0.0;
222 name: "clip.background";
226 state: "default" 0.0;
238 state: "default" 0.0;
240 min: 0 QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT;
241 max: -1 QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT;
244 to_x: "seperator.left";
245 to_y: "seperator.top";
250 to_x: "seperator.right";
251 to_y: "seperator.top";
255 color_class: QP_THEME_ITEM_BG_COLOR;
256 color: 255 255 255 235;
259 state: "portrait" 0.0;
260 inherit: "default" 0.0;
263 state: "landscape" 0.0;
264 inherit: "default" 0.0;
268 //section layout for margin
275 state: "default" 0.0;
290 name: "margin.right";
294 state: "default" 0.0;
309 name: "margin.left.icon";
313 state: "default" 0.0;
328 name: "margin.top.icon";
332 state: "default" 0.0;
347 name: "margin.top.text";
351 state: "default" 0.0;
366 name: "margin.bottom";
370 state: "default" 0.0;
385 name: "margin.bottom.thin";
389 state: "default" 0.0;
404 //section layout for elements
405 //section layout for icon
407 name: "rect.icon.bg";
411 state: "default" 0.0;
416 to_x:"margin.left.icon";
417 to_y:"margin.top.icon";
421 to_x:"margin.left.icon";
422 to_y:"margin.top.icon";
433 state: "default" 0.0;
449 name: "rect.icon.sub.padding";
453 state: "default" 0.0;
468 name: "rect.icon.sub";
472 state: "default" 0.0;
477 to:"rect.icon.sub.padding";
481 to:"rect.icon.sub.padding";
488 //section layout for texts
490 name: "rect.text.title";
494 state: "default" 0.0;
500 to_y:"margin.top.text";
506 to_y:"margin.top.text";
513 inherit: "default" 0.0;
516 to_y:"margin.top.text";
521 to_x:"object.text.count";
522 to_y:"margin.top.text";
530 name: "rect.text.contents";
534 state: "default" 0.0;
539 to:"rect.text.title";
543 to_x:"object.text.time";
544 to_y:"rect.text.title";
551 name: "rect.text.info.2";
555 state: "default" 0.0;
560 to_y:"margin.bottom";
565 to_y:"margin.bottom";
572 name: "rect.text.info.sub.2";
576 state: "default" 0.0;
582 to_y:"margin.bottom";
587 to_y:"margin.bottom";
594 name: "rect.text.info.2.short";
598 state: "default" 0.0;
601 to_y:"rect.text.info.2";
605 to_x:"object.text.info.sub.2";
606 to_y:"rect.text.info.2";
614 name: "rect.text.info.1";
618 state: "default" 0.0;
623 to_y:"rect.text.info.2";
628 to_y:"rect.text.info.2";
635 name: "rect.text.info.1.multiline";
639 state: "default" 0.0;
643 to_y:"rect.text.info.1";
648 to_y:"margin.bottom.thin";
655 name: "rect.text.info.sub.1";
659 state: "default" 0.0;
665 to_y:"rect.text.info.2";
670 to_y:"rect.text.info.2";
677 name: "rect.text.info.1.short";
681 state: "default" 0.0;
684 to_y:"rect.text.info.1";
688 to_x:"object.text.info.sub.1";
689 to_y:"rect.text.info.1";
699 name: "object.icon.background";
702 clip_to: "clip.background";
704 state: "default" 0.0;
712 inherit: "default" 0.0;
717 name: "object.touch.effect";
721 state: "default" 0.0;
729 inherit: "default" 0.0;
730 color: 255 255 255 255;
731 color_class: BOX_COLOR_BG_HIGHLIGHT;
735 state: "show.dim" 0.0;
736 inherit: "default" 0.0;
737 color: 255 255 255 255;
738 color_class: BOX_COLOR_BG_HIGHLIGHT_DIM;
743 name: "object.icon.bg.dim";
747 state: "default" 0.0;
752 normal:"quick_image_dimmed_port.png";
759 state: "portrait" 0.0;
760 inherit: "default" 0.0;
762 normal:"quick_image_dimmed_port.png";
769 state: "landscape" 0.0;
770 inherit: "default" 0.0;
772 normal:"quick_image_dimmed_land.png";
784 state: "default" 0.0;
786 min: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
787 max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
788 rel1 {to: "rect.icon";}
789 rel2 {to: "rect.icon";}
794 inherit: "default" 0.0;
799 name: "object.icon.press";
803 state: "default" 0.0;
805 min: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
806 max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
807 rel1 {to: "rect.icon.bg";}
808 rel2 {to: "rect.icon.bg";}
810 normal:"icon_press.png";
818 inherit: "default" 0.0;
823 inherit: "default" 0.0;
828 name: BOX_PART_ICON_SUB;
832 state: "default" 0.0;
834 min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
835 max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
836 rel1 {to: "rect.icon.sub";}
837 rel2 {to: "rect.icon.sub";}
842 inherit: "default" 0.0;
848 name: "object.text.title";
853 state: "default" 0.0;
854 rel1 {to: "rect.text.title";}
855 rel2 {to: "rect.text.title";}
857 style: "noti_list_title";
864 inherit: "default" 0.0;
868 state: "show.effect" 0.0;
869 inherit: "default" 0.0;
871 style: "noti_list_title_effect";
878 name: "object.text.contents";
882 state: "default" 0.0;
883 rel1 {to: "rect.text.contents";}
884 rel2 {to: "rect.text.contents";}
886 style: "noti_list_contents";
892 inherit: "default" 0.0;
896 state: "show.effect" 0.0;
897 inherit: "default" 0.0;
899 style: "noti_list_contents_effect";
905 name: "object.text.count";
909 state: "default" 0.0;
914 to_y:"rect.text.title";
919 to_y:"rect.text.title";
923 style: "noti_list_count";
932 inherit: "default" 0.0;
936 state: "show.effect" 0.0;
937 inherit: "default" 0.0;
939 style: "noti_list_count_effect";
947 name: "object.text.time";
952 state: "default" 0.0;
957 to_y:"rect.text.title";
962 to_y:"rect.text.title";
966 style: "noti_list_time";
975 inherit: "default" 0.0;
979 state: "show.effect" 0.0;
980 inherit: "default" 0.0;
982 style: "noti_list_time_effect";
990 name: "object.text.info.1";
994 state: "default" 0.0;
995 rel1 {to: "rect.text.info.1";}
996 rel2 {to: "rect.text.info.1";}
998 style: "noti_list_info";
1005 inherit: "default" 0.0;
1009 state: "show.effect" 0.0;
1010 inherit: "default" 0.0;
1012 style: "noti_list_info_effect";
1019 name: "object.text.info.1.short";
1023 state: "default" 0.0;
1024 rel1 {to: "rect.text.info.1.short";}
1025 rel2 {to: "rect.text.info.1.short";}
1027 style: "noti_list_info";
1034 inherit: "default" 0.0;
1038 state: "show.effect" 0.0;
1039 inherit: "default" 0.0;
1041 style: "noti_list_info_effect";
1048 name: "object.text.info.1.multiline";
1053 state: "default" 0.0;
1057 to: "rect.text.info.1.multiline";
1060 to: "rect.text.info.1.multiline";
1063 style: "noti_list_info";
1070 inherit: "default" 0.0;
1074 state: "show.effect" 0.0;
1075 inherit: "default" 0.0;
1077 style: "noti_list_info_effect";
1083 name: "object.text.info.sub.1";
1087 state: "default" 0.0;
1089 to: "rect.text.info.sub.1";
1093 to: "rect.text.info.sub.1";
1097 style: "noti_list_info_sub";
1106 inherit: "default" 0.0;
1110 state: "show.effect" 0.0;
1111 inherit: "default" 0.0;
1113 style: "noti_list_info_sub_effect";
1122 name: "object.text.info.2";
1126 state: "default" 0.0;
1127 rel1 {to: "rect.text.info.2";}
1128 rel2 {to: "rect.text.info.2";}
1130 style: "noti_list_info";
1137 inherit: "default" 0.0;
1141 state: "show.effect" 0.0;
1142 inherit: "default" 0.0;
1144 style: "noti_list_info_effect";
1151 name: "object.text.info.2.short";
1155 state: "default" 0.0;
1156 rel1 {to: "rect.text.info.2.short";}
1157 rel2 {to: "rect.text.info.2.short";}
1159 style: "noti_list_info";
1166 inherit: "default" 0.0;
1170 state: "show.effect" 0.0;
1171 inherit: "default" 0.0;
1173 style: "noti_list_info_effect";
1180 name: "object.text.info.sub.2";
1184 state: "default" 0.0;
1186 to: "rect.text.info.sub.2";
1190 to: "rect.text.info.sub.2";
1194 style: "noti_list_info_sub";
1203 inherit: "default" 0.0;
1207 state: "show.effect" 0.0;
1208 inherit: "default" 0.0;
1210 style: "noti_list_info_sub_effect";
1218 name: "object.layer.touch.background";
1224 state: "default" 0.0;
1230 QUICKPANEL_FOCUS_OBJECT("focus", "base", "base")
1232 name: "object.layer.touch.button.1";
1238 state: "default" 0.0;
1242 rel2 {to: "rect.icon";}
1247 inherit: "default" 0.0;
1252 inherit: "default" 0.0;
1260 name: "init.layout";
1269 name: "box.show.dim";
1270 signal: "box.show.dim";
1273 set_int(g_is_show_dim_bg, 1);
1277 name: "box.hide.dim";
1278 signal: "box.hide.dim";
1281 set_int(g_is_show_dim_bg, 0);
1285 name: "box.portrait";
1286 signal: "box.portrait";
1288 action: STATE_SET "portrait" 0.0;
1290 after: "box.portrait.custom";
1293 name: "box.landscape";
1294 signal: "box.landscape";
1296 action: STATE_SET "landscape" 0.0;
1298 after: "box.landscape.custom";
1301 name: "box.portrait.custom";
1304 if (get_int(g_is_show_dim_bg) == 1) {
1305 set_state(PART:"object.icon.bg.dim", "portrait", 0.0);
1310 name: "box.landscape.custom";
1313 if (get_int(g_is_show_dim_bg) == 1) {
1314 set_state(PART:"object.icon.bg.dim", "landscape", 0.0);
1320 name: "box.touch.down";
1321 signal: "mouse,clicked,1";
1322 source: "object.layer.touch.background";
1323 action: SIGNAL_EMIT "selected" "edje";
1327 name: "effect,mouse,down";
1328 signal: "mouse,down,1";
1329 source: "object.layer.touch.background";
1331 if (get_int(g_is_show_dim_bg) == 1) {
1332 set_state(PART:"object.touch.effect", "show.dim", 0.0);
1334 set_state(PART:"object.touch.effect", "show", 0.0);
1339 name: "effect,mouse,up";
1340 signal: "mouse,up,1";
1341 source: "object.layer.touch.background";
1342 action: STATE_SET "default" 0.0;
1343 transition: ACCELERATE 0.20;
1344 target: "object.touch.effect";
1347 name: "box.button.1.touch.clicked";
1348 signal: "mouse,clicked,1";
1349 source: "object.layer.touch.button.1";
1350 action: SIGNAL_EMIT "button_1" "edje";
1353 name: "box.button.1.touch.down";
1354 signal: "mouse,down,1";
1355 source: "object.layer.touch.button.1";
1356 action: STATE_SET "show" 0.0;
1357 target: "object.icon.press";
1360 name: "box.button.1.touch.up";
1361 signal: "mouse,up,1";
1362 source: "object.layer.touch.button.1";
1363 action: STATE_SET "hide" 0.0;
1364 target: "object.icon.press";
1367 name: "box.show.icon.bg";
1368 signal: "box.show.icon.bg";
1370 action: STATE_SET "show" 0.0;
1371 target: "object.layer.touch.button.1";
1374 name: "box.hide.icon.bg";
1375 signal: "box.hide.icon.bg";
1377 action: STATE_SET "hide" 0.0;
1378 target: "object.layer.touch.button.1";
1381 name: "box.title.with.icon";
1382 signal: "box.title.with.icon";
1384 action: STATE_SET "default" 0.0;
1385 target: "rect.text.title";
1388 name: "box.title.without.icon";
1389 signal: "box.title.without.icon";
1391 action: STATE_SET "without_icon" 0.0;
1392 target: "rect.text.title";
1396 signal: "title.long";
1398 action: STATE_SET "default" 0.0;
1399 target: "rect.text.title";
1402 name: "title.short";
1403 signal: "title.short";
1405 action: STATE_SET "short" 0.0;
1406 target: "rect.text.title";
1408 MAKE_PART_SHOW_PROGRAM("object.icon.background")
1409 MAKE_PART_SHOW_PROGRAM("object.icon")
1410 MAKE_PART_SHOW_PROGRAM("object.icon.sub")
1411 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.title")
1412 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.contents")
1413 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.count")
1414 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.time")
1415 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1")
1416 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1.short")
1417 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1.multiline")
1418 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.sub.1")
1419 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.2")
1420 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.2.short")
1421 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.sub.2")
1427 name: "quickpanel/listitem_legacy/thumbnail";
1430 public g_is_show_dim_bg;
1432 public init_variables() {
1433 set_int(g_is_show_dim_bg, 0);
1443 state: "default" 0.0;
1444 min: 0 (QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
1445 max: -1 (QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
1449 name: "seperator.top";
1453 state: "default" 0.0;
1454 min: 0 QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT;
1468 name: "seperator.left";
1472 state: "default" 0.0;
1487 name: "seperator.right";
1491 state: "default" 0.0;
1506 name: "clip.background";
1510 state: "default" 0.0;
1522 state: "default" 0.0;
1524 min: 0 QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT;
1525 max: -1 QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT;
1528 to_x: "seperator.left";
1529 to_y: "seperator.top";
1533 to_x: "seperator.right";
1534 to_y: "seperator.top";
1537 color_class: QP_THEME_ITEM_BG_COLOR;
1538 color: 255 255 255 235;
1541 state: "portrait" 0.0;
1542 inherit: "default" 0.0;
1545 state: "landscape" 0.0;
1546 inherit: "default" 0.0;
1550 //section layout for margin
1553 name: "margin.left";
1557 state: "default" 0.0;
1572 name: "margin.right";
1576 state: "default" 0.0;
1591 name: "margin.left.icon";
1595 state: "default" 0.0;
1610 name: "margin.top.icon";
1614 state: "default" 0.0;
1629 name: "margin.top.text";
1633 state: "default" 0.0;
1648 name: "margin.bottom";
1652 state: "default" 0.0;
1667 name: "margin.bottom.thin";
1671 state: "default" 0.0;
1686 //section layout for elements
1687 //section layout for icon
1689 name: "rect.icon.bg";
1693 state: "default" 0.0;
1698 to_x:"margin.left.icon";
1699 to_y:"margin.top.icon";
1703 to_x:"margin.left.icon";
1704 to_y:"margin.top.icon";
1715 state: "default" 0.0;
1731 name: "rect.icon.sub.padding";
1735 state: "default" 0.0;
1750 name: "rect.icon.sub";
1754 state: "default" 0.0;
1759 to:"rect.icon.sub.padding";
1763 to:"rect.icon.sub.padding";
1770 //section layout for texts
1772 name: "rect.text.title";
1776 state: "default" 0.0;
1781 to_x:"rect.icon.bg";
1782 to_y:"margin.top.text";
1787 to_x:"margin.right";
1788 to_y:"margin.top.text";
1795 inherit: "default" 0.0;
1797 to_x:"rect.icon.bg";
1798 to_y:"margin.top.text";
1803 to_x:"object.text.count";
1804 to_y:"margin.top.text";
1812 name: "rect.text.contents";
1816 state: "default" 0.0;
1821 to_x:"rect.icon.bg";
1822 to_y:"rect.text.title";
1826 to_x:"object.text.time";
1827 to_y:"rect.text.title";
1834 name: "rect.text.info.2";
1838 state: "default" 0.0;
1842 to_x:"rect.thumbnail.list.1.padding";
1843 to_y:"margin.bottom";
1847 to_x:"margin.right";
1848 to_y:"margin.bottom";
1855 name: "rect.text.info.1";
1859 state: "default" 0.0;
1863 to_x:"rect.thumbnail.list.1.padding";
1864 to_y:"rect.text.info.2";
1868 to_x:"margin.right";
1869 to_y:"rect.text.info.2";
1876 name: "rect.text.info.1.multiline";
1880 state: "default" 0.0;
1883 to_x:"rect.thumbnail.list.1.padding";
1884 to_y:"rect.text.info.1";
1888 to_x:"margin.right";
1889 to_y:"margin.bottom.thin";
1896 //section layout for thumbnail
1898 name: "rect.thumbnail.list.1";
1902 state: "default" 0.0;
1905 to_x:"margin.left.icon";
1906 to_y:"margin.bottom";
1910 to_x:"margin.left.icon";
1911 to_y:"margin.bottom";
1918 name: "rect.thumbnail.list.1.padding";
1922 state: "default" 0.0;
1925 to:"rect.thumbnail.list.1";
1929 to:"rect.thumbnail.list.1";
1935 state: "portrait" 0.0;
1936 inherit: "default" 0.0;
1939 state: "landscape" 0.0;
1940 inherit: "default" 0.0;
1945 name: "rect.thumbnail.list.2";
1949 state: "default" 0.0;
1952 to_x:"rect.thumbnail.list.1.padding";
1953 to_y:"margin.bottom";
1957 to_x:"rect.thumbnail.list.1.padding";
1958 to_y:"margin.bottom";
1965 name: "rect.thumbnail.list.2.padding";
1969 state: "default" 0.0;
1972 to:"rect.thumbnail.list.2";
1976 to:"rect.thumbnail.list.2";
1982 state: "portrait" 0.0;
1983 inherit: "default" 0.0;
1986 state: "landscape" 0.0;
1987 inherit: "default" 0.0;
1992 name: "rect.thumbnail.list.3";
1996 state: "default" 0.0;
1999 to_x:"rect.thumbnail.list.2.padding";
2000 to_y:"margin.bottom";
2004 to_x:"rect.thumbnail.list.2.padding";
2005 to_y:"margin.bottom";
2012 name: "rect.thumbnail.list.3.padding";
2016 state: "default" 0.0;
2019 to:"rect.thumbnail.list.3";
2023 to:"rect.thumbnail.list.3";
2029 state: "portrait" 0.0;
2030 inherit: "default" 0.0;
2033 state: "landscape" 0.0;
2034 inherit: "default" 0.0;
2039 name: "rect.thumbnail.list.4";
2043 state: "default" 0.0;
2046 to_x:"rect.thumbnail.list.3.padding";
2047 to_y:"margin.bottom";
2051 to_x:"rect.thumbnail.list.3.padding";
2052 to_y:"margin.bottom";
2059 name: "rect.thumbnail.list.4.padding";
2063 state: "default" 0.0;
2066 to:"rect.thumbnail.list.4";
2070 to:"rect.thumbnail.list.4";
2076 state: "portrait" 0.0;
2077 inherit: "default" 0.0;
2080 state: "landscape" 0.0;
2081 inherit: "default" 0.0;
2086 name: "rect.thumbnail.list.5";
2090 state: "default" 0.0;
2093 to_x:"rect.thumbnail.list.4.padding";
2094 to_y:"margin.bottom";
2098 to_x:"rect.thumbnail.list.4.padding";
2099 to_y:"margin.bottom";
2105 state: "portrait" 0.0;
2106 inherit: "default" 0.0;
2109 state: "landscape" 0.0;
2110 inherit: "default" 0.0;
2115 name: "object.icon.background";
2118 clip_to: "clip.background";
2120 state: "default" 0.0;
2128 inherit: "default" 0.0;
2132 part { name: "object.touch.effect";
2136 state: "default" 0.0;
2144 inherit: "default" 0.0;
2145 color: 255 255 255 255;
2146 color_class: BOX_COLOR_BG_HIGHLIGHT;
2150 state: "show.dim" 0.0;
2151 inherit: "default" 0.0;
2152 color: 255 255 255 255;
2153 color_class: BOX_COLOR_BG_HIGHLIGHT_DIM;
2158 name: "object.icon.bg.dim";
2162 state: "default" 0.0;
2167 normal:"quick_image_dimmed_port.png";
2174 state: "portrait" 0.0;
2175 inherit: "default" 0.0;
2177 normal:"quick_image_dimmed_port.png";
2184 state: "landscape" 0.0;
2185 inherit: "default" 0.0;
2187 normal:"quick_image_dimmed_land.png";
2195 name: BOX_PART_ICON;
2199 state: "default" 0.0;
2201 min: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
2202 max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
2203 rel1 {to: "rect.icon";}
2204 rel2 {to: "rect.icon";}
2209 inherit: "default" 0.0;
2214 name: "object.icon.press";
2218 state: "default" 0.0;
2220 min: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
2221 max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
2222 rel1 {to: "rect.icon.bg";}
2223 rel2 {to: "rect.icon.bg";}
2225 normal:"icon_press.png";
2233 inherit: "default" 0.0;
2238 inherit: "default" 0.0;
2243 name: BOX_PART_ICON_SUB;
2247 state: "default" 0.0;
2249 min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
2250 max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
2251 rel1 {to: "rect.icon.sub";}
2252 rel2 {to: "rect.icon.sub";}
2257 inherit: "default" 0.0;
2264 name: "object.thumbnail.list.1";
2268 state: "default" 0.0;
2270 rel1 {to: "rect.thumbnail.list.1";}
2271 rel2 {to: "rect.thumbnail.list.1";}
2276 inherit: "default" 0.0;
2281 name: "object.thumbnail.list.2";
2285 state: "default" 0.0;
2287 rel1 {to: "rect.thumbnail.list.2";}
2288 rel2 {to: "rect.thumbnail.list.2";}
2293 inherit: "default" 0.0;
2298 name: "object.thumbnail.list.3";
2302 state: "default" 0.0;
2304 rel1 {to: "rect.thumbnail.list.3";}
2305 rel2 {to: "rect.thumbnail.list.3";}
2310 inherit: "default" 0.0;
2315 name: "object.thumbnail.list.4";
2319 state: "default" 0.0;
2321 rel1 {to: "rect.thumbnail.list.4";}
2322 rel2 {to: "rect.thumbnail.list.4";}
2327 inherit: "default" 0.0;
2332 name: "object.thumbnail.list.5";
2336 state: "default" 0.0;
2338 rel1 {to: "rect.thumbnail.list.5";}
2339 rel2 {to: "rect.thumbnail.list.5";}
2343 state: "portrait" 0.0;
2344 inherit: "default" 0.0;
2347 state: "landscape" 0.0;
2348 inherit: "default" 0.0;
2354 name: "object.text.title";
2359 state: "default" 0.0;
2360 rel1 {to: "rect.text.title";}
2361 rel2 {to: "rect.text.title";}
2363 style: "noti_list_title";
2370 inherit: "default" 0.0;
2374 state: "show.effect" 0.0;
2375 inherit: "default" 0.0;
2377 style: "noti_list_title_effect";
2384 name: "object.text.contents";
2388 state: "default" 0.0;
2389 rel1 {to: "rect.text.contents";}
2390 rel2 {to: "rect.text.contents";}
2392 style: "noti_list_contents";
2398 inherit: "default" 0.0;
2402 state: "show.effect" 0.0;
2403 inherit: "default" 0.0;
2405 style: "noti_list_contents_effect";
2411 name: "object.text.count";
2415 state: "default" 0.0;
2419 to_x:"margin.right";
2420 to_y:"rect.text.title";
2424 to_x:"margin.right";
2425 to_y:"rect.text.title";
2429 style: "noti_list_count";
2438 inherit: "default" 0.0;
2442 state: "show.effect" 0.0;
2443 inherit: "default" 0.0;
2445 style: "noti_list_count_effect";
2453 name: "object.text.time";
2458 state: "default" 0.0;
2462 to_x:"margin.right";
2463 to_y:"rect.text.title";
2467 to_x:"margin.right";
2468 to_y:"rect.text.title";
2472 style: "noti_list_time";
2481 inherit: "default" 0.0;
2485 state: "show.effect" 0.0;
2486 inherit: "default" 0.0;
2488 style: "noti_list_time_effect";
2496 name: "object.text.info.1";
2500 state: "default" 0.0;
2501 rel1 {to: "rect.text.info.1";}
2502 rel2 {to: "rect.text.info.1";}
2504 style: "noti_list_info";
2511 inherit: "default" 0.0;
2515 state: "show.effect" 0.0;
2516 inherit: "default" 0.0;
2518 style: "noti_list_info_effect";
2526 name: "object.text.info.1.multiline";
2531 state: "default" 0.0;
2535 to: "rect.text.info.1.multiline";
2538 to: "rect.text.info.1.multiline";
2541 style: "noti_list_info";
2548 inherit: "default" 0.0;
2552 state: "show.effect" 0.0;
2553 inherit: "default" 0.0;
2555 style: "noti_list_info_effect";
2562 name: "object.text.info.2";
2566 state: "default" 0.0;
2567 rel1 {to: "rect.text.info.2";}
2568 rel2 {to: "rect.text.info.2";}
2570 style: "noti_list_info";
2578 inherit: "default" 0.0;
2582 state: "show.effect" 0.0;
2583 inherit: "default" 0.0;
2585 style: "noti_list_info_effect";
2593 name: "object.layer.touch.background";
2599 state: "default" 0.0;
2605 QUICKPANEL_FOCUS_OBJECT("focus", "base", "base")
2607 name: "object.layer.touch.button.1";
2613 state: "default" 0.0;
2617 rel2 {to: "rect.icon";}
2622 inherit: "default" 0.0;
2627 inherit: "default" 0.0;
2635 name: "init.layout";
2644 name: "box.show.dim";
2645 signal: "box.show.dim";
2648 set_int(g_is_show_dim_bg, 1);
2652 name: "box.hide.dim";
2653 signal: "box.hide.dim";
2656 set_int(g_is_show_dim_bg, 0);
2660 name: "box.portrait";
2661 signal: "box.portrait";
2663 action: STATE_SET "portrait" 0.0;
2666 target: "rect.thumbnail.list.1.padding";
2667 target: "rect.thumbnail.list.2.padding";
2668 target: "rect.thumbnail.list.3.padding";
2669 target: "rect.thumbnail.list.4.padding";
2670 target: "rect.thumbnail.list.5";
2672 target: "object.thumbnail.list.5";
2673 after: "box.portrait.custom";
2676 name: "box.landscape";
2677 signal: "box.landscape";
2679 action: STATE_SET "landscape" 0.0;
2682 target: "rect.thumbnail.list.1.padding";
2683 target: "rect.thumbnail.list.2.padding";
2684 target: "rect.thumbnail.list.3.padding";
2685 target: "rect.thumbnail.list.4.padding";
2686 target: "rect.thumbnail.list.5";
2687 target: "object.thumbnail.list.5";
2688 after: "box.landscape.custom";
2691 name: "box.portrait.custom";
2694 if (get_int(g_is_show_dim_bg) == 1) {
2695 set_state(PART:"object.icon.bg.dim", "portrait", 0.0);
2700 name: "box.landscape.custom";
2703 if (get_int(g_is_show_dim_bg) == 1) {
2704 set_state(PART:"object.icon.bg.dim", "landscape", 0.0);
2710 name: "box.touch.down";
2711 signal: "mouse,clicked,1";
2712 source: "object.layer.touch.background";
2713 action: SIGNAL_EMIT "selected" "edje";
2717 name: "effect,mouse,down";
2718 signal: "mouse,down,1";
2719 source: "object.layer.touch.background";
2721 if (get_int(g_is_show_dim_bg) == 1) {
2722 set_state(PART:"object.touch.effect", "show.dim", 0.0);
2724 set_state(PART:"object.touch.effect", "show", 0.0);
2729 name: "effect,mouse,up";
2730 signal: "mouse,up,1";
2731 source: "object.layer.touch.background";
2732 action: STATE_SET "default" 0.0;
2733 transition: ACCELERATE 0.20;
2734 target: "object.touch.effect";
2737 name: "box.button.1.touch.clicked";
2738 signal: "mouse,clicked,1";
2739 source: "object.layer.touch.button.1";
2740 action: SIGNAL_EMIT "button_1" "edje";
2743 name: "box.button.1.touch.down";
2744 signal: "mouse,down,1";
2745 source: "object.layer.touch.button.1";
2746 action: STATE_SET "show" 0.0;
2747 target: "object.icon.press";
2750 name: "box.button.1.touch.up";
2751 signal: "mouse,up,1";
2752 source: "object.layer.touch.button.1";
2753 action: STATE_SET "hide" 0.0;
2754 target: "object.icon.press";
2757 name: "box.show.icon.bg";
2758 signal: "box.show.icon.bg";
2760 action: STATE_SET "show" 0.0;
2762 target: "object.layer.touch.button.1";
2765 name: "box.hide.icon.bg";
2766 signal: "box.hide.icon.bg";
2768 action: STATE_SET "hide" 0.0;
2769 target: "object.layer.touch.button.1";
2772 name: "box.title.with.icon";
2773 signal: "box.title.with.icon";
2775 action: STATE_SET "default" 0.0;
2776 target: "rect.text.title";
2779 name: "box.title.without.icon";
2780 signal: "box.title.without.icon";
2782 action: STATE_SET "without_icon" 0.0;
2783 target: "rect.text.title";
2787 signal: "title.long";
2789 action: STATE_SET "default" 0.0;
2790 target: "rect.text.title";
2793 name: "title.short";
2794 signal: "title.short";
2796 action: STATE_SET "short" 0.0;
2797 target: "rect.text.title";
2799 MAKE_PART_SHOW_PROGRAM("object.icon.background")
2800 MAKE_PART_SHOW_PROGRAM("object.icon")
2801 MAKE_PART_SHOW_PROGRAM("object.icon.sub")
2802 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.title")
2803 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.contents")
2804 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.count")
2805 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.time")
2806 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1")
2807 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1.multiline")
2808 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.2")
2809 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.1")
2810 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.2")
2811 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.3")
2812 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.4")