1 #define DEBUG_RECT_OVER(over_part, r, g, b) \
2 part { name: __CONCAT("dbg_rect_at_", __stringify(__LINE__)); \
8 state: "default" 0.0; \
11 rel1 { to: over_part; relative: 0 0; } \
12 rel2 { to: over_part; relative: 1 1; } \
20 #define ITEM_WIDTH 374
21 #define PARENT_ITEM_HEIGHT 36
23 #define URI_INPUTBOX_LENGTH 1720
24 #define URL_HISTORY_ITEM_H 82
25 #define URL_HISTORY_ITEMS_VISIBLE_MAX 5
26 #define URL_HISTORY_LIST_MAX_H HISTORY_ITEM_H*HISTORY_ITEMS_VISIBLE_MAX
29 name: "elm/button/base/invisible_button";
35 description { state: "default" 0.0;
45 description { state: "default" 0.0;
48 rel1 { relative: 0.0 0.0;to: "button";}
49 rel2 { relative: 1.0 1.0;to: "button";}
57 signal: "mouse,clicked,1";
60 emit("elm,action,click", "");
67 name: "elm/button/base/thumbButton";
69 image: "ico_delete.png" COMP;
73 name: "elm.swallow.content";
81 rel1.relative: 0.0 0.0;
82 rel2.relative: 1.0 1.0;
89 name: "mouse,clicked";
90 signal: "mouse,down,1";
91 source: "elm.swallow.content";
92 action: SIGNAL_EMIT "elm,action,click" "";
97 group { name: "mv_bookmarks";
99 item: "focus_highlight" "off";
102 image: "web_shadow.png" COMP;
106 name: "defaultBgColor";
110 name: "focusBgColor";
111 color: 0 119 246 255;
114 name: "imageHighlight";
115 color: 255 255 255 102;
118 name: "focusbtBgColor";
119 color: 22 120 224 255;
122 name: "titleTextColor";
126 name: "focusTextColor";
127 color: 255 255 255 255;
130 name: "highlightTextColor";
131 color: 255 255 255 51;
134 name: "urlTextColor";
135 color: 116 116 116 204;
144 part { name: "layoutTop_bg";
147 description { state: "default" 0.0;
148 color: 255 255 255 255;
154 relative: 0 0; offset: 0 104;
161 part { name: "gengrid_bg";
164 description { state: "default" 0.0;
165 color: 255 255 255 255;
179 part { name: "layoutBottom_bg";
182 description { state: "default" 0.0;
183 color: 255 255 255 255;
189 relative: 0 1; to: "gengrid_bg";
197 part { name: "elm.swallow.grid";
199 description { state: "default" 0.0;
205 relative: 0 0; to: "gengrid_bg"; offset: 63 0;
214 part { name: "center_rect";
216 description { state: "default" 0.0;
230 description { state: "empty" 0.0;
231 inherit: "default" 0.0;
233 color: 229 229 229 255;
237 part { name: "elm.swallow.big";
239 description { state: "default" 0.0;
246 relative: 0 0; to: "center_rect";
253 description { state: "empty" 0.0;
254 inherit: "default" 0.0;
259 part { name: "elm.swallow.small_first";
261 description { state: "default" 0.0;
278 description { state: "empty" 0.0;
279 inherit: "default" 0.0;
284 part { name: "elm.swallow.small_second";
286 description { state: "default" 0.0;
303 description { state: "empty" 0.0;
304 inherit: "default" 0.0;
309 part { name: "elm.swallow.small_third";
311 description { state: "default" 0.0;
328 description { state: "empty" 0.0;
329 inherit: "default" 0.0;
334 part { name: "elm.swallow.small_fourth";
336 description { state: "default" 0.0;
353 description { state: "empty" 0.0;
354 inherit: "default" 0.0;
359 part { name: "elm.swallow.layoutTop";
361 description { state: "default" 0.0;
367 relative: 0 0; to: "layoutTop_bg";
376 part { name: "uri_bar_shadow";
381 state: "default" 0.0;
387 image.normal: "web_shadow.png";
388 rel1 { relative: 0.0 0.0; to: "elm.swallow.layoutTop"; }
389 rel2 { relative: 1.0 1.0; }
393 part { name: "elm.swallow.layoutBottom";
395 description { state: "default" 0.0;
401 to: "layoutBottom_bg";
411 part { name: "elm.text.empty";
413 description { state: "default" 0.0;
432 description { state: "empty" 0.0;
433 inherit: "default" 0.0;
440 program { name: "empty";
441 signal: "empty,view";
442 source: "quickaccess";
443 action: STATE_SET "empty" 0.0;
444 target: "elm.swallow.big";
445 target: "elm.swallow.small_first";
446 target: "elm.swallow.small_second";
447 target: "elm.swallow.small_third";
448 target: "elm.swallow.small_fourth";
449 target: "elm.text.empty";
450 target: "center_rect";
452 program { name: "not_empty";
453 signal: "not,empty,view";
454 source: "quickaccess";
455 action: STATE_SET "default" 0.0;
456 target: "elm.text.empty";
457 target: "center_rect";
458 target: "elm.swallow.big";
459 target: "elm.swallow.small_first";
460 target: "elm.swallow.small_second";
461 target: "elm.swallow.small_third";
462 target: "elm.swallow.small_fourth";
467 group { name: "elm/button/base/big_tile";
468 data.item: "texts" "page_title page_url";
469 data.item: "contents" "elm.thumbnail";
473 image: "web_frame_selected.png" COMP;
474 image: "ico_bg_round_shape_37x37.png" COMP;
480 description { state: "default" 0.0;
484 color: 231 231 231 255;
488 part { name: "elm.thumbnail";
490 description { state: "default" 0.0;
493 color : 231 231 231 255;
494 min: 784 577; // size adjusted to max thubnail with and height
497 relative: 0.0 0.0; to: "bg";
500 relative: 1.0 1.0; to: "bg";
503 description { state: "selected";
504 inherit: "default" 0.0;
508 part { name: "border_top";
510 description { state: "default" 0.0;
511 color_class: focusBgColor;
525 description { state: "selected";
526 inherit: "default" 0.0;
531 part { name: "border_left";
533 description { state: "default" 0.0;
534 color_class: focusBgColor;
548 description { state: "selected";
549 inherit: "default" 0.0;
554 part { name: "border_right";
556 description { state: "default" 0.0;
557 color_class: focusBgColor;
571 description { state: "selected";
572 inherit: "default" 0.0;
577 part { name: "background";
579 description { state: "default" 0.0;
583 color: 113 128 147 255;
588 offset: 0 498; // thumbnail height
594 description { state: "selected" 0.0;
595 inherit: "default" 0.0;
596 color: 0 119 246 255;
600 part { name: "page_title";
602 description { state: "default" 0.0;
606 color: 255 255 255 255;
617 text: "Web page title";
625 part { name: "page_url";
627 description { state: "default" 0.0;
631 color: 255 255 255 255;
642 text: "Web page url";
654 description { state: "default" 0.0;
657 rel2.to: "background";
663 program { name: "mouse_in";
666 action: STATE_SET "selected" 0.0;
667 target: "background";
668 target: "border_top";
669 target: "border_left";
670 target: "border_right";
672 program { name: "mouse_out";
675 action: STATE_SET "default" 0.0;
676 target: "background";
677 target: "border_top";
678 target: "border_left";
679 target: "border_right";
683 signal: "mouse,clicked,1";
686 emit("elm,action,click", "");
692 group { name: "elm/button/base/small_tile";
693 data.item: "texts" "page_title page_url";
694 data.item: "contents" "elm.thumbnail";
696 image: "web_frame_selected.png" COMP;
697 image: "ico_bg_round_shape_37x37.png" COMP;
700 part { name: "container";
702 description { state: "default" 0.0;
712 description { state: "default" 0.0;
716 color: 231 231 231 255;
719 relative: 0.0 0.0; to: "container";
722 relative: 1.0 1.0; to: "container";
727 part { name: "elm.thumbnail";
729 description { state: "default" 0.0;
732 color : 231 231 231 255;
733 min: 378 292; // size adjusted to max thubnail with and height
736 relative: 0.0 0.0; to: "bg";
739 relative: 1.0 1.0; to: "bg";
742 description { state: "selected";
743 inherit: "default" 0.0;
746 part { name: "border_top";
748 description { state: "default" 0.0;
749 color_class: focusBgColor;
763 description { state: "selected";
764 inherit: "default" 0.0;
769 part { name: "border_left";
771 description { state: "default" 0.0;
772 color_class: focusBgColor;
786 description { state: "selected";
787 inherit: "default" 0.0;
792 part { name: "border_right";
794 description { state: "default" 0.0;
795 color_class: focusBgColor;
809 description { state: "selected";
810 inherit: "default" 0.0;
815 part { name: "background";
817 description { state: "default" 0.0;
821 color: 113 128 147 255;
826 offset: 0 198; // thumbnail height
832 description { state: "selected" 0.0;
833 inherit: "default" 0.0;
834 color: 0 119 246 255;
838 part { name: "page_title";
840 description { state: "default" 0.0;
844 color: 255 255 255 255;
855 text: "Web page title";
861 description { state: "focus" 0.0;
862 inherit: "default" 0.0;
863 color_class: focusTextColor;
865 description { state: "highlight" 0.0;
866 inherit: "default" 0.0;
867 //color_class: highlightTextColor;
871 part { name: "page_url";
873 description { state: "default" 0.0;
877 color: 255 255 255 255;
888 text: "Web page url";
894 description { state: "focus" 0.0;
895 inherit: "default" 0.0;
896 color_class: focusTextColor;
898 description { state: "highlight" 0.0;
899 inherit: "default" 0.0;
900 //color_class: highlightTextColor;
908 description { state: "default" 0.0;
911 rel2.to: "background";
917 program { name: "mouse_in";
920 action: STATE_SET "selected" 0.0;
921 target: "background";
922 target: "border_top";
923 target: "border_left";
924 target: "border_right";
926 program { name: "mouse_out";
929 action: STATE_SET "default" 0.0;
930 target: "background";
931 target: "border_top";
932 target: "border_left";
933 target: "border_right";
937 signal: "mouse,clicked,1";
940 emit("elm,action,click", "");
946 group { name: "elm/gengrid/item/grid_item/default";
947 data.item: "texts" "page_title page_url";
948 data.item: "contents" "elm.thumbnail elm.thumbButton";
950 image: "web_frame_selected.png" COMP;
951 image: "ico_bg_round_shape_37x37.png" COMP;
952 image: "ic_thumbnail_favorite_01.png" COMP;
958 description { state: "default" 0.0;
962 color: 231 231 231 255;
963 rel1.offset: -26 -26;
965 description { state: "selected";
966 inherit: "default" 0.0;
967 color: 70 143 254 255;
971 part { name: "elm.thumbnail";
973 description { state: "default" 0.0;
976 color : 231 231 231 255;
980 relative: 0.0 0.0; to: "bg";
983 relative: 1.0 1.0; to: "bg";
986 description { state: "selected";
987 inherit: "default" 0.0;
992 name: "bookmark_thumbButton";
997 state: "default" 0.0;
999 rel1.to: "elm.thumbnail";
1000 rel1.offset: 284 18;
1001 rel1.relative: 0.0 0.0;
1002 rel2.to: "elm.thumbnail";
1003 rel2.offset: 324 58;
1004 rel2.relative: 0.0 0.0;
1006 image.normal: "ic_thumbnail_favorite_01.png";
1010 part { name: "focus_highlight";
1012 description { state: "default" 0.0;
1014 to: "elm.thumbnail";
1018 to: "elm.thumbnail";
1021 image.normal: "web_frame_selected.png";
1022 image.border: 8 8 8 0;
1023 image.border_scale: 1;
1027 description { state: "selected";
1028 inherit: "default" 0.0;
1033 part { name: "background";
1035 description { state: "default" 0.0;
1039 color: 231 231 231 255;
1041 to: "elm.thumbnail";
1048 description { state: "selected" 0.0;
1049 inherit: "default" 0.0;
1050 color: 70 143 254 255;
1054 part { name: "page_title";
1056 description { state: "default" 0.0;
1069 color: 51 51 51 255;
1071 text: "Web page title";
1077 description { state: "focus" 0.0;
1078 inherit: "default" 0.0;
1079 //color: focusTextColor;
1081 description { state: "highlight" 0.0;
1082 inherit: "default" 0.0;
1083 //color: highlightTextColor;
1087 part { name: "page_url";
1089 description { state: "default" 0.0;
1101 color: 153 153 153 255;
1103 text: "Web page url";
1109 description { state: "focus" 0.0;
1110 inherit: "default" 0.0;
1111 //color: focusTextColor;
1113 description { state: "highlight" 0.0;
1114 inherit: "default" 0.0;
1115 //color: highlightTextColor;
1119 part { name: "elm.thumbButton";
1121 description { state: "default" 0.0;
1122 rel1.to: "elm.thumbnail";
1123 rel2.to: "elm.thumbnail";
1127 part { name: "over";
1131 description { state: "default" 0.0;
1134 rel2.to: "background";
1140 program { name: "mouse_in";
1143 action: STATE_SET "selected" 0.0;
1144 target: "background";
1145 target: "focus_highlight";
1148 program { name: "mouse_out";
1149 signal: "mouse,out";
1151 action: STATE_SET "default" 0.0;
1152 target: "background";
1153 target: "focus_highlight";
1159 group { name: "top_button_item";
1162 data.item: "texts" "mostvisited_text bookmark_text";
1163 data.item: "contents" "mostvisited_click bookmark_click";
1171 state: "default" 0.0;
1172 color: 255 255 255 255;
1176 rel1 { relative: 0.0 0.0;}
1177 rel2 { relative: 1.0 1.0;}
1181 name: "mostvisited_button";
1186 state: "default" 0.0;
1189 color: 192 192 192 255;
1193 rel1 { relative: 0.0 0.0; to: "bg_clipper"; offset: 611 58;}
1194 rel2 { relative: 1.0 1.0; to: "bg_clipper"; }
1197 state: "highlight" 0.0;
1198 inherit: "default" 0.0;
1199 color_class: focusBgColor;
1204 inherit: "default" 0.0;
1205 color_class: focusbtBgColor;
1210 name: "mostvisited_text";
1213 description { state: "default" 0.0;
1216 rel1 { relative: 0.0 0.0;to: "mostvisited_button";}
1217 rel2 { relative: 1.0 1.0;to: "mostvisited_button";}
1220 text: "Most visited";
1228 name: "mostvisited_over";
1233 state: "default" 0.0;
1237 rel1 { relative: 0.0 0.0; to: "mostvisited_button";}
1238 rel2 { relative: 1.0 1.0; to: "mostvisited_button";}
1239 color_class: transparent;
1243 name: "mostvisited_click";
1248 state: "default" 0.0;
1252 rel1 { relative: 0.0 0.0; to: "mostvisited_button";}
1253 rel2 { relative: 1.0 1.0; to: "mostvisited_button";}
1257 name: "bookmark_button";
1262 state: "default" 0.0;
1265 color: 192 192 192 255;
1269 rel1 { relative: 0.0 0.0; to: "bg_clipper"; offset: 961 58;}
1270 rel2 { relative: 1.0 1.0; to: "bg_clipper"; }
1273 state: "highlight" 0.0;
1274 inherit: "default" 0.0;
1275 color_class: focusBgColor;
1280 inherit: "default" 0.0;
1281 color_class: focusbtBgColor;
1286 name: "bookmark_text";
1289 description { state: "default" 0.0;
1292 rel1 { relative: 0.0 0.0;to: "bookmark_button";}
1293 rel2 { relative: 1.0 1.0;to: "bookmark_button";}
1304 name: "bookmark_over";
1309 state: "default" 0.0;
1313 rel1 { relative: 0.0 0.0; to: "bookmark_button";}
1314 rel2 { relative: 1.0 1.0; to: "bookmark_button";}
1315 color_class: transparent;
1319 name: "bookmark_click";
1324 state: "default" 0.0;
1328 rel1 { relative: 0.0 0.0; to: "bookmark_button";}
1329 rel2 { relative: 1.0 1.0; to: "bookmark_button";}
1330 color_class: transparent;
1336 name: "mouse_click_mostvisited";
1337 signal: "mouse,clicked,1";
1338 source: "mostvisited_over";
1340 emit("elm,action,click", "");
1344 name: "mouse_in_mostvisited_click";
1346 source: "mostvisited_*";
1347 action: STATE_SET "highlight" 0.0;
1348 target: "mostvisited_button";
1349 target: "mostvisited_over";
1350 target: "mostvisited_text";
1353 name: "mouse_out_mostvisited_click";
1354 signal: "mouse,out";
1355 source: "mostvisited_*";
1356 action: STATE_SET "default" 0.0;
1357 target: "mostvisited_button";
1358 target: "mostvisited_over";
1359 target: "mostvisited_text";
1362 name: "mouse_click_bookmark";
1363 signal: "mouse,clicked,1";
1364 source: "bookmark_over";
1366 emit("elm,action,click", "");
1370 name: "mouse_in_bookmark_click";
1372 source: "bookmark_*";
1373 action: STATE_SET "highlight" 0.0;
1374 target: "bookmark_button";
1375 target: "bookmark_over";
1376 target: "bookmark_text";
1379 name: "mouse_out_bookmark_click";
1380 signal: "mouse,out";
1381 source: "bookmark_*";
1382 action: STATE_SET "default" 0.0;
1383 target: "bookmark_button";
1384 target: "bookmark_over";
1385 target: "mostvisited_text";
1392 name: "url_history_list_layout";
1397 name: "url_history_list_swallow";
1400 state: "default" 0.0;
1401 min: URI_INPUTBOX_LENGTH URL_HISTORY_LIST_MAX_H;
1418 group { name: "bottom_button_item";
1421 data.item: "texts" "bookmarkmanager_text";
1422 data.item: "contents" "bookmarkmanager_click";
1430 state: "default" 0.0;
1431 color: 255 255 255 255;
1435 rel1 { relative: 0.0 0.0;}
1436 rel2 { relative: 1.0 1.0;}
1440 name: "bookmarkmanager_button";
1445 state: "default" 0.0;
1451 color: 192 192 192 255;
1452 rel1 { relative: 0.0 0.0; to: "bg_clipper"; offset: 786 58;}
1453 rel2 { relative: 1.0 1.0; to: "bg_clipper"; }
1456 state: "highlight" 0.0;
1457 inherit: "default" 0.0;
1458 color_class: focusBgColor;
1463 inherit: "default" 0.0;
1464 color_class: focusbtBgColor;
1469 name: "bookmarkmanager_text";
1472 description { state: "default" 0.0;
1475 rel1 { relative: 0.0 0.0;to: "bookmarkmanager_button";}
1476 rel2 { relative: 1.0 1.0;to: "bookmarkmanager_button";}
1479 text: "Bookmark Manager";
1487 name: "bookmarkmanager_over";
1492 state: "default" 0.0;
1498 rel1 { relative: 0.0 0.0; to: "bookmarkmanager_button";}
1499 rel2 { relative: 1.0 1.0; to: "bookmarkmanager_button";}
1500 color_class: transparent;
1504 name: "bookmarkmanager_click";
1509 state: "default" 0.0;
1515 rel1 { relative: 0.0 0.0; to: "bookmarkmanager_over";}
1516 rel2 { relative: 1.0 1.0; to: "bookmarkmanager_over";}
1522 name: "mouse_click_bookmarkmanager";
1523 signal: "mouse,clicked,1";
1524 source: "bookmarkmanager_over";
1526 emit("elm,action,click", "");
1530 name: "mouse_in_bookmarkmanager_click";
1532 source: "bookmarkmanager_*";
1533 action: STATE_SET "highlight" 0.0;
1534 target: "bookmarkmanager_button";
1535 target: "bookmarkmanager_over";
1536 target: "bookmarkmanager_text";
1539 name: "mouse_out_bookmarkmanager_click";
1540 signal: "mouse,out";
1541 source: "bookmarkmanager_*";
1542 action: STATE_SET "default" 0.0;
1543 target: "bookmarkmanager_button";
1544 target: "bookmarkmanager_over";
1545 target: "bookmarkmanager_text";