1 #define URI_LENGTH 1720
2 #define URI_LENGTH_SHORT 1460
5 #define DEBUG_RECT_OVER(over_part, r, g, b) \
6 part { name: __CONCAT("dbg_rect_at_", __stringify(__LINE__)); \
12 state: "default" 0.0; \
15 rel1 { to: over_part; relative: 0 0; } \
16 rel2 { to: over_part; relative: 1 1; } \
23 image: "web_shadow.png" COMP;
26 part { name: "uri_bar_bg";
29 description { state: "default" 0.0;
35 color: 255 255 255 255;
36 rel1 { relative: 0.0 0.0; }
37 rel2 { relative: 1.0 0.0; }
40 ADD_SPACER_OVER("left_spacer", "uri_bar_bg", 7, 104)
41 part { name: "uri_bar_buttons_left";
51 rel1 { relative: 1.0 1.0; to: "left_spacer"; }
52 rel2 { relative: 0.0 0.0; to: "left_spacer"; }
56 inherit: "default" 0.0;
61 inherit: "default" 0.0;
65 ADD_SPACER("left_buttons_spacer", "uri_bar_buttons_left", 0.5, 102)
66 part { name: "uri_entry";
73 min: URI_LENGTH URI_WIDTH;
74 max: URI_LENGTH URI_WIDTH;
76 rel1 { relative: 1.0 0.5; to: "left_spacer"; }
77 rel2 { relative: 1.0 0.5; to: "left_spacer"; }
80 state: "moveright" 0.0;
81 inherit: "default" 0.0;
83 min: URI_LENGTH_SHORT URI_WIDTH;
84 max: URI_LENGTH_SHORT URI_WIDTH;
85 rel1 { relative: 1.0 0.5; to: "left_buttons_spacer"; }
86 rel2 { relative: 1.0 0.5; to: "left_buttons_spacer"; }
90 inherit: "default" 0.0;
95 inherit: "default" 0.0;
99 ADD_SPACER("right_buttons_spacer", "uri_entry", 26, 102)
100 part { name: "uri_bar_buttons_right";
104 state: "default" 0.0;
110 rel1 { relative: 1.0 0.5; to: "right_buttons_spacer"; }
111 rel2 { relative: 1.0 0.5; to: "right_buttons_spacer"; }
115 inherit: "default" 0.0;
119 state: "visible" 0.0;
120 inherit: "default" 0.0;
124 ADD_SPACER("right_spacer", "uri_bar_buttons_right", 74, 102)
125 part { name: "web_view";
129 state: "default" 0.0;
133 rel1 { relative: 0.0 1.0; to: "uri_bar_bg"; }
134 rel2 { relative: 1.0 1.0; }
138 inherit: "default" 0.0;
142 state: "visible" 0.0;
143 inherit: "default" 0.0;
147 part { name: "shadow";
152 state: "default" 0.0;
158 image.normal: "web_shadow.png";
159 rel1 { relative: 0.0 0.0; to: "web_view"; }
160 rel2 { relative: 1.0 1.0; }
163 part { name: "progress_bar";
167 state: "default" 0.0;
178 rel2 { relative: 1.0 1.0; }
181 part { name: "progress_bar_light_bg";
184 description { state: "default" 0.0;
191 rel1.relative: 0.0 0.0;
192 rel2.relative: 1.0 0.0;
193 color: 69 143 255 55;
195 description {state: "visible" 0.0;
196 inherit: "default" 0.0;
200 part{ name: "web_title_bar";
203 description { state: "default" 0.0;
208 rel1 { to: "web_view"; relative: 0.0 1.0; }
209 rel2 { to: "web_view"; relative: 1.0 1.0; }
214 part {name: "popup_bg";
218 description {state: "default" 0.0;
222 color: 100 100 100 128;
223 rel1 {relative: 0.0 0.0; }
224 rel2 {relative: 1.0 1.0; }
226 description {state: "visible" 0.0;
227 inherit: "default" 0.0;
230 part { name: "popup";
233 description { state: "default" 0.0;
238 rel1 { relative: 0.0 0.0; to: "web_view";}
239 rel2 { relative: 1.0 1.0; to: "web_view";}
242 description { state: "visible" 0.0;
243 inherit: "default" 0.0;
251 program { name: "shiftright_uribar";
252 signal: "shiftright_uri";
254 action: STATE_SET "moveright" 0.0;
257 program { name: "shiftback_uribar";
258 signal: "shiftback_uri";
260 action: STATE_SET "default" 0.0;
263 program { name: "hide_progress";
264 signal: "hide_progressbar_bg";
266 action: STATE_SET "default" 0.0;
267 target: "progress_bar_light_bg";
269 program { name: "show_progress";
270 signal: "show_progressbar_bg";
272 action: STATE_SET "visible" 0.0;
273 target: "progress_bar_light_bg";
275 program {name: "show_popup";
276 signal: "elm,state,show"; source: "elm";
277 action: STATE_SET "visible" 0.0;
278 transition: LINEAR 0.0;
282 program {name: "hide_popup";
283 signal: "elm,state,hide"; source: "elm";
284 action: STATE_SET "default" 0.0;
285 transition: LINEAR 0.0;