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"
22 name: "browser/predictive-history";
33 rel1 { relative: 0.0 0.0; }
34 rel2 { relative: 1.0 1.0; }
38 part { name: "elm.swallow.predictive_history_genlist";
47 rel1 { relative: 0.0 0.0; }
48 rel2 { relative: 1.0 1.0; }
55 #define GENLIST_PART_TEXT_SELECTED_COLOR_INC 255 255 255 255
57 #define BEAT_GENLIST_PART_BASE( param_item_height ) \
58 part { name: "base"; \
62 description { state: "default" 0.0; \
63 min: 0 param_item_height; \
67 #define BEAT_GENLIST_PART_BG_IMAGE \
68 part { name: "bg_image"; \
72 description { state: "default" 0.0; \
74 color: GENLIST_PART_BG_SELECTED_COLOR_INC; \
76 description { state: "selected" 0.0; \
77 inherit: "default" 0.0; \
81 #define BEAT_GENLIST_PART_BOTTOM_LINE \
82 part { name: "bottom_line"; \
86 description { state: "default" 0.0; \
90 color: 80 80 80 255; \
97 #define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
98 part { name: "elm.padding.left"; \
101 description { state: "default" 0.0; \
102 min: param_padding_size 0; \
105 rel2.relative: 0.0 1.0; \
109 #define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
110 part { name: "elm.padding.right"; \
113 description { state: "default" 0.0; \
114 min: param_padding_size 0; \
117 rel1.relative: 1.0 0.0; \
122 group { name: "elm/genlist/item/browser/1text/default";
123 alias: "elm/genlist/item_odd/browser/1text/default";
124 alias: "elm/genlist/item/browser/1line_textonly/default";
125 alias: "elm/genlist/item_odd/browser/1line_textonly/default";
126 alias: "elm/genlist/item_compress/browser/1line_textonly/default";
127 alias: "elm/genlist/item_compress_odd/browser/1line_textonly/default";
129 data.item: "stacking" "above";
130 data.item: "selectraise" "on";
131 data.item: "texts" "elm.text";
133 style { name: "text_style";
134 base: "font=SLP:style=Roman font_size=40 color=#F9F9F9 wrap=char ellipsis=1.0";
138 tag: "b" "+ font=SLP:style=Bold";
139 tag: "match" "+ color=#008CD2FF";
143 BEAT_GENLIST_PART_BASE( 90 )
144 BEAT_GENLIST_PART_BG_IMAGE
145 BEAT_GENLIST_PART_BOTTOM_LINE
146 BEAT_GENLIST_PART_PADDING_LEFT( 15 )
147 BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
148 part { name: "elm.text";
153 description { state: "default" 0.0;
158 to_x: "elm.padding.left";
164 to_x: "elm.padding.right";
171 description { state: "selected" 0.0;
172 inherit: "default" 0.0;
173 color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
176 BEAT_GENLIST_PART_DISCLIP
179 // signal: elm,state,%s,active
180 // a "check" item named %s went active
181 // signal: elm,state,%s,passive
182 // a "check" item named %s went passive
183 // default is passive
184 program { name: "go_active";
185 signal: "elm,state,selected";
187 action: STATE_SET "selected" 0.0;
191 program { name: "go_passive";
192 signal: "elm,state,unselected";
194 action: STATE_SET "default" 0.0;
197 transition: LINEAR 0.1;
199 program { name: "go_disabled";
200 signal: "elm,state,disabled";
202 action: STATE_SET "disabled" 0.0;
205 program { name: "go_enabled";
206 signal: "elm,state,enabled";
208 action: STATE_SET "default" 0.0;
214 group { name: "elm/genlist/item/browser/1text.1icon/default";
215 alias: "elm/genlist/item_odd/browser/1text.1icon/default";
216 alias: "elm/genlist/item_compress/browser/1text.1icon/default";
217 alias: "elm/genlist/item_compress_odd/browser/1text.1icon/default";
218 data.item: "stacking" "above";
219 data.item: "selectraise" "on";
220 data.item: "texts" "elm.text";
221 data.item: "contents" "elm.icon";
222 data.item: "renames" "elm.edit.rename";
225 BEAT_GENLIST_PART_BASE( 90 )
226 BEAT_GENLIST_PART_BG_IMAGE
227 BEAT_GENLIST_PART_BOTTOM_LINE
228 BEAT_GENLIST_PART_PADDING_LEFT( 15 )
229 BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
230 part { name: "elm.icon";
234 description { state: "default" 0.0;
238 rel1.to_x: "elm.padding.left";
242 to_x: "elm.padding.left";
247 part { name: "elm.padding.icon.left";
251 description { state: "default" 0.0;
254 rel1.to_x: "elm.icon";
264 part { name: "elm.text";
269 description { state: "default" 0.0;
280 to_x: "elm.padding.right";
287 description { state: "selected" 0.0;
288 inherit: "default" 0.0;
289 color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
292 BEAT_GENLIST_PART_DISCLIP
295 program { name: "go_active";
296 signal: "elm,state,selected";
298 action: STATE_SET "selected" 0.0;
302 program { name: "go_passive";
303 signal: "elm,state,unselected";
305 action: STATE_SET "default" 0.0;
308 transition: LINEAR 0.1;
310 program { name: "go_disabled";
311 signal: "elm,state,disabled";
313 action: STATE_SET "disabled" 0.0;
316 program { name: "go_enabled";
317 signal: "elm,state,enabled";
319 action: STATE_SET "default" 0.0;
325 group { name: "elm/genlist/item/browser/1text.1icon.2/default";
326 alias: "elm/genlist/item_odd/browser/1text.1icon.2/default";
327 alias: "elm/genlist/item_compress/browser/1text.1icon.2/default";
328 alias: "elm/genlist/item_compress_odd/browser/1text.1icon.2/default";
329 data.item: "stacking" "above";
330 data.item: "selectraise" "on";
331 data.item: "texts" "elm.text";
332 data.item: "contents" "elm.icon";
333 data.item: "renames" "elm.edit.rename";
336 BEAT_GENLIST_PART_BASE( 90 )
337 BEAT_GENLIST_PART_BG_IMAGE
338 BEAT_GENLIST_PART_BOTTOM_LINE
339 BEAT_GENLIST_PART_PADDING_LEFT( 15 )
340 BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
341 part { name: "elm.icon";
345 description { state: "default" 0.0;
349 rel1.to_x: "elm.padding.left";
353 to_x: "elm.padding.left";
358 part { name: "elm.padding.icon.left";
362 description { state: "default" 0.0;
365 rel1.to_x: "elm.icon";
374 /* Customize, the globe icon is more smaller than search icon. */
375 part { name: "elm.padding.text.left";
379 description { state: "default" 0.0;
383 rel1 { relative: 1.0 0.0; to: "elm.icon"; }
384 rel2 { relative: 1.0 0.0; to: "elm.icon"; }
388 part { name: "elm.text";
393 description { state: "default" 0.0;
398 /* Customize, the globe icon is more smaller than search icon. */
399 to_x: "elm.padding.text.left";
405 to_x: "elm.padding.right";
412 description { state: "selected" 0.0;
413 inherit: "default" 0.0;
414 color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
417 BEAT_GENLIST_PART_DISCLIP
420 program { name: "go_active";
421 signal: "elm,state,selected";
423 action: STATE_SET "selected" 0.0;
427 program { name: "go_passive";
428 signal: "elm,state,unselected";
430 action: STATE_SET "default" 0.0;
433 transition: LINEAR 0.1;
435 program { name: "go_disabled";
436 signal: "elm,state,disabled";
438 action: STATE_SET "disabled" 0.0;
441 program { name: "go_enabled";
442 signal: "elm,state,enabled";
444 action: STATE_SET "default" 0.0;