2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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.
18 #include "browser-macro.edc"
21 ////////////////////////////////////////////////////////////////////////////////////////
23 ////////////////////////////////////////////////////////////////////////////////////////
24 #define EDITFIELD_TITLE_SIZE_INC 32
25 //#define EDITFIELD_DEFAULT_MINH_INC 112
26 // Customize - edit field height
27 #define EDITFIELD_DEFAULT_MINH_INC 64
28 //#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 20
29 // Customize - entry top margin
30 // Strangely - (Edit field entry is aligned to top a little, so make the top margin more then bottom)
31 #define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 5
32 #define EDITFIELD_DEFAULT_TOP1_MULTI_INC 45
33 #define EDITFIELD_DEFAULT_TOP2_INC 6
34 #define EDITFIELD_DEFAULT_LEFT1_INC 0
35 #define EDITFIELD_DEFAULT_LEFT2_INC 0
36 #define EDITFIELD_DEFAULT_LEFT3_INC 1
38 #define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0 // browser customize
40 // width of erase icon width and string witdh of "xxx/xxx"
41 #define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC_FOR_FIND_WORD (EDITFIELD_DEFAULT_ERASER_MINW_INC + 115 + 10)
42 // 115 is width of findword entry defined in browser-view-find-word.edc + 10 is minimam margin of index text width
44 #define EDITFIELD_DEFAULT_RIGHT2_INC 10 // browser customize
45 //#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 20
46 // Customize - entry bottom margin
47 #define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 0
48 #define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 5
49 #define EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC 38
50 #define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 6
51 #define EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC 85
52 #define EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC 60
53 #define EDITFIELD_TITLE_COLOR_INC 168 168 168 255
54 #define EDITFIELD_GUIDE_TEXT_COLOR_INC 70 70 70 255
55 #define ENTRY_TEXT_SIZE_INC 44
56 // Customize - text color
57 //#define ENTRY_TEXT_COLOR_INC "#FFFFFF"
58 #define ENTRY_TEXT_COLOR_WHITE_INC "#FFFFFF"
59 #define ENTRY_TEXT_COLOR_BLACK_INC "#3C3632"
61 #define EDITFIELD_DEFAULT_ERASER_MINW_INC 38
62 #define EDITFIELD_DEFAULT_ERASER_MINH_INC 38
64 group { name: "elm/layout/browser-editfield/default";
66 image: "browser-view-images/url-layout/I01_field_btn_Clear.png" COMP;
69 style { name: "ellipsis_textblock_style_white";
70 base: "font=SLP:style=Roman font_size=35 color="ENTRY_TEXT_COLOR_BLACK_INC" wrap=none left_margin=1 right_margin=3 ellipsis=1";
74 tag: "em" "+ font=SLP:style=Oblique";
75 tag: "b" "+ font=SLP:style=Bold";
76 tag: "link" "+ color=#800 underline=on underline_color=#8008";
77 tag: "hilight" "+ font=SLP:style=Bold";
78 tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
79 tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
81 style { name: "ellipsis_textblock_style_black";
82 base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_BLACK_INC" wrap=none left_margin=1 right_margin=3 ellipsis=1";
86 tag: "em" "+ font=SLP:style=Oblique";
87 tag: "b" "+ font=SLP:style=Bold";
88 tag: "link" "+ color=#800 underline=on underline_color=#8008";
89 tag: "hilight" "+ font=SLP:style=Bold";
90 tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC"";
91 tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC"";
99 ignore_flags: ON_HOLD;
101 state: "default" 0.0;
102 min: 0 EDITFIELD_DEFAULT_MINH_INC;
110 ignore_flags: ON_HOLD;
112 state: "default" 0.0;
114 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
116 rel1.relative: 0.0 0.0;
117 rel2.relative: 1.0 0.0;
125 ignore_flags: ON_HOLD;
127 state: "default" 0.0;
129 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
131 rel1.relative: 0.0 0.0;
132 rel2.relative: 1.0 0.0;
140 ignore_flags: ON_HOLD;
142 state: "default" 0.0;
144 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
147 rel1.relative : 0.0 0.0;
148 rel2.relative : 0.0 1.0;
155 ignore_flags: ON_HOLD;
157 state: "default" 0.0;
159 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
162 rel1.relative : 0.0 0.0;
163 rel2.relative : 0.0 1.0;
170 ignore_flags: ON_HOLD;
172 state: "default" 0.0;
174 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
177 rel1.relative : 1.0 0.0;
178 rel2.relative : 1.0 1.0;
181 state: "find_word" 0.0;
182 inherit: "default" 0.0;
183 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC_FOR_FIND_WORD 0;
190 ignore_flags: ON_HOLD;
192 state: "default" 0.0;
194 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
197 rel1.relative : 1.0 0.0;
198 rel2.relative : 1.0 1.0;
205 ignore_flags: ON_HOLD;
207 state: "default" 0.0;
209 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
212 rel1.relative: 0.0 1.0;
219 ignore_flags: ON_HOLD;
221 state: "default" 0.0;
223 min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
225 rel1.relative: 0.0 1.0;
233 ignore_flags: ON_HOLD;
235 state: "default" 0.0;
237 min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
239 rel1.relative: 0.0 1.0;
244 name: "elm.guidetext";
247 ignore_flags: ON_HOLD;
249 state: "default" 0.0;
252 rel1.to: "elm.swallow.content";
253 rel2.to: "elm.swallow.content";
254 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
256 font: "SLP:style=Roman";
257 size: ENTRY_TEXT_SIZE_INC;
264 inherit: "default" 0.0;
269 part { name: "elm.text.ellipsis";
274 description { state: "default" 0.0;
278 rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
279 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
281 style: "ellipsis_textblock_style_white";
284 description { state: "ellipsis_show" 0.0;
285 inherit: "default" 0.0;
290 name: "elm.swallow.content";
293 ignore_flags: ON_HOLD;
295 state: "default" 0.0;
310 description { state: "ellipsis_show" 0.0;
311 inherit: "default" 0.0;
316 name: "eraser_image";
319 state: "default" 0.0;
321 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
322 max: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
328 to_y : "elm.swallow.content";
333 to_y : "elm.swallow.content";
336 normal: "browser-view-images/url-layout/I01_field_btn_Clear.png";
337 // border: 10 10 10 10;
342 state: "elm.eraser.show" 0.0;
343 inherit: "default" 0.0;
350 ignore_flags: ON_HOLD;
352 state: "default" 0.0;
357 to_x : "eraser_image";
362 state: "elm.eraser.show" 0.0;
363 inherit: "default" 0.0;
370 name: "ellipsis_show";
372 signal: "ellipsis_show,signal";
373 action: STATE_SET "ellipsis_show" 0.0;
374 target: "elm.text.ellipsis";
375 target: "elm.swallow.content";
378 name: "ellipsis_hide";
380 signal: "ellipsis_hide,signal";
381 action: STATE_SET "default" 0.0;
382 target: "elm.text.ellipsis";
383 target: "elm.swallow.content";
386 name: "find_word_editfield";
387 signal: "find_word,signal";
389 action: STATE_SET "find_word" 0.0;
393 name: "guidetext_show";
394 signal: "elm,state,guidetext,show";
396 action: STATE_SET "default" 0.0;
397 target: "elm.guidetext";
400 name: "guidetext_hide";
401 signal: "elm,state,guidetext,hide";
403 action: STATE_SET "hidden" 0.0;
404 target: "elm.guidetext";
408 signal: "elm,state,eraser,show";
410 action: STATE_SET "elm.eraser.show" 0.0;
411 target: "eraser_image";
416 signal: "elm,state,eraser,hide";
418 action: STATE_SET "default" 0.0;
419 target: "eraser_image";
423 name: "eraser_clicked";
424 signal: "mouse,clicked,1";
426 action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
431 ////////////////////////////////////////////////////////////////////////////////////////
433 ////////////////////////////////////////////////////////////////////////////////////////
435 name: "browser/url_layout";
437 // image: "browser-view-images/url-layout/naviframe_optionheader.png" COMP;
438 // image: "browser-view-images/url-layout/I01_Icons_http.png" COMP;
439 image: "browser-view-images/url-layout/I01_toolbar_bg.png" COMP;
442 part { name: "backgournd";
448 state: "default" 0.0;
453 rel1 { relative: 0.0 0.0; }
454 rel2 { relative: 1.0 1.0; }
456 normal: "browser-view-images/url-layout/I01_toolbar_bg.png";
468 state: "default" 0.0;
472 rel1 { relative: 0.0 0.0; }
473 rel2 { relative: 1.0 1.0; }
474 color: 255 255 255 255; // white
478 name: "navigationbar_bg";
483 state: "default" 0.0;
485 rel1 { relative: 0.0 0.0; to: bg; }
486 rel2 { relative: 1.0 1.0; to: bg; }
488 normal: "browser-view-images/url-layout/I01_toolbar_bg.png";
501 state: "default" 0.0;
507 rel1 { relative: 0.0 0.0; to: "title_text"; }
508 rel2 { relative: 0.0 1.0; to: "title_text"; }
510 normal: "browser-view-images/url-layout/I01_Icons_http.png";
514 state: "visible" 0.0;
515 inherit: "default" 0.0;
521 part { name: "padding,title_text,left";
526 state: "default" 0.0;
531 rel1 { relative: 0.0 0.0; to_y: "title_text"; }
532 rel2 { relative: 0.0 1.0; to_y: "title_text"; }
535 part { name: "padding,title_text,right";
540 state: "default" 0.0;
545 rel1 { relative: 1.0 0.0; to_y: "title_text"; }
546 rel2 { relative: 1.0 1.0; to_y: "title_text"; }
555 state: "default" 0.0;
561 text { font: FONT_ROM;
567 color: 255 255 255 255;
568 rel1 { relative: 1.0 0.0; to_x: "padding,title_text,left"; }
569 rel2 { relative: 0.0 1.0; to_x: "padding,title_text,right"; }
573 part { name: "padding,cancel,left";
578 state: "default" 0.0;
583 rel1 { relative: 0.0 0.0; to: "elm.swallow.cancel"; }
584 rel2 { relative: 0.0 1.0; to: "elm.swallow.cancel"; }
587 part { name: "padding,url,top";
592 state: "default" 0.0;
597 rel1 { relative: 0.0 0.0; to: "bg"; }
598 rel2 { relative: 1.0 0.0; to: "bg"; }
601 part { name: "padding,backward_button,left";
606 state: "default" 0.0;
611 rel1 { relative: 0.0 0.0; to: "bg"; }
612 rel2 { relative: 0.0 1.0; to: "bg"; }
616 name: "elm.swallow.backward_button";
621 state: "default" 0.0;
627 rel1 { relative: 1.0 0.0; to_x: "padding,backward_button,left"; to_y: "elm.swallow.url"; }
628 rel2 { relative: 1.0 0.0; to_x: "padding,backward_button,left"; to_y: "elm.swallow.url"; }
631 part { name: "padding,backward_button,right";
636 state: "default" 0.0;
641 rel1 { relative: 1.0 0.0; to: "elm.swallow.backward_button"; }
642 rel2 { relative: 1.0 1.0; to: "elm.swallow.backward_button"; }
646 name: "elm.swallow.forward_button";
651 state: "default" 0.0;
657 rel1 { relative: 1.0 0.0; to_x: "padding,backward_button,right"; to_y: "elm.swallow.url"; }
658 rel2 { relative: 1.0 0.0; to_x: "padding,backward_button,right"; to_y: "elm.swallow.url"; }
661 part { name: "padding,forward_button,right";
666 state: "default" 0.0;
671 rel1 { relative: 1.0 0.0; to: "elm.swallow.forward_button"; }
672 rel2 { relative: 1.0 1.0; to: "elm.swallow.forward_button"; }
676 name: "elm.swallow.url";
681 state: "default" 0.0;
686 rel1 { relative: 1.0 1.0; to_x: "padding,forward_button,right"; to_y: "padding,url,top"; }
687 rel2 { relative: 0.0 1.0; to_x: "padding,reader_icon,left"; to_y: "padding,url,top"; }
690 state: "edit_mode_state" 0.0;
691 inherit: "default" 0.0;
692 rel1 { relative: 1.0 1.0; to_x: "padding,backward_button,left"; to_y: "padding,url,top"; }
693 rel2 { relative: 0.0 1.0; to_x: "padding,cancel,left"; to_y: "padding,url,top"; }
696 part { name: "padding,reader_icon,left";
701 state: "default" 0.0;
706 rel1 { relative: 0.0 0.0; to_x: "elm.swallow.reader_icon"; to_y: "navigationbar_bg"; }
707 rel2 { relative: 0.0 1.0; to_x: "elm.swallow.reader_icon"; to_y: "navigationbar_bg"; }
711 name: "elm.swallow.reader_icon";
717 state: "default" 0.0;
723 rel1 { relative: 1.0 0.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.cancel"; }
724 rel2 { relative: 1.0 1.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.cancel"; }
727 state: "show_reader_icon" 0.0;
728 inherit: "default" 0.0;
730 rel1 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.cancel"; }
731 rel2 { relative: 0.0 1.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.cancel"; }
734 part { name: "padding,cancel,right";
739 state: "default" 0.0;
744 rel1 { relative: 1.0 0.0; to: "navigationbar_bg"; }
745 rel2 { relative: 1.0 1.0; to: "navigationbar_bg"; }
749 name: "elm.swallow.cancel";
755 state: "default" 0.0;
761 rel1 { relative: 1.0 0.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.url"; }
762 rel2 { relative: 1.0 0.0; to_x: "navigationbar_bg"; to_y: "elm.swallow.url"; }
765 state: "edit_mode_state" 0.0;
766 inherit: "default" 0.0;
768 rel1 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.url"; }
769 rel2 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "elm.swallow.url"; }
772 part { name: "dim_area";
778 state: "default" 0.0;
782 rel1 { relative: 0.0 0.0; }
783 rel2 { relative: 1.0 1.0; }
786 state: "visible" 0.0;
787 inherit: "default" 0.0;
794 /////////////////////////////
795 // show / hide scissor box
796 /////////////////////////////
797 program { name: "show,scissorbox";
798 signal: "show,scissorbox,signal";
799 action: STATE_SET "visible" 0.0;
802 program { name: "hide,scissorbox";
803 signal: "hide,scissorbox,signal";
804 action: STATE_SET "default" 0.0;
808 program { name: "show,secure_icon";
809 signal: "show,secure_icon,signal";
810 action: STATE_SET "visible" 0.0;
811 target: "secure_icon";
813 program { name: "hide,secure_icon";
814 signal: "hide,secure_icon,signal";
815 action: STATE_SET "default" 0.0;
816 target: "secure_icon";
819 program { name: "edit,url,on";
820 signal: "edit,url,on,signal";
821 action: STATE_SET "edit_mode_state" 0.0;
822 transition: DECELERATE 0.5;
823 target: "elm.swallow.url";
825 program { name: "cancel_button,show";
826 signal: "edit,url,on,signal";
827 action: STATE_SET "edit_mode_state" 0.0;
828 transition: DECELERATE 0.5;
829 target: "elm.swallow.cancel";
831 program { name: "show,reader_icon";
832 signal: "show,reader_icon,signal";
833 action: STATE_SET "show_reader_icon" 0.0;
834 transition: DECELERATE 0.5;
835 target: "elm.swallow.reader_icon";
837 program { name: "hide,reader_icon";
838 signal: "hide,reader_icon,signal";
839 action: STATE_SET "default" 0.0;
840 transition: DECELERATE 0.5;
841 target: "elm.swallow.reader_icon";
843 program { name: "hide,reader_icon_no_ani";
844 signal: "hide,reader_icon_no_ani,signal";
845 action: STATE_SET "default" 0.0;
846 target: "elm.swallow.reader_icon";
848 program { name: "edit,url,off";
849 signal: "edit,url,off,signal";
850 action: STATE_SET "default" 0.0;
851 transition: ACCELERATE 0.5;
852 target: "elm.swallow.url";
853 target: "elm.swallow.cancel";
859 name: "elm/browser/urlentry/default";
861 image: "browser-view-images/url-layout/I01_search_input_field_bg.png" COMP;
862 image: "browser-view-images/url-layout/00_search_input_field_bg_black.png" COMP;
863 image: "browser-view-images/url-layout/41_browser_search_icon_refresh.png" COMP;
864 image: "browser-view-images/url-layout/icon_stop.png" COMP;
865 image: "icon/00_close_icon.png" COMP;
866 image: "browser-view-images/url-layout/private-badge.png" COMP;
867 image: "browser-view-images/url-layout/I01_search_icon.png" COMP;
876 state: "default" 0.0;
879 rel1 { relative: 0.0 0.0; }
880 rel2 { relative: 1.0 1.0; }
890 state: "default" 0.0;
892 rel1 {relative: 0.0 0.0; offset: 0 0; }
893 rel2 {relative: 1.0 1.0; offset: 0 0; }
894 image.normal: "browser-view-images/url-layout/I01_search_input_field_bg.png";
895 image.border: 7 7 7 7;
899 inherit: "default" 0.0;
900 image.normal: "browser-view-images/url-layout/00_search_input_field_bg_black.png";
901 image.border: 5 5 5 5;
905 name: "elm.swallow.progressbar";
910 state: "default" 0.0;
914 state: "loading_on" 0.0;
916 rel1 {relative: 0.0 0.0; offset: 0 0; }
917 rel2 {relative: 1.0 1.0; offset: 0 0; }
920 PADDING("padding.favicon.left", 9, 0, 1, 0, 0.0, 0.5,
921 0.0, 0.0, 0.0, 1.0, bg, bg)
922 PADDING("padding.favicon.right", 9, 0, 1, 0, 0.0, 0.5,
923 1.0, 0.0, 1.0, 1.0, elm.swallow.favicon, elm.swallow.favicon)
924 part { name: "elm.swallow.favicon";
929 state: "default" 0.0;
935 rel1 { relative: 1.0 0.0; to_x: padding.favicon.left; to_y: bg; }
936 rel2 { relative: 1.0 1.0; to_x: padding.favicon.left; to_y: bg; }
939 state: "visible" 0.0;
940 inherit: "default" 0.0;
946 part { name: "elm.swallow.secure_icon";
951 state: "default" 0.0;
957 rel1 { relative: 0.5 0.5; to: elm.swallow.favicon; }
958 rel2 { relative: 1.0 1.0; to: elm.swallow.favicon; }
961 state: "visible" 0.0;
962 inherit: "default" 0.0;
968 part { name: "padding.search_icon.left";
973 state: "default" 0.0;
978 rel1 { relative: 0.0 0.0; to: "bg_image"; }
979 rel2 { relative: 0.0 1.0; to: "bg_image"; }
983 part { name: "elm.swallow.search_icon";
989 state: "default" 0.0;
995 rel1 { relative: 1.0 0.0; to_x: "padding.search_icon.left"; to_y: "bg_image"; }
996 rel2 { relative: 1.0 1.0; to_x: "padding.search_icon.left"; to_y: "bg_image"; }
997 image.normal: "browser-view-images/url-layout/I01_search_icon.png";
998 image.border: 5 5 5 5;
1001 state: "visible" 0.0;
1002 inherit: "default" 0.0;
1006 part { name: "padding.search_icon.right";
1011 state: "default" 0.0;
1016 rel1 { relative: 1.0 0.0; to: "elm.swallow.search_icon"; }
1017 rel2 { relative: 1.0 1.0; to: "elm.swallow.search_icon"; }
1022 name: "url_guide_text";
1027 state: "default" 0.0;
1030 text { font: FONT_ROM;
1034 color: 78 73 69 255;
1035 rel1 { relative: 1.0 0.0; to_x: "padding.search_icon.right"; to_y: "elm.swallow.entry"; }
1036 rel2 { relative: 1.0 1.0; to: "elm.swallow.entry"; }
1039 state: "visible" 0.0;
1040 inherit: "default" 0.0;
1044 /* rss part is used for private icon. */
1045 part { name: "elm.swallow.rss_icon";
1050 state: "default" 0.0;
1056 rel1 { relative: 1.0 0.0; to: "elm.swallow.favicon"; }
1057 rel2 { relative: 1.0 1.0; to: "elm.swallow.favicon"; }
1058 image.normal: "browser-view-images/url-layout/private-badge.png";
1061 state: "visible" 0.0;
1062 inherit: "default" 0.0;
1068 PADDING("padding.progress.left", 9, 0, 1, 0, 1.0, 0.5,
1069 0.0, 0.0, 0.0, 1.0, elm.swallow.progress, elm.swallow.progress)
1070 part { name: "elm.swallow.progress";
1075 state: "default" 0.0;
1079 state: "loading_on" 0.0;
1085 rel1 { relative: 0.0 0.0; to_x: elm.image.refresh_stop; to_y: bg; }
1086 rel2 { relative: 0.0 1.0; to_x: elm.image.refresh_stop; to_y: bg; }
1089 PADDING("padding.refreshstop.left", 9, 0, 1, 0, 1.0, 0.5,
1090 0.0, 0.0, 0.0, 1.0, elm.image.refresh_stop, elm.image.refresh_stop)
1091 PADDING("padding.refreshstop.right", 9, 0, 1, 0, 1.0, 0.5,
1092 1.0, 0.0, 1.0, 1.0, bg, bg)
1093 part { name: "elm.rect.refresh_stop";
1098 state: "default" 0.0;
1104 rel1 { relative: 0.0 0.0; to: "elm.image.refresh_stop"; }
1105 rel2 { relative: 1.0 1.0; to: "elm.image.refresh_stop"; }
1109 part { name: "elm.image.refresh_stop";
1114 state: "default" 0.0;
1120 rel1 { relative: 0.0 0.0; to_x: padding.refreshstop.right; to_y: bg; }
1121 rel2 { relative: 0.0 1.0; to_x: padding.refreshstop.right; to_y: bg; }
1122 image.normal: "browser-view-images/url-layout/41_browser_search_icon_refresh.png";
1125 state: "loading_on" 0.0;
1126 inherit: "default" 0.0;
1127 image.normal: "browser-view-images/url-layout/icon_stop.png";
1130 state: "edit_url" 0.0;
1131 inherit: "default" 0.0;
1132 image.normal: "icon/00_close_icon.png";
1135 part { name: "padding,rss_icon,right";
1140 state: "default" 0.0;
1145 rel1 { relative: 1.0 0.0; to: "elm.swallow.rss_icon"; }
1146 rel2 { relative: 1.0 1.0; to: "elm.swallow.rss_icon"; }
1149 part { name: "elm.swallow.entry";
1154 state: "default" 0.0;
1157 rel1 { relative: 1.0 0.0; to_x: "padding,rss_icon,right"; to_y: bg; }
1158 rel2 { relative: 0.0 1.0; to_x: padding.refreshstop.left; to_y: bg; }
1161 state: "loading_on" 0.0;
1163 rel1 { relative: 1.0 0.0; to_x: "padding,rss_icon,right"; to_y: bg; }
1164 rel2 { relative: 0.0 1.0; to_x: padding.progress.left; to_y: bg; }
1167 part { name: "block_entry";
1173 state: "default" 0.0;
1176 rel1 { relative: 0.0 0.0; to: "elm.swallow.entry"; }
1177 rel2 { relative: 1.0 1.0; to: "elm.swallow.entry"; }
1182 inherit: "default" 0.0;
1186 part { name: "padding,rss_icon,left_margin";
1191 state: "default" 0.0;
1196 rel1 { relative: 0.0 0.0; to: "elm.swallow.rss_icon"; }
1197 rel2 { relative: 0.0 1.0; to: "elm.swallow.rss_icon"; }
1200 part { name: "padding,rss_icon,right_margin";
1205 state: "default" 0.0;
1210 rel1 { relative: 1.0 0.0; to: "elm.swallow.rss_icon"; }
1211 rel2 { relative: 1.0 1.0; to: "elm.swallow.rss_icon"; }
1216 program { name: "url_guide_text,on";
1217 signal: "url_guide_text,on,signal";
1218 action: STATE_SET "visible" 0.0;
1219 target: "elm.swallow.search_icon";
1220 target: "url_guide_text";
1222 program { name: "url_guide_text,off";
1223 signal: "url_guide_text,off,signal";
1224 action: STATE_SET "default" 0.0;
1225 target: "elm.swallow.search_icon";
1226 target: "url_guide_text";
1228 program { name: "disable_entry";
1229 signal: "disable_entry,signal";
1230 action: STATE_SET "block" 0.0;
1231 target: "block_entry";
1233 program { name: "black_theme";
1234 signal: "black_theme,signal";
1235 action: STATE_SET "black" 0.0;
1238 program { name: "private_on";
1239 signal: "private,on,signal";
1240 action: STATE_SET "visible" 0.0;
1241 target: "elm.swallow.rss_icon";
1243 program { name: "private_off";
1244 signal: "private,off,signal";
1245 action: STATE_SET "default" 0.0;
1246 target: "elm.swallow.rss_icon";
1248 program { name: "loading_on";
1249 signal: "loading,on,signal";
1250 action: STATE_SET "loading_on" 0.0;
1251 target: "elm.swallow.progress";
1252 target: "elm.swallow.progressbar";
1253 target: "elm.image.refresh_stop";
1254 target: "elm.swallow.entry";
1256 program { name: "loading_off";
1257 signal: "loading,off,signal";
1258 action: STATE_SET "default" 0.0;
1259 target: "elm.swallow.progress";
1260 target: "elm.swallow.progressbar";
1261 target: "elm.image.refresh_stop";
1262 target: "elm.swallow.entry";
1264 program { name: "refresh_stop";
1265 source: "elm.rect.refresh_stop";
1266 signal: "mouse,clicked,1";
1267 action: SIGNAL_EMIT "refresh_stop" "EDJ";
1269 program { name: "hide_progress";
1270 action: STATE_SET "default" 0.0;
1271 target: "elm.swallow.progress";
1272 target: "elm.swallow.progressbar";
1273 target: "elm.swallow.entry";
1275 program { name: "edit,url,on";
1276 signal: "edit,url,on,signal";
1277 action: STATE_SET "edit_url" 0.0;
1278 target: "elm.image.refresh_stop";
1279 after: "hide_progress";
1281 program { name: "edit,url,off";
1282 signal: "edit,url,off,signal";
1286 get_state(PART:"elm.swallow.progress", st, 30, vl);
1287 if (!strcmp(st, "loading_on"))
1288 set_state(PART:"elm.image.refresh_stop", "loading_on", 0.0);
1290 set_state(PART:"elm.image.refresh_stop", "default", 0.0);
1293 program { name: "show,favicon";
1294 signal: "show,favicon,signal";
1295 action: STATE_SET "visible" 0.0;
1296 target: "elm.swallow.favicon";
1298 program { name: "hide,favicon";
1299 signal: "hide,favicon,signal";
1300 action: STATE_SET "default" 0.0;
1301 target: "elm.swallow.favicon";
1302 target: "elm.swallow.secure_icon";
1304 program { name: "show,secure_icon";
1305 signal: "show,secure_icon,signal";
1309 get_state(PART:"elm.swallow.favicon", st, 30, vl);
1310 if (!strcmp(st, "visible"))
1311 set_state(PART:"elm.swallow.secure_icon", "visible", 0.0);
1313 set_state(PART:"elm.swallow.secure_icon", "default", 0.0);
1316 program { name: "hide,secure_icon";
1317 signal: "hide,secure_icon,signal";
1318 action: STATE_SET "default" 0.0;
1319 target: "elm.swallow.secure_icon";
1325 name: "browser-view/option_header";
1327 part { name: "elm.swallow.url_layout";
1332 state: "default" 0.0;
1335 rel1 { relative: 0.0 0.0; }
1336 rel2 { relative: 1.0 1.0; }
1339 state: "invisible" 0.0;
1340 inherit: "default" 0.0;
1344 /* For change effect. */
1345 part { name: "rect.find_word_layout";
1349 state: "default" 0.0;
1350 color: 255 255 255 0;
1351 rel1 { relative: 0.0 0.0; to: "elm.swallow.find_word_layout"; }
1352 rel2 { relative: 1.0 1.0; to: "elm.swallow.find_word_layout"; }
1355 state: "visible" 0.0;
1356 color: 255 255 255 255;
1357 rel1 { relative: 0.0 0.0; to: "elm.swallow.find_word_layout"; }
1358 rel2 { relative: 1.0 1.0; to: "elm.swallow.find_word_layout"; }
1361 part { name: "elm.swallow.find_word_layout";
1366 /* For change effect. */
1367 clip_to: "rect.find_word_layout";
1369 state: "default" 0.0;
1372 rel1 { relative: 0.0 0.0; }
1373 rel2 { relative: 1.0 1.0; }
1376 state: "visible" 0.0;
1377 inherit: "default" 0.0;
1383 program { name: "show,find_word_layout,clipper";
1384 signal: "show,find_word_layout,signal";
1385 transition: ACCELERATE 0.3;
1386 action: STATE_SET "visible" 0.0;
1387 target: "rect.find_word_layout";
1388 target: "elm.swallow.find_word_layout";
1390 program { name: "hide,find_word_layout,clipper";
1391 signal: "hide,find_word_layout,signal";
1392 transition: ACCELERATE 0.3;
1393 action: STATE_SET "default" 0.0;
1394 target: "rect.find_word_layout";
1395 target: "elm.swallow.find_word_layout";