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
24 name: "elm/button/base/invisible_button";
30 description { state: "default" 0.0;
40 description { state: "default" 0.0;
43 rel1 { relative: 0.0 0.0;to: "button";}
44 rel2 { relative: 1.0 1.0;to: "button";}
52 signal: "mouse,clicked,1";
55 emit("elm,action,click", "");
61 group { name: "elm/button/base/thumbButton";
63 image: "ico_delete.png" COMP;
66 part { name: "elm.swallow.content";
70 description { state: "default" 0.0;
73 rel1.relative: 0.0 0.0;
74 rel2.relative: 1.0 1.0;
81 program { name: "mouse,clicked";
82 signal: "mouse,down,1";
83 source: "elm.swallow.content";
84 action: SIGNAL_EMIT "elm,action,click" "";
89 group { name: "mv_bookmarks";
91 item: "focus_highlight" "off";
94 image: "web_shadow.png" COMP;
98 name: "defaultBgColor";
102 name: "focusBgColor";
103 color: 69 143 255 255;
106 name: "highlightBgColor";
107 color: 69 143 255 102;
110 name: "imageHighlight";
111 color: 255 255 255 102;
114 name: "focusbtBgColor";
115 color: 22 120 224 255;
118 name: "titleTextColor";
122 name: "focusTextColor";
123 color: 255 255 255 255;
126 name: "highlightTextColor";
127 color: 255 255 255 51;
130 name: "urlTextColor";
131 color: 116 116 116 204;
140 part { name: "genlistTop_bg";
143 description { state: "default" 0.0;
144 color: 255 255 255 255;
150 relative: 0 0; offset: 0 104;
157 part { name: "gengrid_bg";
160 description { state: "default" 0.0;
161 color: 255 255 255 255;
167 relative: 0 1; to: "genlistTop_bg";
174 part { name: "genlistBottom_bg";
177 description { state: "default" 0.0;
178 color: 255 255 255 255;
184 relative: 0 1; to: "gengrid_bg";
192 part { name: "elm.swallow.grid";
194 description { state: "default" 0.0;
200 relative: 0 0; to: "gengrid_bg"; offset: 63 0;
208 part { name: "elm.swallow.mvBig";
210 description { state: "default" 0.0;
216 relative: 0 0; to: "gengrid_bg"; offset: 63 0;
224 part { name: "elm.swallow.mvMedium";
226 description { state: "default" 0.0;
232 relative: 0 0; to: "gengrid_bg"; offset: 889 0;
240 part { name: "elm.swallow.mvSmall";
242 description { state: "default" 0.0;
248 relative: 0 0; to: "gengrid_bg"; offset: 1515 0;
257 part { name: "elm.swallow.genlistTop";
259 description { state: "default" 0.0;
265 relative: 0 0; to: "genlistTop_bg";
273 part { name: "uri_bar_shadow";
278 state: "default" 0.0;
284 image.normal: "web_shadow.png";
285 rel1 { relative: 0.0 0.0; to: "elm.swallow.genlistTop"; }
286 rel2 { relative: 1.0 1.0; }
289 part { name: "elm.swallow.genlistBottom";
291 description { state: "default" 0.0;
297 relative: 0 0; to: "genlistBottom_bg";
305 part { name: "elm.swallow.empty";
307 description { state: "default" 0.0;
320 group { name: "elm/genlist/item/big_grid_item/default";
321 data.item: "texts" "page_title page_url";
322 data.item: "contents" "elm.thumbnail elm.thumbButton";
326 image: "web_frame_selected.png" COMP;
327 image: "ico_bg_round_shape_37x37.png" COMP;
333 description { state: "default" 0.0;
337 color: 231 231 231 255;
340 description { state: "selected";
341 inherit: "default" 0.0;
342 color: 70 143 254 255;
346 part { name: "elm.thumbnail";
348 description { state: "default" 0.0;
351 color : 231 231 231 255;
355 relative: 0.0 0.0; to: "bg";
358 relative: 1.0 1.0; to: "bg";
361 description { state: "selected";
362 inherit: "default" 0.0;
366 part { name: "focus_highlight";
368 description { state: "default" 0.0;
377 image.normal: "web_frame_selected.png";
378 image.border: 8 8 8 0;
379 image.border_scale: 1;
383 description { state: "selected";
384 inherit: "default" 0.0;
389 part { name: "background";
391 description { state: "default" 0.0;
395 color: 231 231 231 255;
404 description { state: "selected" 0.0;
405 inherit: "default" 0.0;
406 color: 70 143 254 255;
410 part { name: "page_title";
412 description { state: "default" 0.0;
427 text: "Web page title";
433 description { state: "focus" 0.0;
434 inherit: "default" 0.0;
435 //color: focusTextColor;
437 description { state: "highlight" 0.0;
438 inherit: "default" 0.0;
439 //color: highlightTextColor;
443 part { name: "page_url";
445 description { state: "default" 0.0;
457 color: 153 153 153 255;
459 text: "Web page url";
465 description { state: "focus" 0.0;
466 inherit: "default" 0.0;
467 //color: focusTextColor;
469 description { state: "highlight" 0.0;
470 inherit: "default" 0.0;
471 //color: highlightTextColor;
475 part { name: "elm.thumbButton";
477 description { state: "default" 0.0;
478 rel1.to: "elm.thumbnail";
479 rel2.to: "elm.thumbnail";
483 part { name: "over2";
487 description { state: "default" 0.0;
490 rel2.to: "background";
493 part { name: "over3";
497 description { state: "default" 0.0;
499 rel1.to: "background";
500 rel2.to: "background";
506 program { name: "mouse_in";
509 action: STATE_SET "selected" 0.0;
510 target: "background";
511 target: "focus_highlight";
514 program { name: "mouse_out";
517 action: STATE_SET "default" 0.0;
518 target: "background";
519 target: "focus_highlight";
525 group { name: "elm/genlist/item/medium_grid_item/default";
526 data.item: "texts" "page_title page_url";
527 data.item: "contents" "elm.thumbnail elm.thumbButton";
529 image: "web_frame_selected.png" COMP;
530 image: "ico_bg_round_shape_37x37.png" COMP;
536 description { state: "default" 0.0;
540 color: 231 231 231 255;
543 description { state: "selected";
544 inherit: "default" 0.0;
545 color: 70 143 254 255;
549 part { name: "elm.thumbnail";
551 description { state: "default" 0.0;
554 color : 231 231 231 255;
558 relative: 0.0 0.0; to: "bg";
561 relative: 1.0 1.0; to: "bg";
564 description { state: "selected";
565 inherit: "default" 0.0;
569 part { name: "focus_highlight";
571 description { state: "default" 0.0;
580 image.normal: "web_frame_selected.png";
581 image.border: 8 8 8 0;
582 image.border_scale: 1;
586 description { state: "selected";
587 inherit: "default" 0.0;
592 part { name: "background";
594 description { state: "default" 0.0;
598 color: 231 231 231 255;
607 description { state: "selected" 0.0;
608 inherit: "default" 0.0;
609 color: 70 143 254 255;
613 part { name: "page_title";
615 description { state: "default" 0.0;
630 text: "Web page title";
636 description { state: "focus" 0.0;
637 inherit: "default" 0.0;
638 //color: focusTextColor;
640 description { state: "highlight" 0.0;
641 inherit: "default" 0.0;
642 //color: highlightTextColor;
646 part { name: "page_url";
648 description { state: "default" 0.0;
660 color: 153 153 153 255;
662 text: "Web page url";
668 description { state: "focus" 0.0;
669 inherit: "default" 0.0;
670 //color: focusTextColor;
672 description { state: "highlight" 0.0;
673 inherit: "default" 0.0;
674 //color: highlightTextColor;
678 part { name: "elm.thumbButton";
680 description { state: "default" 0.0;
681 rel1.to: "elm.thumbnail";
682 rel2.to: "elm.thumbnail";
686 part { name: "over2";
690 description { state: "default" 0.0;
693 rel2.to: "background";
696 part { name: "over3";
700 description { state: "default" 0.0;
702 rel1.to: "background";
703 rel2.to: "background";
709 program { name: "mouse_in";
712 action: STATE_SET "selected" 0.0;
713 target: "background";
714 target: "focus_highlight";
717 program { name: "mouse_out";
720 action: STATE_SET "default" 0.0;
721 target: "background";
722 target: "focus_highlight";
728 group { name: "elm/genlist/item/small_grid_item/default";
729 data.item: "texts" "page_title page_url";
730 data.item: "contents" "elm.thumbnail elm.thumbButton";
732 image: "web_frame_selected.png" COMP;
733 image: "ico_bg_round_shape_37x37.png" COMP;
739 description { state: "default" 0.0;
743 color: 231 231 231 255;
746 description { state: "selected";
747 inherit: "default" 0.0;
748 color: 70 143 254 255;
752 part { name: "elm.thumbnail";
754 description { state: "default" 0.0;
757 color : 231 231 231 255;
761 relative: 0.0 0.0; to: "bg";
764 relative: 1.0 1.0; to: "bg";
767 description { state: "selected";
768 inherit: "default" 0.0;
772 part { name: "focus_highlight";
774 description { state: "default" 0.0;
783 image.normal: "web_frame_selected.png";
784 image.border: 8 8 8 0;
785 image.border_scale: 1;
789 description { state: "selected";
790 inherit: "default" 0.0;
795 part { name: "background";
797 description { state: "default" 0.0;
801 color: 231 231 231 255;
810 description { state: "selected" 0.0;
811 inherit: "default" 0.0;
812 color: 70 143 254 255;
816 part { name: "page_title";
818 description { state: "default" 0.0;
833 text: "Web page title";
839 description { state: "focus" 0.0;
840 inherit: "default" 0.0;
841 //color: focusTextColor;
843 description { state: "highlight" 0.0;
844 inherit: "default" 0.0;
845 //color: highlightTextColor;
849 part { name: "page_url";
851 description { state: "default" 0.0;
863 color: 153 153 153 255;
865 text: "Web page url";
871 description { state: "focus" 0.0;
872 inherit: "default" 0.0;
873 //color: focusTextColor;
875 description { state: "highlight" 0.0;
876 inherit: "default" 0.0;
877 //color: highlightTextColor;
881 part { name: "elm.thumbButton";
883 description { state: "default" 0.0;
884 rel1.to: "elm.thumbnail";
885 rel2.to: "elm.thumbnail";
889 part { name: "over2";
893 description { state: "default" 0.0;
896 rel2.to: "background";
899 part { name: "over3";
903 description { state: "default" 0.0;
905 rel1.to: "background";
906 rel2.to: "background";
912 program { name: "mouse_in";
915 action: STATE_SET "selected" 0.0;
916 target: "background";
917 target: "focus_highlight";
920 program { name: "mouse_out";
923 action: STATE_SET "default" 0.0;
924 target: "background";
925 target: "focus_highlight";
931 group { name: "elm/gengrid/item/grid_item/default";
932 data.item: "texts" "page_title page_url";
933 data.item: "contents" "elm.thumbnail elm.thumbButton";
935 image: "web_frame_selected.png" COMP;
936 image: "ico_bg_round_shape_37x37.png" COMP;
942 description { state: "default" 0.0;
946 color: 231 231 231 255;
947 rel1.offset: -26 -26;
949 description { state: "selected";
950 inherit: "default" 0.0;
951 color: 70 143 254 255;
955 part { name: "elm.thumbnail";
957 description { state: "default" 0.0;
960 color : 231 231 231 255;
964 relative: 0.0 0.0; to: "bg";
967 relative: 1.0 1.0; to: "bg";
970 description { state: "selected";
971 inherit: "default" 0.0;
975 part { name: "focus_highlight";
977 description { state: "default" 0.0;
986 image.normal: "web_frame_selected.png";
987 image.border: 8 8 8 0;
988 image.border_scale: 1;
992 description { state: "selected";
993 inherit: "default" 0.0;
998 part { name: "background";
1000 description { state: "default" 0.0;
1004 color: 231 231 231 255;
1006 to: "elm.thumbnail";
1013 description { state: "selected" 0.0;
1014 inherit: "default" 0.0;
1015 color: 70 143 254 255;
1019 part { name: "page_title";
1021 description { state: "default" 0.0;
1034 color: 51 51 51 255;
1036 text: "Web page title";
1042 description { state: "focus" 0.0;
1043 inherit: "default" 0.0;
1044 //color: focusTextColor;
1046 description { state: "highlight" 0.0;
1047 inherit: "default" 0.0;
1048 //color: highlightTextColor;
1052 part { name: "page_url";
1054 description { state: "default" 0.0;
1066 color: 153 153 153 255;
1068 text: "Web page url";
1074 description { state: "focus" 0.0;
1075 inherit: "default" 0.0;
1076 //color: focusTextColor;
1078 description { state: "highlight" 0.0;
1079 inherit: "default" 0.0;
1080 //color: highlightTextColor;
1084 part { name: "elm.thumbButton";
1086 description { state: "default" 0.0;
1087 rel1.to: "elm.thumbnail";
1088 rel2.to: "elm.thumbnail";
1092 part { name: "over2";
1096 description { state: "default" 0.0;
1099 rel2.to: "background";
1102 part { name: "over3";
1106 description { state: "default" 0.0;
1108 rel1.to: "background";
1109 rel2.to: "background";
1115 program { name: "mouse_in";
1118 action: STATE_SET "selected" 0.0;
1119 target: "background";
1120 target: "focus_highlight";
1123 program { name: "mouse_out";
1124 signal: "mouse,out";
1126 action: STATE_SET "default" 0.0;
1127 target: "background";
1128 target: "focus_highlight";
1134 group { name: "elm/genlist/item/top_button_item/default";
1137 data.item: "texts" "mostvisited_text bookmark_text";
1138 data.item: "contents" "mostvisited_click bookmark_click";
1146 state: "default" 0.0;
1147 color: 255 255 255 255;
1151 rel1 { relative: 0.0 0.0;}
1152 rel2 { relative: 1.0 1.0;}
1156 name: "mostvisited_button";
1161 state: "default" 0.0;
1164 color: 192 192 192 255;
1168 rel1 { relative: 0.0 0.0; to: "bg_clipper"; offset: 611 58;}
1169 rel2 { relative: 1.0 1.0; to: "bg_clipper"; }
1172 state: "highlight" 0.0;
1173 inherit: "default" 0.0;
1174 color_class: focusBgColor;
1179 inherit: "default" 0.0;
1180 color_class: focusbtBgColor;
1185 name: "mostvisited_text";
1188 description { state: "default" 0.0;
1191 rel1 { relative: 0.0 0.0;to: "mostvisited_button";}
1192 rel2 { relative: 1.0 1.0;to: "mostvisited_button";}
1195 text: "Most visited";
1203 name: "mostvisited_over";
1208 state: "default" 0.0;
1214 rel1 { relative: 0.0 0.0; to: "mostvisited_button";}
1215 rel2 { relative: 1.0 1.0; to: "mostvisited_button";}
1216 color_class: transparent;
1220 name: "mostvisited_click";
1225 state: "default" 0.0;
1231 rel1 { relative: 0.0 0.0; to: "mostvisited_over";}
1232 rel2 { relative: 1.0 1.0; to: "mostvisited_over";}
1236 name: "bookmark_button";
1241 state: "default" 0.0;
1244 color: 192 192 192 255;
1248 rel1 { relative: 0.0 0.0; to: "bg_clipper"; offset: 961 58;}
1249 rel2 { relative: 1.0 1.0; to: "bg_clipper"; }
1252 state: "highlight" 0.0;
1253 inherit: "default" 0.0;
1254 color_class: focusBgColor;
1259 inherit: "default" 0.0;
1260 color_class: focusbtBgColor;
1265 name: "bookmark_text";
1268 description { state: "default" 0.0;
1271 rel1 { relative: 0.0 0.0;to: "bookmark_button";}
1272 rel2 { relative: 1.0 1.0;to: "bookmark_button";}
1283 name: "bookmark_over";
1288 state: "default" 0.0;
1294 rel1 { relative: 0.0 0.0; to: "bookmark_button";}
1295 rel2 { relative: 1.0 1.0; to: "bookmark_button";}
1296 color_class: transparent;
1300 name: "bookmark_click";
1305 state: "default" 0.0;
1311 rel1 { relative: 0.0 0.0; to: "bookmark_over";}
1312 rel2 { relative: 1.0 1.0; to: "bookmark_over";}
1313 color_class: transparent;
1319 name: "mouse_click_mostvisited";
1320 signal: "mouse,clicked,1";
1321 source: "mostvisited_over";
1323 emit("elm,action,click", "");
1327 name: "mouse_in_mostvisited_click";
1329 source: "mostvisited_*";
1330 action: STATE_SET "highlight" 0.0;
1331 target: "mostvisited_button";
1332 target: "mostvisited_over";
1333 target: "mostvisited_text";
1336 name: "mouse_out_mostvisited_click";
1337 signal: "mouse,out";
1338 source: "mostvisited_*";
1339 action: STATE_SET "default" 0.0;
1340 target: "mostvisited_button";
1341 target: "mostvisited_over";
1342 target: "mostvisited_text";
1345 name: "mouse_click_bookmark";
1346 signal: "mouse,clicked,1";
1347 source: "bookmark_over";
1349 emit("elm,action,click", "");
1353 name: "mouse_in_bookmark_click";
1355 source: "bookmark_*";
1356 action: STATE_SET "highlight" 0.0;
1357 target: "bookmark_button";
1358 target: "bookmark_over";
1359 target: "bookmark_text";
1362 name: "mouse_out_bookmark_click";
1363 signal: "mouse,out";
1364 source: "bookmark_*";
1365 action: STATE_SET "default" 0.0;
1366 target: "bookmark_button";
1367 target: "bookmark_over";
1368 target: "mostvisited_text";
1374 group { name: "elm/genlist/item/bottom_button_item/default";
1377 data.item: "texts" "bookmarkmanager_text";
1378 data.item: "contents" "bookmarkmanager_click";
1386 state: "default" 0.0;
1387 color: 255 255 255 255;
1391 rel1 { relative: 0.0 0.0;}
1392 rel2 { relative: 1.0 1.0;}
1396 name: "bookmarkmanager_button";
1401 state: "default" 0.0;
1407 color: 192 192 192 255;
1408 rel1 { relative: 0.0 0.0; to: "bg_clipper"; offset: 786 58;}
1409 rel2 { relative: 1.0 1.0; to: "bg_clipper"; }
1412 state: "highlight" 0.0;
1413 inherit: "default" 0.0;
1414 color_class: focusBgColor;
1419 inherit: "default" 0.0;
1420 color_class: focusbtBgColor;
1425 name: "bookmarkmanager_text";
1428 description { state: "default" 0.0;
1431 rel1 { relative: 0.0 0.0;to: "bookmarkmanager_button";}
1432 rel2 { relative: 1.0 1.0;to: "bookmarkmanager_button";}
1435 text: "Bookmark Manager";
1443 name: "bookmarkmanager_over";
1448 state: "default" 0.0;
1454 rel1 { relative: 0.0 0.0; to: "bookmarkmanager_button";}
1455 rel2 { relative: 1.0 1.0; to: "bookmarkmanager_button";}
1456 color_class: transparent;
1460 name: "bookmarkmanager_click";
1465 state: "default" 0.0;
1471 rel1 { relative: 0.0 0.0; to: "bookmarkmanager_over";}
1472 rel2 { relative: 1.0 1.0; to: "bookmarkmanager_over";}
1478 name: "mouse_click_bookmarkmanager";
1479 signal: "mouse,clicked,1";
1480 source: "bookmarkmanager_over";
1482 emit("elm,action,click", "");
1486 name: "mouse_in_bookmarkmanager_click";
1488 source: "bookmarkmanager_*";
1489 action: STATE_SET "highlight" 0.0;
1490 target: "bookmarkmanager_button";
1491 target: "bookmarkmanager_over";
1492 target: "bookmarkmanager_text";
1495 name: "mouse_out_bookmarkmanager_click";
1496 signal: "mouse,out";
1497 source: "bookmarkmanager_*";
1498 action: STATE_SET "default" 0.0;
1499 target: "bookmarkmanager_button";
1500 target: "bookmarkmanager_over";
1501 target: "bookmarkmanager_text";