Task TT-75 Implement "Main page loading UI" view
[profile/tv/apps/web/browser.git] / services / SimpleUI / edc / LeftButtonBar.edc
1 #include "ImageButton.edc"
2 #include "Spacer.edc"
3
4 collections {
5
6 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_prev", 82, 102, "btn_bar_back_nor.png")
7
8 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_next", 82, 102, "btn_bar_forward_nor.png")
9
10 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_reload", 82, 102, "btn_bar_reload_nor.png")
11
12 FOUR_STATE_IMAGE_BUTTON("browser/toolbar_stop", 82, 102, "btn_bar_stop_nor.png")
13
14     group {
15         name: "left_button_bar";
16
17         parts {
18
19             part { name: "prev_button";
20                 type : SWALLOW;
21                 scale: 1;
22                 description {
23                     state: "default" 0.0;
24                     visible: 1;
25                     align: 0.0 0.0;
26                     fixed: 1 1;
27                     min: 70 70;
28                     max: 70 70;
29                     rel1 { relative: 0.0 0.0; }
30                     rel2 { relative: 0.0 0.0; }
31                 }
32                 description {
33                     state: "hidden" 0.0;
34                     inherit: "default" 0.0;
35                     visible: 0;
36                 }
37                 description {
38                     state: "visible" 0.0;
39                     inherit: "default" 0.0;
40                     visible: 1;
41                 }
42             }
43
44             ADD_SPACER("spacer_1", "prev_button", 10, 70)
45
46             part { name: "next_button";
47                 type : SWALLOW;
48                 scale: 1;
49                 description {
50                     state: "default" 0.0;
51                     visible: 1;
52                     align: 0.0 0.0;
53                     fixed: 1 1;
54                     min: 70 70;
55                     max: 70 70;
56                     rel1 { relative: 1.0 0.0; to: "spacer_1"; }
57                     rel2 { relative: 0.0 0.0; }
58                 }
59                 description {
60                     state: "hidden" 0.0;
61                     inherit: "default" 0.0;
62                     visible: 0;
63                 }
64                 description {
65                     state: "visible" 0.0;
66                     inherit: "default" 0.0;
67                     visible: 1;
68                 }
69             }
70
71             ADD_SPACER("spacer_2", "next_button", 10, 70)
72
73             part { name: "refresh_stop_button";
74                 type : SWALLOW;
75                 scale: 1;
76                 description {
77                     state: "default" 0.0;
78                     visible: 1;
79                     align: 0.0 0.0;
80                     fixed: 1 1;
81                     min: 70 70;
82                     max: 70 70;
83                     rel1 { relative: 1.0 0.0; to: "spacer_2"; }
84                     rel2 { relative: 0.0 0.0; }
85                 }
86                 description {
87                     state: "hidden" 0.0;
88                     inherit: "default" 0.0;
89                     visible: 0;
90                 }
91                 description {
92                     state: "visible" 0.0;
93                     inherit: "default" 0.0;
94                     visible: 1;
95                 }
96             }
97
98         }
99     }
100 }