add language pack
[framework/system/system-popup.git] / edcs / usbotg-unmount.edc
1 #define MAIN_W 480
2 #define MAIN_H 800
3 #define POPUP_MAIN_W 458
4 #define POPUP_MAIN_H 240
5
6 collections
7 {
8         group
9         {
10
11                         name: "main";
12                         min: MAIN_W MAIN_H;
13                         parts {
14                                         part
15                                         {
16                                           name: "background";
17                                           type: RECT;
18                                           mouse_events: 1;
19                                           description {
20                                                         state: "default" 0.0;
21                                                         rel1 { relative: 0 0; offset: 0 0; }
22                                                         rel2 { relative: 1 1; offset: -1 -1; }
23                                                         color: 0 0 0 100;
24                                                 }
25                                         }
26
27                                         part
28                                         {
29                                                 name: "txt_title";
30                                                 type: TEXT;
31                                                 mouse_events: 1;
32                                                 description {
33                                                         state: "default" 0.0;
34                                                         rel1 { relative: 0.0 0.0; to: background; }
35                                                         rel2 { relative: 1.0 0.5; to: background; }
36                                                         text { text_class: "tc_default"; align: 0.5 0.5; }
37                                                         color: 255 255 255 255;
38                                                 }
39                                         }
40
41                                         part
42                                         {
43                                                 name: "txt_mesg";
44                                                 type: TEXT;
45                                                 mouse_events: 1;
46                                                 description {
47                                                         state: "default" 0.0;
48                                                         rel1 { relative: 0.0 0.5; to: background; }
49                                                         rel2 { relative: 1.0 1.0; to: background; }
50                                                         text { text_class: "tc_default"; align: 0.5 0.5; }
51                                                         color: 255 255 255 255;
52                                                 }
53                                         }
54                 }
55
56                 programs {
57                                         program
58                                         {
59                                                 name: "click_exit";
60                                                 source: "background";
61                                                 signal: "mouse,clicked,1";
62                                                 action: SIGNAL_EMIT "update_clicked" "background";
63                                         }
64                                 }
65         }
66
67
68    group
69    {
70                         name: "popup";
71                         min: POPUP_MAIN_W POPUP_MAIN_H;
72                         parts
73                         {
74                                 part {
75                                 name: "background";
76                                 type: RECT;
77                                 mouse_events: 1;
78                                 description {
79                                         state: "default" 0.0;
80                                         rel1 { relative: 0.0 0.0; offset: 0 0; }
81                                         rel2 { relative: 1.0 1.0; offset: -1 -1; }
82                                         color: 0 0 0 0;
83                                         }
84                                 }
85
86                                 part {
87                                 name: "txt_title";
88                                 type: TEXT;
89                                 mouse_events: 1;
90                                 description {
91                                         state: "default" 0.0;
92                                         rel1 { relative: 0.0 0.0; to: background; }
93                                         rel2 { relative: 1.0 0.5; to: background; }
94                                         text { text_class: "tc_default"; align: 0.5 0.5; }
95                                         color: 0 0 0 0;
96                                         }
97                                 }
98
99                                 part {
100                                 name: "txt_mesg";
101                                 type: TEXT;
102                                 mouse_events: 1;
103                                 description {
104                                         state: "default" 0.0;
105                                         rel1 { relative: 0.0 0.5; to: background; }
106                                         rel2 { relative: 1.0 1.0; to: background; }
107                                         text { text_class: "GP_Latin"; align: 0.5 0.5; }
108                                         color: 255 255 255 255;
109                                         }
110                                 }
111                 }
112
113                 programs
114                 {
115                                 program
116                                 {
117                                         name: "bg_click";
118                                         signal: "mouse,down,1";
119                                         source: "bg";
120                                         action, SIGNAL_EMIT "background_click" "background";
121                                 }
122                 }
123         }
124 }