upload tizen1.0 source
[pkgs/n/native-installer.git] / frontend / ui / layout / c-empty.edc
1 /*
2  *  native-installer
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>, Jaeho Lee <jaeho81.lee@samsung.com>, Shobhit Srivastava <shobhit.s@samsung.com>
7  * 
8  * This library is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License as published by the
10  * Free Software Foundation; either version 2.1 of the License, or (at your option)
11  * any later version.
12  * 
13  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; if not, write to the Free Software Foundation, Inc., 51
20  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  */
23
24 #define FONT_TITLE_NAME "system_title"  //"system_title"
25 #define FONT_CONTENT_NAME "system_content"      //"system_content"
26 #define FONT_SUBCONTENT_NAME "system_subcontent"        //"system_subcontent"
27
28 #define MAIN_H 480
29 #define MAIN_W 800
30
31 #define RESOURCE_PATH   ui/res/icon
32
33 images {
34         image: "ui/res/icon/image_editor_button_cancel.png" COMP;
35 }
36         
37 styles{
38         style 
39         { 
40                 name: "info_style";
41                 base: "font=system_content font_size=24  align=left color=#ffffff linesize =20 ";
42                 //tag:  "br" "\n";
43                 tag:  "tab" "\t";
44                 tag:  "em" "+ font=system_content:style=Oblique";
45                 tag:  "b" "+ font=system_content:style=Bold"; 
46                 tag:  "link" "+ color=#800 underline=on underline_color=#8008";
47                 tag:  "hilight" "+ font=system_content:style=Bold";
48         }
49 }
50
51 collections {
52         group{ name: "main";
53                 parts {
54                         part { 
55                                 name: "background_main";
56                                 type: RECT;
57                                 mouse_events: 1;
58                                 description
59                                 {
60                                         state: "default" 0.0;
61                                         visible :1;
62                                         rel1 {  relative: 0.0 0.0;  }
63                                         rel2 {  relative: 1.0 1.0;  }
64                                         color:0 0 0 255;
65                     }
66                 }
67                         part { 
68                                 name: "titlebar";
69                                 type: RECT;
70                                 mouse_events: 1;
71                                 description
72                                 {
73                                         state: "default" 0.0;
74                                         visible :1;
75                                         rel1 {  relative: 0.0 0.05;  }
76                                         rel2 {  relative: 1.0 0.1;  }
77                                         color:0 0 0 255;
78                     }
79                 }               
80                         part { 
81                                 name: "title";
82                                 type: TEXT; 
83                                 mouse_events: 0; 
84                                 description
85                                 {
86                                         state: "default" 0.0;
87                                         rel1 { relative: 0.0 0.0; to: "titlebar"; }
88                                         rel2 { relative: 0.9 1.0;  to: "titlebar"; }
89                                 text {
90                                 text: "native installation";
91                                 font: FONT_TITLE_NAME;
92                                 size:   30;
93                                      } 
94                                 }
95                               }
96                         part { 
97                                 name: "exit_btn";
98                                 type: IMAGE; 
99                                 mouse_events: 1; 
100                                 description
101                                 {
102                                         state: "default" 0.0;
103                                         min: 30 30;
104                                         max: 40 40;
105                                         fixed: 1 1;
106                                         rel1 { relative: 0.9 0.0; to: "titlebar"; }
107                                         rel2 { relative: 1.0 1.0; to: "titlebar"; }
108                                         image { normal: "ui/res/icon/image_editor_button_cancel.png"; } 
109                  }
110                                 description
111                                 {
112                                         state: "hide" 0.0;
113                                         visible :0;
114                 }
115                         }
116
117                         part { 
118                                 name: "details_scroller_bg";
119                                 type: RECT; 
120                                 mouse_events: 0; 
121                                 description
122                                 {
123                                         state: "default" 0.0;
124                                         visible :1;
125                                         rel1 { relative: 0.0 0.1; to: "background_main"; }
126                                         rel2 { relative: 1.0 0.6; to: "background_main"; }                                      
127                                         color: 255 255 255 255;
128                 }
129                         }                       
130                         part { 
131                                 name: "details_scroller";
132                                 type: SWALLOW; 
133                                 mouse_events: 1; 
134                                 description
135                                 {
136                                         state: "default" 0.0;
137                                         fixed: 1 1;                             
138                                         rel1 { relative: 0.0 0.0; to: "details_scroller_bg"; }
139                                         rel2 { relative: 1.0 1.0; to: "details_scroller_bg"; }
140                 }
141                         }
142                         
143                 }       
144                 
145                 programs {
146                         program { 
147                                 name: "exit_btn_clicked"; 
148                                 signal: "mouse,clicked,1"; 
149                                 source: "exit_btn"; 
150                                 script { 
151                                         emit("clicked", "EXIT"); 
152                                 } 
153                         }
154                         program { 
155                                 name: "exit_btn_hide"; 
156                                 signal: "exit_btn ,hide"; 
157                                 source: "exit_btn"; 
158                                 action: STATE_SET "hide" 0.0;
159                                 target: "exit_btn";
160                         }
161                         program { 
162                                 name: "exit_btn_show"; 
163                                 signal: "exit_btn ,show"; 
164                                 source: "exit_btn"; 
165                                 action: STATE_SET "default" 0.0;
166                                 target: "exit_btn";
167                         }                       
168                 } // programs
169         } // groups
170 }
171