Tizen 3.0 Reference Web Browser for TV profile
[profile/tv/apps/web/browser.git] / services / SimpleUI / edc / RightButtonBar.edc
1 #include "ImageButton.edc"
2 #include "Spacer.edc"
3 collections {
4 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_tab", 70, 70, "web_ico_tab.png")
5 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_history", 70, 70, "web_ico_history.png")
6 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_zoom_in", 70, 70, "web_ico_zoom_in.png")
7 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_rss", 70, 70, "web_ico_rss.png")
8 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_setting", 70, 70, "web_ico_setting.png")
9     group {
10         name: "right_button_bar";
11         parts {
12             part { name: "tab_button";
13                 type : SWALLOW;
14                 scale: 1;
15                 description {
16                     state: "default" 0.0;
17                     visible: 1;
18                     fixed: 1 1;
19                     align: 0.0 0.0;
20                     min: 70 70;
21                     max: 70 70;
22                     rel1 { relative: 0.0 0.0; }
23                     rel2 { relative: 0.0 0.0; }
24                 }
25                 description {
26                     state: "hidden" 0.0;
27                     inherit: "default" 0.0;
28                     visible: 0;
29                 }
30                 description {
31                     state: "visible" 0.0;
32                     inherit: "default" 0.0;
33                     visible: 1;
34                 }
35             }
36             part { name: "tabs_number";
37                 type: TEXT;
38                 scale: 1;
39                 repeat_events: 1;
40                 description{
41                     state: "default" 0.0;
42                     visible: 1;
43                     fixed: 1 1;
44                     align: 0.0 0.0;
45                     min: 70 70;
46                     max: 70 70;
47                     color: 255 255 255 153;
48                     rel1 { relative: 0.0 0.0; to: "tab_button"; offset: -3 4;}
49                     rel2 { relative: 1.0 1.0; to: "tab_button";}
50                     text {
51                         text: "";
52                         font: "Tizen:style=Bold";
53                         size: 19;
54                         align: 0.5 0.5;
55                     }
56                 }
57             }
58             ADD_SPACER("spacer_1", "tab_button", 10, 70)
59             part { name: "history_button";
60                 type : SWALLOW;
61                 scale: 1;
62                 description {
63                     state: "default" 0.0;
64                     visible: 1;
65                     fixed: 1 1;
66                     align: 0.0 0.0;
67                     min: 70 70;
68                     max: 70 70;
69                     rel1 { relative: 1.0 0.0; to: "spacer_1"; }
70                     rel2 { relative: 0.0 0.0; }
71                 }
72                 description {
73                     state: "hidden" 0.0;
74                     inherit: "default" 0.0;
75                     visible: 0;
76                 }
77                 description {
78                     state: "visible" 0.0;
79                     inherit: "default" 0.0;
80                     visible: 1;
81                 }
82             }
83             ADD_SPACER("spacer_2", "history_button", 10, 70)
84             part { name: "zoom_in_button";
85                 type : SWALLOW;
86                 scale: 1;
87                 description {
88                     state: "default" 0.0;
89                     visible: 1;
90                     fixed: 1 1;
91                     align: 0.0 0.0;
92                     min: 70 70;
93                     max: 70 70;
94                     rel1 { relative: 1.0 0.0; to: "spacer_2"; }
95                     rel2 { relative: 0.0 0.0; }
96                 }
97                 description {
98                     state: "hidden" 0.0;
99                     inherit: "default" 0.0;
100                     visible: 0;
101                 }
102                 description {
103                     state: "visible" 0.0;
104                     inherit: "default" 0.0;
105                     visible: 1;
106                 }
107             }
108             ADD_SPACER("spacer_3", "zoom_in_button", 10, 70)
109             part { name: "rss_button";
110                 type : SWALLOW;
111                 scale: 1;
112                 description {
113                     state: "default" 0.0;
114                     visible: 1;
115                     fixed: 1 1;
116                     align: 0.0 0.0;
117                     min: 70 70;
118                     max: 70 70;
119                     rel1 { relative: 1.0 0.0; to: "spacer_3"; }
120                     rel2 { relative: 0.0 0.0; }
121                 }
122                 description {
123                     state: "hidden" 0.0;
124                     inherit: "default" 0.0;
125                     visible: 0;
126                 }
127                 description {
128                     state: "visible" 0.0;
129                     inherit: "default" 0.0;
130                     visible: 1;
131                 }
132             }
133             ADD_SPACER("spacer_4", "rss_button", 10, 70)
134             part { name: "setting_button";
135                 type : SWALLOW;
136                 scale: 1;
137                 description {
138                     state: "default" 0.0;
139                     visible: 1;
140                     fixed: 1 1;
141                     align: 0.0 0.0;
142                     min: 70 70;
143                     max: 70 70;
144                     fixed: 1 1;
145                     rel1 { relative: 1.0 0.0; to: "spacer_4"; }
146                     rel2 { relative: 0.0 0.0; }
147                 }
148                 description {
149                     state: "hidden" 0.0;
150                     inherit: "default" 0.0;
151                     visible: 0;
152                 }
153                 description {
154                     state: "visible" 0.0;
155                     inherit: "default" 0.0;
156                     visible: 1;
157                 }
158             }
159         }
160     }
161 }