Merge "Fix issue that the most visited item can't be selected." into 2.0_beta
[profile/ivi/org.tizen.browser.git] / edc / browser-view-find-word-layout.edc
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
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
7  *
8  *    http://www.tizenopensource.org/license
9  *
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.
15  *
16  */
17
18 #include "browser-macro.edc"
19
20 collections {
21 ////////////////////////////////////////////////////////////////////////////////////////
22 // editfield
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 72
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
37
38 //#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 72 // browser customize
39 #define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 150 // browser customize
40
41 #define EDITFIELD_DEFAULT_RIGHT2_INC 10  // browser customize
42 //#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 20
43 // Customize - entry bottom margin
44 #define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 0
45 #define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 5
46 #define EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC 32
47 #define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 6
48 #define EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC 85
49 #define EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC 60
50 #define EDITFIELD_TITLE_COLOR_INC 168 168 168 255
51 #define EDITFIELD_GUIDE_TEXT_COLOR_INC 70 70 70 255
52 #define ENTRY_TEXT_SIZE_INC 42
53 // Customize - text color
54 //#define ENTRY_TEXT_COLOR_INC "#FFFFFF"
55 #define ENTRY_TEXT_COLOR_WHITE_INC "#FFFFFF"
56 #define ENTRY_TEXT_COLOR_BLACK_INC "#000000"
57
58 #define EDITFIELD_DEFAULT_ERASER_MINW_INC 40
59 #define EDITFIELD_DEFAULT_ERASER_MINH_INC 40
60
61         group { name: "elm/editfield/base/browser/find_word_entry/white-text";
62                 images {
63                         image: "browser-view-images/url-layout/00_EditField_clear.png" COMP;
64                 }
65                 styles {
66                         style { name: "editfield_content_singleline_white_text_style";
67                                 base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_BLACK_INC" wrap=mixed ellipsis=1";
68                                 tag:  "br" "\n";
69                                 tag:  "ps" "ps";
70                                 tag:  "tab" "\t";
71                                 tag:  "em" "+ font=SLP:style=Oblique";
72                                 tag:  "b" "+ font=SLP:style=Bold";
73                                 tag:  "link" "+ color=#800 underline=on underline_color=#8008";
74                                 tag:  "hilight" "+ font=SLP:style=Bold";
75                         }
76                 }
77                 script {
78                         public single_line = 0;
79                         public set_single_line() {
80                                 set_int(single_line, 1);
81                         }
82                         public no_edit() {
83                                 if(get_int(single_line) == 1) {
84                                         set_state(PART:"elm.content.single", "no_edit", 0.0);
85                                         set_state(PART:"elm.swallow.content", "no_edit", 0.0);
86                                 }
87                                 else if(get_int(single_line) == 0) {
88                                         set_state(PART:"elm.content.single", "default", 0.0);
89                                 }
90                                 set_state(PART:"over", "default", 0.0);
91                                 set_state(PART:"top2", "default", 0.0);
92                         }
93                 }
94                 parts {
95                         part {
96                                 name: "base";
97                                 type: RECT;
98                                 scale: 1;
99                                 ignore_flags: ON_HOLD;
100                                 description {
101                                         state: "default" 0.0;
102                                         min: 0 EDITFIELD_DEFAULT_MINH_INC;
103                                         color: 0 0 0 0;
104                                 }
105                         }
106                         part {
107                                 name: "top1";
108                                 type: RECT;
109                                 scale: 1;
110                                 ignore_flags: ON_HOLD;
111                                 description {
112                                         state: "default" 0.0;
113                                         visible: 0;
114                                         min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
115                                         fixed: 1 1;
116                                         rel1.relative: 0.0 0.0;
117                                         rel2.relative: 1.0 0.0;
118                                         align: 0.5 0;
119                                 }
120                                 description {
121                                         state: "elm.text.show" 0.0;
122                                         inherit: "default" 0.0;
123                                         min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
124                                 }
125                         }
126                         part {
127                                 name: "top2";
128                                 type: RECT;
129                                 scale: 1;
130                                 ignore_flags: ON_HOLD;
131                                 description {
132                                         state: "default" 0.0;
133                                         visible: 0;
134                                         min: 0 EDITFIELD_DEFAULT_TOP2_INC;
135                                         fixed: 1 1;
136                                         rel1.relative: 0.0 0.0;
137                                         rel2.relative: 1.0 0.0;
138                                         align: 0.5 0;
139                                 }
140                                 description {
141                                         state: "edit" 0.0;
142                                         inherit: "default" 0.0;
143                                 }
144                         }
145                         part {
146                                 name: "left1";
147                                 type: RECT;
148                                 scale: 1;
149                                 ignore_flags: ON_HOLD;
150                                 description {
151                                         state: "default" 0.0;
152                                         visible: 0;
153                                         min: EDITFIELD_DEFAULT_LEFT1_INC 0;
154                                         fixed: 1 1;
155                                         align: 0 0;
156                                         rel1.relative : 0.0 0.0;
157                                         rel2.relative : 0.0 1.0;
158                                 }
159                         }
160                         part {
161                                 name: "left2";
162                                 type: RECT;
163                                 scale: 1;
164                                 ignore_flags: ON_HOLD;
165                                 description {
166                                         state: "default" 0.0;
167                                         visible: 0;
168                                         min: EDITFIELD_DEFAULT_LEFT2_INC 0;
169                                         fixed: 1 1;
170                                         align: 0 0;
171                                         rel1.relative : 0.0 0.0;
172                                         rel2.relative : 0.0 1.0;
173                                 }
174                         }
175                         part {
176                                 name: "right1";
177                                 type: RECT;
178                                 scale: 1;
179                                 ignore_flags: ON_HOLD;
180                                 description {
181                                         state: "default" 0.0;
182                                         visible: 0;
183                                         min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
184                                         fixed: 1 1;
185                                         align: 1 0;
186                                         rel1.relative : 1.0 0.0;
187                                         rel2.relative : 1.0 1.0;
188                                 }
189                         }
190                         part {
191                                 name: "right2";
192                                 type: RECT;
193                                 scale: 1;
194                                 ignore_flags: ON_HOLD;
195                                 description {
196                                         state: "default" 0.0;
197                                         visible: 0;
198                                         min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
199                                         fixed: 1 1;
200                                         align: 1 0;
201                                         rel1.relative : 1.0 0.0;
202                                         rel2.relative : 1.0 1.0;
203                                 }
204                         }
205                         part {
206                                 name: "bottom1";
207                                 type: RECT;
208                                 scale: 1;
209                                 ignore_flags: ON_HOLD;
210                                 description {
211                                 state: "default" 0.0;
212                                         visible: 0;
213                                         min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
214                                         fixed: 1 1;
215                                         align: 0 1;
216                                         rel1.relative: 0.0 1.0;
217                                 }
218                                 description {
219                                         state: "elm.text.show" 0.0;
220                                         inherit: "default" 0.0;
221                                         min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
222                                 }
223                         }
224                         part {
225                                 name: "bottom2";
226                                 type: RECT;
227                                 scale: 1;
228                                 ignore_flags: ON_HOLD;
229                                 description {
230                                         state: "default" 0.0;
231                                         visible: 0;
232                                         min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
233                                         fixed: 0 1;
234                                         rel1.relative: 0.0 1.0;
235                                         align: 0 1;
236                                 }
237                                 description {
238                                         state: "elm.text.show" 0.0;
239                                         inherit: "default" 0.0;
240                                         min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
241                                 }
242                         }
243                         part {
244                                 name: "bottom3";
245                                 type: RECT;
246                                 scale: 1;
247                                 ignore_flags: ON_HOLD;
248                                 description {
249                                         state: "default" 0.0;
250                                         visible: 0;
251                                         min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
252                                         fixed: 0 1;
253                                         rel1.relative: 0.0 1.0;
254                                         align: 0 1;
255                                 }
256                                 description {
257                                         state: "elm.text.show" 0.0;
258                                         inherit: "default" 0.0;
259                                         min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
260                                 }
261                         }
262                         part {
263                                 name: "elm.text";
264                                 type: TEXT;
265                                 scale: 1;
266                                 ignore_flags: ON_HOLD;
267                                 description {
268                                         state: "default" 0.0;
269                                         visible: 0;
270                                         align: 0.0 0.0;
271                                         min: 0 34;
272                                         fixed: 1 1;
273                                         rel1 {
274                                                 relative: 1.0 1.0;
275                                                 to_x: "left2";
276                                                 to_y: "top2";
277                                         }
278                                         rel2 {
279                                                 relative: 1.0 1.0;
280                                                 to_x: "left2";
281                                                 to_y: "top2";
282                                         }
283                                         color: EDITFIELD_TITLE_COLOR_INC;
284                                         text {
285                                                 font: "SLP:style=Medium";
286                                                 size: EDITFIELD_TITLE_SIZE_INC;
287                                                 min: 1 1;
288                                                 align: 0.0 0.0;
289                                         }
290                                 }
291                                 description {
292                                         state: "elm.text.show" 0.0;
293                                         inherit: "default" 0.0;
294                                         visible: 1;
295                                 }
296                         }
297                         part {
298                                 name: "elm.guidetext";
299                                 type: TEXT;
300                                 scale: 1;
301                                 ignore_flags: ON_HOLD;
302                                 description {
303                                         state: "default" 0.0;
304                                         align: 0.0 0.0;
305                                         fixed: 1 1;
306                                         rel1.to: "elm.swallow.content";
307                                         rel2.to: "elm.swallow.content";
308                                         color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
309                                         text {
310                                                 font: "SLP:style=Roman";
311                                                 size: ENTRY_TEXT_SIZE_INC;
312                                                 min: 0 0;
313                                                 align: 0.0 0.5;
314                                         }
315                                 }
316                                 description {
317                                         state: "hidden" 0.0;
318                                         inherit: "default" 0.0;
319                                         visible: 0;
320                                 }
321                         }
322                         part {
323                                 name: "elm.content.single";
324                                 type: TEXTBLOCK;
325                                 scale: 1;
326                                 ignore_flags: ON_HOLD;
327                                 description {
328                                         state: "default" 0.0;
329                                         visible: 0;
330                                         fixed: 1 1;
331                                         rel1 {
332                                                 to: "elm.swallow.content";
333                                                 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
334                                         }
335                                         rel2.to: "elm.swallow.content";
336                                         text {
337                                                 style: "editfield_content_singleline_white_text_style";
338                                                 min: 0 0;
339                                                 max: 0 1;
340                                         }
341                                 }
342                                 description {
343                                         state: "no_edit" 0.0;
344                                         inherit: "default" 0.0;
345                                         visible: 1;
346                                 }
347                                 description {
348                                         state: "edit" 0.0;
349                                         inherit: "default" 0.0;
350                                         visible: 0;
351                                 }
352                         }
353                         part {
354                                 name: "elm.swallow.content";
355                                 type: SWALLOW;
356                                 scale: 1;
357                                 ignore_flags: ON_HOLD;
358                                 description {
359                                         state: "default" 0.0;
360                                         min: 0 40;
361                                         rel1 {
362                                                 relative : 1.0 1.0;
363                                                 to_x: "left1";
364                                                 to_y: "top1";
365                                         }
366                                         rel2 {
367                                                 relative : 0.0 0.0;
368                                                 to_x: "right1";
369                                                 to_y: "bottom1";
370                                         }
371                                         align: 0.0 0.5;
372                                 }
373                                 description {
374                                         state: "no_edit" 0.0;
375                                         inherit: "default" 0.0;
376                                         visible: 0;
377                                 }
378                                 description {
379                                         state: "edit" 0.0;
380                                         inherit: "default" 0.0;
381                                         visible: 1;
382                                 }
383                         }
384                         part {
385                                 name: "over";
386                                 type: RECT;
387                                 scale: 1;
388                                 ignore_flags: ON_HOLD;
389                                 description {
390                                         state: "default" 0.0;
391                                         rel1.to: "base";
392                                         rel2.to: "base";
393                                         color: 0 0 0 0;
394                                 }
395                                 description {
396                                         state: "edit" 0.0;
397                                         inherit: "default" 0.0;
398                                         visible: 0;
399                                 }
400                         }
401                         part {
402                                 name: "eraser_image";
403                                 scale: 1;
404                                 description {
405                                         state: "default" 0.0;
406                                         visible: 0;
407                                         min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
408                                         max: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;  // browser customize
409                                         fixed: 1 1;
410                                         align: 1.0 0.5;  // browser customize
411                                         rel1 {
412                                                 relative: 0.0 0.0;
413                                                 to_x : "right2";
414 //                                              to_y : "bottom2";  // browser customize
415                                         }
416                                         rel2 {
417                                                 relative: 0.0 1.0;
418                                                 to_x : "right2";
419 //                                              to_y : "bottom2";  // browser customize
420                                         }
421                                         image {
422                                                 normal: "browser-view-images/url-layout/00_EditField_clear.png";
423                                                 border: 10 10 10 10;
424                                                 border_scale: 1;
425                                         }
426                                 }
427                                 description {
428                                         state: "elm.eraser.show" 0.0;
429                                         inherit: "default" 0.0;
430                                         visible: 1;
431                                 }
432                         }
433                         part {
434                                 name: "eraser";
435                                 mouse_events: 1;
436                                 ignore_flags: ON_HOLD;
437                                 description {
438                                         state: "default" 0.0;
439                                         visible: 0;
440                                         color: 0 0 0 0;
441                                         rel1 {
442                                                 relative: 0.0 0.0;
443                                                 to_x : "eraser_image";
444                                                 to_y : "bottom3";
445                                         }
446                                 }
447                                 description {
448                                         state: "elm.eraser.show" 0.0;
449                                         inherit: "default" 0.0;
450                                         visible: 1;
451                                 }
452                         }
453                 }
454                 programs {
455                         program {
456                                 name: "guidetext_show";
457                                 signal: "elm,state,guidetext,visible";
458                                 source: "elm";
459                                 action: STATE_SET "default" 0.0;
460                                 target: "elm.guidetext";
461                         }
462                         program {
463                                 name: "guidetext_hide";
464                                 signal: "elm,state,guidetext,hidden";
465                                 source: "elm";
466                                 action: STATE_SET "hidden" 0.0;
467                                 target: "elm.guidetext";
468                         }
469                         program {
470                                 name: "eraser_show";
471                                 signal: "elm,state,eraser,show";
472                                 source: "elm";
473                                 action: STATE_SET "elm.eraser.show" 0.0;
474                                 target: "eraser_image";
475                                 target: "eraser";
476                         }
477                         program {
478                                 name: "eraser_hide";
479                                 signal: "elm,state,eraser,hidden";
480                                 source: "elm";
481                                 action: STATE_SET "default" 0.0;
482                                 target: "eraser_image";
483                                 target: "eraser";
484                         }
485                         program {
486                                 name: "singleline_set";
487                                 signal: "elm,state,text,singleline";
488                                 source: "elm";
489                                 script {
490                                         set_single_line();
491                                 }
492                         }
493                         program {
494                                 name: "editing";
495                                 signal: "elm,state,over,hide";
496                                 source: "elm";
497                                 action: STATE_SET "edit" 0.0;
498                                 target: "elm.swallow.content";
499                                 target: "elm.content.single";
500                                 target: "over";
501                                 target: "top2";
502                         }
503                         program {
504                                 name: "no_editing";
505                                 signal: "elm,state,over,show";
506                                 source: "elm";
507                                 script {
508                                         no_edit();
509                                 }
510                         }
511                         program {
512                                 name: "label_show";
513                                 signal: "elm,state,text,visible";
514                                 source: "elm";
515                                 action: STATE_SET "elm.text.show" 0.0;
516                                 target: "elm.text";
517                                 target: "top1";
518                                 target: "bottom1";
519                                 target: "bottom2";
520                                 target: "bottom3";
521                         }
522                         program {
523                                 name: "label_hide";
524                                 signal: "elm,state,text,hidden";
525                                 source: "elm";
526                                 action: STATE_SET "default" 0.0;
527                                 target: "elm.text";
528                                 target: "top1";
529                                 target: "bottom1";
530                                 target: "bottom2";
531                                 target: "bottom3";
532                         }
533                         program {
534                                 name: "entry_show";
535                                 signal: "elm,state,entry,show";
536                                 source: "elm";
537                                 action: STATE_SET "edit" 0.0;
538                                 target: "elm.swallow.content";
539                         }
540                 }
541         }
542
543         group { name: "elm/editfield/base/browser/find_word_entry/black-text";
544                 images {
545                         image: "browser-view-images/url-layout/00_EditField_clear.png" COMP;
546                 }
547                 styles {
548                         style { name: "editfield_content_singleline_black_text_style";
549                                 base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_BLACK_INC" wrap=mixed ellipsis=1";
550                                 tag:  "br" "\n";
551                                 tag:  "ps" "ps";
552                                 tag:  "tab" "\t";
553                                 tag:  "em" "+ font=SLP:style=Oblique";
554                                 tag:  "b" "+ font=SLP:style=Bold";
555                                 tag:  "link" "+ color=#800 underline=on underline_color=#8008";
556                                 tag:  "hilight" "+ font=SLP:style=Bold";
557                         }
558                 }
559                 script {
560                         public single_line = 0;
561                         public set_single_line() {
562                                 set_int(single_line, 1);
563                         }
564                         public no_edit() {
565                                 if(get_int(single_line) == 1) {
566                                         set_state(PART:"elm.content.single", "no_edit", 0.0);
567                                         set_state(PART:"elm.swallow.content", "no_edit", 0.0);
568                                 }
569                                 else if(get_int(single_line) == 0) {
570                                         set_state(PART:"elm.content.single", "default", 0.0);
571                                 }
572                                 set_state(PART:"over", "default", 0.0);
573                                 set_state(PART:"top2", "default", 0.0);
574                         }
575                 }
576                 parts {
577                         part {
578                                 name: "base";
579                                 type: RECT;
580                                 scale: 1;
581                                 ignore_flags: ON_HOLD;
582                                 description {
583                                         state: "default" 0.0;
584                                         min: 0 EDITFIELD_DEFAULT_MINH_INC;
585                                         color: 0 0 0 0;
586                                 }
587                         }
588                         part {
589                                 name: "top1";
590                                 type: RECT;
591                                 scale: 1;
592                                 ignore_flags: ON_HOLD;
593                                 description {
594                                         state: "default" 0.0;
595                                         visible: 0;
596                                         min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
597                                         fixed: 1 1;
598                                         rel1.relative: 0.0 0.0;
599                                         rel2.relative: 1.0 0.0;
600                                         align: 0.5 0;
601                                 }
602                                 description {
603                                         state: "elm.text.show" 0.0;
604                                         inherit: "default" 0.0;
605                                         min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
606                                 }
607                         }
608                         part {
609                                 name: "top2";
610                                 type: RECT;
611                                 scale: 1;
612                                 ignore_flags: ON_HOLD;
613                                 description {
614                                         state: "default" 0.0;
615                                         visible: 0;
616                                         min: 0 EDITFIELD_DEFAULT_TOP2_INC;
617                                         fixed: 1 1;
618                                         rel1.relative: 0.0 0.0;
619                                         rel2.relative: 1.0 0.0;
620                                         align: 0.5 0;
621                                 }
622                                 description {
623                                         state: "edit" 0.0;
624                                         inherit: "default" 0.0;
625                                 }
626                         }
627                         part {
628                                 name: "left1";
629                                 type: RECT;
630                                 scale: 1;
631                                 ignore_flags: ON_HOLD;
632                                 description {
633                                         state: "default" 0.0;
634                                         visible: 0;
635                                         min: EDITFIELD_DEFAULT_LEFT1_INC 0;
636                                         fixed: 1 1;
637                                         align: 0 0;
638                                         rel1.relative : 0.0 0.0;
639                                         rel2.relative : 0.0 1.0;
640                                 }
641                         }
642                         part {
643                                 name: "left2";
644                                 type: RECT;
645                                 scale: 1;
646                                 ignore_flags: ON_HOLD;
647                                 description {
648                                         state: "default" 0.0;
649                                         visible: 0;
650                                         min: EDITFIELD_DEFAULT_LEFT2_INC 0;
651                                         fixed: 1 1;
652                                         align: 0 0;
653                                         rel1.relative : 0.0 0.0;
654                                         rel2.relative : 0.0 1.0;
655                                 }
656                         }
657                         part {
658                                 name: "right1";
659                                 type: RECT;
660                                 scale: 1;
661                                 ignore_flags: ON_HOLD;
662                                 description {
663                                         state: "default" 0.0;
664                                         visible: 0;
665                                         min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
666                                         fixed: 1 1;
667                                         align: 1 0;
668                                         rel1.relative : 1.0 0.0;
669                                         rel2.relative : 1.0 1.0;
670                                 }
671                         }
672                         part {
673                                 name: "right2";
674                                 type: RECT;
675                                 scale: 1;
676                                 ignore_flags: ON_HOLD;
677                                 description {
678                                         state: "default" 0.0;
679                                         visible: 0;
680                                         min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
681                                         fixed: 1 1;
682                                         align: 1 0;
683                                         rel1.relative : 1.0 0.0;
684                                         rel2.relative : 1.0 1.0;
685                                 }
686                         }
687                         part {
688                                 name: "bottom1";
689                                 type: RECT;
690                                 scale: 1;
691                                 ignore_flags: ON_HOLD;
692                                 description {
693                                         state: "default" 0.0;
694                                         visible: 0;
695                                         min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
696                                         fixed: 1 1;
697                                         align: 0 1;
698                                         rel1.relative: 0.0 1.0;
699                                 }
700                                 description {
701                                         state: "elm.text.show" 0.0;
702                                         inherit: "default" 0.0;
703                                         min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
704                                 }
705                         }
706                         part {
707                                 name: "bottom2";
708                                 type: RECT;
709                                 scale: 1;
710                                 ignore_flags: ON_HOLD;
711                                 description {
712                                         state: "default" 0.0;
713                                         visible: 0;
714                                         min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
715                                         fixed: 0 1;
716                                         rel1.relative: 0.0 1.0;
717                                         align: 0 1;
718                                 }
719                                 description {
720                                         state: "elm.text.show" 0.0;
721                                         inherit: "default" 0.0;
722                                         min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
723                                 }
724                         }
725                         part {
726                                 name: "bottom3";
727                                 type: RECT;
728                                 scale: 1;
729                                 ignore_flags: ON_HOLD;
730                                 description {
731                                         state: "default" 0.0;
732                                         visible: 0;
733                                         min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
734                                         fixed: 0 1;
735                                         rel1.relative: 0.0 1.0;
736                                         align: 0 1;
737                                 }
738                                 description {
739                                         state: "elm.text.show" 0.0;
740                                         inherit: "default" 0.0;
741                                         min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
742                                 }
743                         }
744                         part {
745                                 name: "elm.text";
746                                 type: TEXT;
747                                 scale: 1;
748                                 ignore_flags: ON_HOLD;
749                                 description {
750                                         state: "default" 0.0;
751                                         visible: 0;
752                                         align: 0.0 0.0;
753                                         min: 0 34;
754                                         fixed: 1 1;
755                                         rel1 {
756                                                 relative: 1.0 1.0;
757                                                 to_x: "left2";
758                                                 to_y: "top2";
759                                         }
760                                         rel2 {
761                                                 relative: 1.0 1.0;
762                                                 to_x: "left2";
763                                                 to_y: "top2";
764                                         }
765                                         color: EDITFIELD_TITLE_COLOR_INC;
766                                         text {
767                                                 font: "SLP:style=Medium";
768                                                 size: EDITFIELD_TITLE_SIZE_INC;
769                                                 min: 1 1;
770                                                 align: 0.0 0.0;
771                                         }
772                                 }
773                                 description {
774                                         state: "elm.text.show" 0.0;
775                                         inherit: "default" 0.0;
776                                         visible: 1;
777                                 }
778                         }
779                         part {
780                                 name: "elm.guidetext";
781                                 type: TEXT;
782                                 scale: 1;
783                                 ignore_flags: ON_HOLD;
784                                 description {
785                                         state: "default" 0.0;
786                                         align: 0.0 0.0;
787                                         fixed: 1 1;
788                                         rel1.to: "elm.swallow.content";
789                                         rel2.to: "elm.swallow.content";
790                                         color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
791                                         text {
792                                                 font: "SLP:style=Roman";
793                                                 size: ENTRY_TEXT_SIZE_INC;
794                                                 min: 0 0;
795                                                 align: 0.0 0.5;
796                                         }
797                                 }
798                                 description {
799                                         state: "hidden" 0.0;
800                                         inherit: "default" 0.0;
801                                         visible: 0;
802                                 }
803                         }
804                         part {
805                                 name: "elm.content.single";
806                                 type: TEXTBLOCK;
807                                 scale: 1;
808                                 ignore_flags: ON_HOLD;
809                                 description {
810                                         state: "default" 0.0;
811                                         visible: 0;
812                                         fixed: 1 1;
813                                         rel1 {
814                                                 to: "elm.swallow.content";
815                                                 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
816                                         }
817                                         rel2.to: "elm.swallow.content";
818                                         text {
819                                                 style: "editfield_content_singleline_black_text_style";
820                                                 min: 0 0;
821                                                 max: 0 1;
822                                         }
823                                 }
824                                 description {
825                                         state: "no_edit" 0.0;
826                                         inherit: "default" 0.0;
827                                         visible: 1;
828                                 }
829                                 description {
830                                         state: "edit" 0.0;
831                                         inherit: "default" 0.0;
832                                         visible: 0;
833                                 }
834                         }
835                         part {
836                                 name: "elm.swallow.content";
837                                 type: SWALLOW;
838                                 scale: 1;
839                                 ignore_flags: ON_HOLD;
840                                 description {
841                                         state: "default" 0.0;
842                                         min: 0 40;
843                                         rel1 {
844                                                 relative : 1.0 1.0;
845                                                 to_x: "left1";
846                                                 to_y: "top1";
847                                         }
848                                         rel2 {
849                                                 relative : 0.0 0.0;
850                                                 to_x: "right1";
851                                                 to_y: "bottom1";
852                                         }
853                                         align: 0.0 0.5;
854                                 }
855                                 description {
856                                         state: "no_edit" 0.0;
857                                         inherit: "default" 0.0;
858                                         visible: 0;
859                                 }
860                                 description {
861                                         state: "edit" 0.0;
862                                         inherit: "default" 0.0;
863                                         visible: 1;
864                                 }
865                         }
866                         part {
867                                 name: "over";
868                                 type: RECT;
869                                 scale: 1;
870                                 ignore_flags: ON_HOLD;
871                                 description {
872                                         state: "default" 0.0;
873                                         rel1.to: "base";
874                                         rel2.to: "base";
875                                         color: 0 0 0 0;
876                                 }
877                                 description {
878                                         state: "edit" 0.0;
879                                         inherit: "default" 0.0;
880                                         visible: 0;
881                                 }
882                         }
883                         part {
884                                 name: "eraser_image";
885                                 scale: 1;
886                                 description {
887                                         state: "default" 0.0;
888                                         visible: 0;
889                                         min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
890                                         max: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;  // browser customize
891                                         fixed: 1 1;
892                                         align: 1.0 0.5;  // browser customize
893                                         rel1 {
894                                                 relative: 0.0 0.0;
895                                                 to_x : "right2";
896         //                                      to_y : "bottom2";  // browser customize
897                                         }
898                                         rel2 {
899                                                 relative: 0.0 1.0;
900                                                 to_x : "right2";
901         //                                      to_y : "bottom2";  // browser customize
902                                         }
903                                         image {
904                                                 normal: "browser-view-images/url-layout/00_EditField_clear.png";
905                                                 border: 10 10 10 10;
906                                                 border_scale: 1;
907                                         }
908                                 }
909                                 description {
910                                         state: "elm.eraser.show" 0.0;
911                                         inherit: "default" 0.0;
912                                         visible: 1;
913                                 }
914                         }
915                         part {
916                                 name: "eraser";
917                                 mouse_events: 1;
918                                 ignore_flags: ON_HOLD;
919                                 description {
920                                         state: "default" 0.0;
921                                         visible: 0;
922                                         color: 0 0 0 0;
923                                         rel1 {
924                                                 relative: 0.0 0.0;
925                                                 to_x : "eraser_image";
926                                                 to_y : "bottom3";
927                                         }
928                                 }
929                                 description {
930                                         state: "elm.eraser.show" 0.0;
931                                         inherit: "default" 0.0;
932                                         visible: 1;
933                                 }
934                         }
935                 }
936                 programs {
937                         program {
938                                 name: "guidetext_show";
939                                 signal: "elm,state,guidetext,visible";
940                                 source: "elm";
941                                 action: STATE_SET "default" 0.0;
942                                 target: "elm.guidetext";
943                         }
944                         program {
945                                 name: "guidetext_hide";
946                                 signal: "elm,state,guidetext,hidden";
947                                 source: "elm";
948                                 action: STATE_SET "hidden" 0.0;
949                                 target: "elm.guidetext";
950                         }
951                         program {
952                                 name: "eraser_show";
953                                 signal: "elm,state,eraser,show";
954                                 source: "elm";
955                                 action: STATE_SET "elm.eraser.show" 0.0;
956                                 target: "eraser_image";
957                                 target: "eraser";
958                         }
959                         program {
960                                 name: "eraser_hide";
961                                 signal: "elm,state,eraser,hidden";
962                                 source: "elm";
963                                 action: STATE_SET "default" 0.0;
964                                 target: "eraser_image";
965                                 target: "eraser";
966                         }
967                         program {
968                                 name: "singleline_set";
969                                 signal: "elm,state,text,singleline";
970                                 source: "elm";
971                                 script {
972                                         set_single_line();
973                                 }
974                         }
975                         program {
976                                 name: "editing";
977                                 signal: "elm,state,over,hide";
978                                 source: "elm";
979                                 action: STATE_SET "edit" 0.0;
980                                 target: "elm.swallow.content";
981                                 target: "elm.content.single";
982                                 target: "over";
983                                 target: "top2";
984                         }
985                         program {
986                                 name: "no_editing";
987                                 signal: "elm,state,over,show";
988                                 source: "elm";
989                                 script {
990                                         no_edit();
991                                 }
992                         }
993                         program {
994                                 name: "label_show";
995                                 signal: "elm,state,text,visible";
996                                 source: "elm";
997                                 action: STATE_SET "elm.text.show" 0.0;
998                                 target: "elm.text";
999                                 target: "top1";
1000                                 target: "bottom1";
1001                                 target: "bottom2";
1002                                 target: "bottom3";
1003                         }
1004                         program {
1005                                 name: "label_hide";
1006                                 signal: "elm,state,text,hidden";
1007                                 source: "elm";
1008                                 action: STATE_SET "default" 0.0;
1009                                 target: "elm.text";
1010                                 target: "top1";
1011                                 target: "bottom1";
1012                                 target: "bottom2";
1013                                 target: "bottom3";
1014                         }
1015                         program {
1016                                 name: "entry_show";
1017                                 signal: "elm,state,entry,show";
1018                                 source: "elm";
1019                                 action: STATE_SET "edit" 0.0;
1020                                 target: "elm.swallow.content";
1021                         }
1022                 }
1023         }
1024
1025 ////////////////////////////////////////////////////////////////////////////////////////
1026 // url layout
1027 ////////////////////////////////////////////////////////////////////////////////////////
1028         group {
1029                 name: "browser-view/find_word_layout";
1030                 images {
1031                         image: "browser-view-images/url-layout/I01_toolbar_bg.png" COMP;
1032                 }
1033                 parts {
1034                         part { name: "backgournd";
1035                                 mouse_events: 1;
1036                                 repeat_events: 0;
1037                                 type: IMAGE;
1038                                 scale: 1;
1039                                 description {
1040                                         state: "default" 0.0;
1041                                         visible: 1;
1042                                         min: 0 74;
1043                                         fixed: 0 1;
1044                                         align: 0.0 0.0;
1045                                         rel1 { relative: 0.0 0.0; }
1046                                         rel2 { relative: 1.0 1.0; }
1047                                         image {
1048                                                 normal: "browser-view-images/url-layout/I01_toolbar_bg.png";
1049                                                 border: 1 1 2 1;
1050                                                 border_scale: 1;
1051                                         }
1052                                 }
1053                         }
1054                         part { name: "bg";
1055                                 mouse_events: 1;
1056                                 repeat_events: 0;
1057                                 type: RECT;
1058                                 scale: 1;
1059                                 description {
1060                                         state: "default" 0.0;
1061                                         visible: 1;
1062                                         min: 0 74;
1063                                         fixed: 0 1;
1064                                         align: 0.0 0.0;
1065                                         rel1 { relative: 0.0 0.0; to: "backgournd"; }
1066                                         rel2 { relative: 1.0 1.0; to: "backgournd"; }
1067                                         color: 255 255 255 255;  // white
1068                                 }
1069                         }
1070                         part {
1071                                 name: "navigationbar_bg";
1072                                 type: IMAGE;
1073                                 mouse_events: 0;
1074                                 scale: 1;
1075                                 description {
1076                                         state: "default" 0.0;
1077                                         align: 0.0 0.0;
1078                                         rel1 { relative: 0.0 0.0; to: bg; }
1079                                         rel2 { relative: 1.0 1.0; to: bg; }
1080                                         image {
1081                                                 normal: "browser-view-images/url-layout/I01_toolbar_bg.png";
1082                                                 border: 1 1 2 1;
1083                                                 border_scale: 1;
1084                                         }
1085                                 }
1086                         }
1087 #if 0
1088                         part {
1089                                 name: "title_text";
1090                                 type: TEXT;
1091                                 scale: 1;
1092                                 mouse_events: 0;
1093                                 description {
1094                                         state: "default" 0.0;
1095                                         visible: 1;
1096                                         fixed: 0 1;
1097                                         min: 0 44;
1098                                         align: 0.5 0.0;
1099                                         rel1 {relative: 0.0 0.0;}
1100                                         rel2 {relative: 1.0 0.0;}
1101                                         text { font: FONT_ROM;
1102                             size: 34;
1103                             min: 0 0;
1104                             align: 0.5 1.0;
1105                     }
1106                     color: 255 255 255 255;
1107                                 }
1108                         }
1109 #endif
1110                         part { name: "padding,url,top";
1111                                 mouse_events: 0;
1112                                 type: RECT;
1113                                 scale: 1;
1114                                 description {
1115                                         state: "default" 0.0;
1116                                         visible: 0;
1117                                         min: 0 3;
1118                                         fixed: 0 1;
1119                                         align: 0.5 0.0;
1120                                         rel1 { relative: 0.0 0.0; to: "bg"; }
1121                                         rel2 { relative: 1.0 0.0; to: "bg"; }
1122                                 }
1123                         }
1124                         part { name: "padding,find_word_prev,left";
1125                                 mouse_events: 0;
1126                                 type: RECT;
1127                                 scale: 1;
1128                                 description {
1129                                         state: "default" 0.0;
1130                                         visible: 0;
1131                                         min: 10 0;
1132                                         fixed: 1 0;
1133                                         align: 0.0 0.5;
1134                                         rel1 { relative: 0.0 0.0; to: "bg"; }
1135                                         rel2 { relative: 0.0 1.0; to: "bg"; }
1136                                 }
1137                         }
1138                         part { name: "padding,url,left";
1139                                 mouse_events: 0;
1140                                 type: RECT;
1141                                 scale: 1;
1142                                 description {
1143                                         state: "default" 0.0;
1144                                         visible: 0;
1145                                         min: 10 0;
1146                                         fixed: 1 0;
1147                                         align: 0.0 0.5;
1148                                         rel1 { relative: 1.0 0.0; to: "elm.swallow.find_word_next"; }
1149                                         rel2 { relative: 1.0 1.0; to: "elm.swallow.find_word_next"; }
1150                                 }
1151                         }
1152                         part {
1153                                 name: "elm.swallow.url";
1154                                 type: SWALLOW;
1155                                 mouse_events: 1;
1156                                 scale: 1;
1157                                 description {
1158                                         state: "default" 0.0;
1159                                         visible: 1;
1160                                         min: 0 64;
1161                                         fixed: 0 1;
1162                                         align: 0.0 0.0;
1163                                         rel1 { relative: 1.0 1.0; to_x: "padding,url,left"; to_y: "padding,url,top"; }
1164                                         rel2 { relative: 0.0 1.0; to_x: "padding,cancel,left"; to_y: "padding,url,top"; }
1165                                 }
1166                         }
1167                         part { name: "padding,index_text,right";
1168                                 mouse_events: 0;
1169                                 type: RECT;
1170                                 scale: 1;
1171                                 description {
1172                                         state: "default" 0.0;
1173                                         visible: 0;
1174                                         min: 55 0;
1175                                         fixed: 1 0;
1176                                         align: 1.0 0.5;
1177                                         rel1 { relative: 1.0 0.0; to: "elm.swallow.url"; }
1178                                         rel2 { relative: 1.0 1.0; to: "elm.swallow.url"; }
1179                                 }
1180                         }
1181                         part {
1182                                 name: "elm.index_text";
1183                                 type: TEXT;
1184                                 scale: 1;
1185                                 ignore_flags: ON_HOLD;
1186                                 description {
1187                                         state: "default" 0.0;
1188                                         visible: 1;
1189                                         min: 115 0;
1190                                         fixed: 1 1;
1191                                         align: 1.0 0.5;
1192                                         rel1 { relative: 0.0 0.0; to_x: "padding,index_text,right"; to_y: "elm.swallow.url"; }
1193                                         rel2 { relative: 0.0 1.0; to_x: "padding,index_text,right"; to_y: "elm.swallow.url"; }
1194                                         color: 120 120 120 255;
1195                                         text {
1196                                                 font: "SLP:style=Roman";
1197                                                 size: 30;
1198                                                 min: 0 0;
1199                                                 align: 1.0 0.5;
1200                                         }
1201                                 }
1202                         }
1203                         part {
1204                                 name: "elm.swallow.find_word_prev";
1205                                 type: SWALLOW;
1206                                 mouse_events: 1;
1207                                 scale: 1;
1208                                 description {
1209                                         state: "default" 0.0;
1210                                         visible: 1;
1211                                         min: 64 64;
1212                                         max: 64 64;
1213                                         fixed: 1 1;
1214                                         align: 0.0 0.5;
1215                                         rel1 { relative: 1.0 0.0; to_x: "padding,find_word_prev,left"; to_y: "navigationbar_bg"; }
1216                                         rel2 { relative: 1.0 1.0; to_x: "padding,find_word_prev,left"; to_y: "navigationbar_bg"; }
1217                                 }
1218                         }
1219                         part { name: "padding,find_word_prev,right";
1220                                 mouse_events: 0;
1221                                 type: RECT;
1222                                 scale: 1;
1223                                 description {
1224                                         state: "default" 0.0;
1225                                         visible: 0;
1226                                         min: 10 0;
1227                                         fixed: 1 0;
1228                                         align: 0.0 0.5;
1229                                         rel1 { relative: 1.0 0.0; to_x: "elm.swallow.find_word_prev"; to_y: "navigationbar_bg"; }
1230                                         rel2 { relative: 1.0 1.0; to_x: "elm.swallow.find_word_prev"; to_y: "navigationbar_bg"; }
1231                                 }
1232                         }
1233                         part {
1234                                 name: "elm.swallow.find_word_next";
1235                                 type: SWALLOW;
1236                                 mouse_events: 1;
1237                                 scale: 1;
1238                                 description {
1239                                         state: "default" 0.0;
1240                                         visible: 1;
1241                                         min: 64 64;
1242                                         max: 64 64;
1243                                         fixed: 1 1;
1244                                         align: 0.0 0.5;
1245                                         rel1 { relative: 1.0 0.0; to_x: "padding,find_word_prev,right"; to_y: "navigationbar_bg"; }
1246                                         rel2 { relative: 1.0 1.0; to_x: "padding,find_word_prev,right"; to_y: "navigationbar_bg"; }
1247                                 }
1248                         }
1249                         part { name: "padding,cancel,left";
1250                                 mouse_events: 0;
1251                                 type: RECT;
1252                                 scale: 1;
1253                                 description {
1254                                         state: "default" 0.0;
1255                                         visible: 0;
1256                                         min: 10 0;
1257                                         fixed: 1 0;
1258                                         align: 1.0 0.5;
1259                                         rel1 { relative: 0.0 0.0; to_x: "elm.swallow.cancel"; to_y: "navigationbar_bg"; }
1260                                         rel2 { relative: 0.0 1.0; to_x: "elm.swallow.cancel"; to_y: "navigationbar_bg"; }
1261                                 }
1262                         }
1263                         part { name: "padding,cancel,right";
1264                                 mouse_events: 0;
1265                                 type: RECT;
1266                                 scale: 1;
1267                                 description {
1268                                         state: "default" 0.0;
1269                                         visible: 0;
1270                                         min: 16 0;
1271                                         fixed: 1 0;
1272                                         align: 1.0 0.5;
1273                                         rel1 { relative: 1.0 0.0; to: "navigationbar_bg"; }
1274                                         rel2 { relative: 1.0 1.0; to: "navigationbar_bg"; }
1275                                 }
1276                         }
1277                         part {
1278                                 name: "elm.swallow.cancel";
1279                                 type: SWALLOW;
1280                                 mouse_events: 1;
1281                                 repeat_events: 0;
1282                                 scale: 1;
1283                                 description {
1284                                         state: "default" 0.0;
1285                                         visible: 1;
1286                                         min: 134 68;
1287                                         max: 134 68;
1288                                         fixed: 1 1;
1289                                         align: 1.0 0.5;
1290                                         rel1 { relative: 0.0 0.0; to_x: "padding,cancel,right"; to_y: "navigationbar_bg"; }
1291                                         rel2 { relative: 0.0 1.0; to_x: "padding,cancel,right"; to_y: "navigationbar_bg"; }
1292                                 }
1293                         }
1294                 }
1295         }
1296
1297         group {
1298                 name: "browser-view/find_word_editfield_layout";
1299                 images {
1300                         image: "browser-view-images/url-layout/00_search_input_field_bg.png" COMP;
1301                         image: "browser-view-images/url-layout/00_search_input_field_bg_black.png" COMP;
1302                         image: "browser-view-images/url-layout/I01_icon_find_word.png" COMP;
1303                 }
1304
1305                 parts {
1306                         part { name: "bg";
1307                                 mouse_events: 0;
1308                                 type: RECT;
1309                                 scale: 1;
1310                                 description {
1311                                         state: "default" 0.0;
1312                                         visible: 1;
1313                                         fixed: 0 1;
1314                                         rel1 { relative: 0.0 0.0; }
1315                                         rel2 { relative: 1.0 1.0; }
1316                                         color: 0 0 0 0;
1317                                 }
1318                         }
1319                         part {
1320                                 name: "bg_image";
1321                                 type: IMAGE;
1322                                 scale: 1;
1323                                 mouse_events: 0;
1324                                 description {
1325                                         state: "default" 0.0;
1326                                         fixed: 0 1;
1327                                         rel1 {relative: 0.0 0.0; }
1328                                         rel2 {relative: 1.0 1.0; }
1329                                         image.normal: "browser-view-images/url-layout/00_search_input_field_bg.png";
1330                                         image.border: 5 5 5 5;
1331                                 }
1332                                 description {
1333                                         state: "black" 0.0;
1334                                         inherit: "default" 0.0;
1335                                         image.normal: "browser-view-images/url-layout/00_search_input_field_bg_black.png";
1336                                         image.border: 5 5 5 5;
1337                                 }
1338                         }
1339                         part { name: "padding,find_word_image,left";
1340                                 mouse_events: 0;
1341                                 type: RECT;
1342                                 scale: 1;
1343                                 description {
1344                                         state: "default" 0.0;
1345                                         visible: 0;
1346                                         min: 16 0;
1347                                         fixed: 1 0;
1348                                         align: 0.0 0.5;
1349                                         rel1 { relative: 0.0 0.0; to: "bg_image"; }
1350                                         rel2 { relative: 0.0 1.0; to: "bg_image"; }
1351                                 }
1352                         }
1353                         part { name: "elm.image.find_word";
1354                                 mouse_events: 0;
1355                                 type: IMAGE;
1356                                 scale: 1;
1357                                 description {
1358                                         state: "default" 0.0;
1359                                         visible: 1;
1360                                         min: 42 42;
1361                                         max: 42 42;
1362                                         fixed: 1 1;
1363                                         align: 0.0 0.5;
1364                                         rel1 { relative: 1.0 0.0; to_x: "padding,find_word_image,left"; to_y: bg; }
1365                                         rel2 { relative: 1.0 1.0; to_x: "padding,find_word_image,left"; to_y: bg; }
1366                                         image.normal: "browser-view-images/url-layout/I01_icon_find_word.png";
1367                                 }
1368                         }
1369                         part { name: "padding,find_word_image,right";
1370                                 mouse_events: 0;
1371                                 type: RECT;
1372                                 scale: 1;
1373                                 description {
1374                                         state: "default" 0.0;
1375                                         visible: 0;
1376                                         min: 16 0;
1377                                         fixed: 1 0;
1378                                         align: 0.0 0.5;
1379                                         rel1 { relative: 1.0 0.0; to_x: "elm.image.find_word"; to_y: bg; }
1380                                         rel2 { relative: 1.0 1.0; to_x: "elm.image.find_word"; to_y: bg; }
1381                                 }
1382                         }
1383                         part { name: "elm.swallow.entry";
1384                                 mouse_events: 1;
1385                                 type: SWALLOW;
1386                                 scale: 1;
1387                                 description {
1388                                         state: "default" 0.0;
1389                                         visible: 1;
1390                                         align: 0.0 0.5;
1391                                         rel1 { relative: 1.0 0.0; to_x: "padding,find_word_image,right"; to_y: bg; }
1392                                         rel2 { relative: 1.0 1.0; to_x: "bg_image"; to_y: bg; }
1393                                 }
1394                         }
1395                 }
1396                 programs {
1397                         program { name: "black_theme";
1398                                 signal: "black_theme,signal";
1399                                 action: STATE_SET "black" 0.0;
1400                                 target: "bg_image";
1401                         }
1402                 }
1403         }
1404 }