[Title] show appropriate zoom buttons when zoom level is changed
[profile/ivi/org.tizen.browser.git] / edc / browser-reader.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         group {
22                 name: "browser-reader/main_layout";
23                 images {
24                         image: "browser-view-images/reader/I01_popup_bg.png" COMP;
25                         image: "browser-view-images/reader/I01_popup_bottom_bg.png" COMP;
26                 }
27                 parts {
28                         part { name: "bg";
29                                 mouse_events: 1;
30                                 repeat_events: 0;
31                                 type: RECT;
32                                 scale: 1;
33                                 description {
34                                         state: "default" 0.0;
35                                         visible: 1;
36                                         align: 0.0 0.0;
37                                         rel1 { relative: 0.0 0.0; }
38                                         rel2 { relative: 1.0 1.0; }
39                                         color: 0 0 0 200;
40                                 }
41                         }
42                         part { name: "content_bg";
43                                 mouse_events: 1;
44                                 type: IMAGE;
45                                 scale: 1;
46                                 description {
47                                         state: "default" 0.0;
48                                         visible: 1;
49                                         align: 0.0 0.0;
50                                         rel1 { relative: 0.05 0.05; }
51                                         rel2 { relative: 0.95 0.85; }
52                                         image.normal: "browser-view-images/reader/I01_popup_bg.png";
53                                         image.border: 14 14 14 14;
54                                 }
55                         }
56                         part { name: "reader_view_bg";
57                                 mouse_events: 1;
58                                 type: RECT;
59                                 scale: 1;
60                                 description {
61                                         state: "default" 0.0;
62                                         visible: 1;
63                                         align: 0.0 0.0;
64                                         rel1 { relative: 0.0 0.0; to:"elm.swallow.reader_view"; }
65                                         rel2 { relative: 1.0 1.0; to:"elm.swallow.reader_view"; }
66                                         color: 255 255 255 255;
67                                 }
68                         }
69                         part {
70                                 name: "elm.swallow.reader_view";
71                                 type: SWALLOW;
72                                 mouse_events: 1;
73                                 scale: 1;
74                                 description {
75                                         state: "default" 0.0;
76                                         visible: 1;
77                                         align: 0.0 0.0;
78                                         rel1 { relative: 0.025 0.025; to: "content_bg"; }
79                                         rel2 { relative: 0.975 0.975; to: "content_bg"; }
80                                 }
81                         }
82                         part {
83                                 name: "elm.swallow.waiting_progress";
84                                 type: SWALLOW;
85                                 mouse_events: 0;
86                                 scale: 1;
87                                 description {
88                                         state: "default" 0.0;
89                                         visible: 1;
90                                         align: 0.5 0.5;
91                                         min: 60 60;
92                                         max: 60 60;
93                                         fixed: 1 1;
94                                         rel1 { relative: 0.0 0.0; to: "reader_view_bg"; }
95                                         rel2 { relative: 1.0 1.0; to: "reader_view_bg"; }
96                                 }
97                         }
98                         part { name: "close_button_bg";
99                                 mouse_events: 1;
100                                 type: IMAGE;
101                                 scale: 1;
102                                 description {
103                                         state: "default" 0.0;
104                                         visible: 1;
105                                         min: 0 96;
106                                         max: 999999 96;
107                                         fixed: 0 1;
108                                         align: 0.0 0.0;
109                                         rel1 { relative: 0.015 0.985; to: "content_bg"; }
110                                         rel2 { relative: 0.985 0.985; to: "content_bg"; }
111                                         image.normal: "browser-view-images/reader/I01_popup_bottom_bg.png";
112                                         image.border: 3 3 2 6;
113                                 }
114                         }
115                         part {
116                                 name: "elm.swallow.close_button";
117                                 type: SWALLOW;
118                                 mouse_events: 1;
119                                 scale: 1;
120                                 description {
121                                         state: "default" 0.0;
122                                         visible: 1;
123                                         min: 402 74;
124                                         max: 402 74;
125                                         fixed: 1 1;
126                                         align: 0.5 0.5;
127                                         rel1 { relative: 0.0 0.0; to: "close_button_bg"; }
128                                         rel2 { relative: 1.0 1.0; to: "close_button_bg"; }
129                                 }
130                         }
131                 }
132         }
133 }
134