cc3c65c04aafb7f738e27217dc458a849c6a7d53
[platform/framework/web/crosswalk-tizen.git] / runtime / resources / xwalk_tizen.edc
1 collections {
2     group {
3         name: "web-application";
4         parts {
5             part {
6                 name: "base";
7                 scale: 1;
8                 type: RECT;
9                 description {
10                     state: "default" 0.0;
11                     fixed: 1 1;
12                     rel1 { relative: 0 0; }
13                     rel2 { relative: 1 1; }
14                     color: 0 0 0 255;
15                 }
16                 description {
17                     state: "transparent" 0.0;
18                     inherit: "default" 0.0;
19                     color: 0 0 0 0;
20                 }
21             }
22             part {
23                 name: "elm.swallow.content";
24                 scale: 1;
25                 type: SWALLOW;
26                 description {
27                     state: "default" 0.0;
28                     fixed: 1 1;
29                     rel1 { relative: 0.0 0.0; to: base; }
30                     rel2 { relative: 1.0 1.0; to: base; }
31                     align: 0.0 0.0;
32
33                 }
34                 /* ratio 1x1 (only for gear3) */
35                 description {
36                     state: "ratio1x1" 0.0;
37                     fixed: 1 1;
38                     aspect: 1 1;
39                     aspect_preference: BOTH;
40                     align: 0.5 0.5;
41                 }
42             }
43             part {
44                 name: "elm.swallow.progress";
45                 scale: 1;
46                 type: SWALLOW;
47                 description {
48                     state: "default" 0.0;
49                     visible: 0;
50                     fixed: 0 1;
51                     rel1 { relative: 0.0 0.0; }
52                     rel2 { relative: 1.0 0.0; }
53                     align: 0.5 0.0;
54                 }
55                 description {
56                     state: "visible" 0.0;
57                     inherit: "default" 0.0;
58                     visible: 1;
59                 }
60             }
61         }//end of parts
62         programs {
63             program { name: "show,progress";
64                 signal: "show,progress,signal";
65                 action: STATE_SET "visible" 0.0;
66                 target: "elm.swallow.progress";
67             }
68             program { name: "hide,progress";
69                 signal: "hide,progress,signal";
70                 action: STATE_SET "default" 0.0;
71                 target: "elm.swallow.progress";
72             }
73             program { name: "show,transparent";
74                 signal: "show,transparent,signal";
75                 action: STATE_SET "transparent" 0.0;
76                 target: "base";
77             }
78             program { name: "hide,transparent";
79                 signal: "hide,transparent,signal";
80                 action: STATE_SET "default" 0.0;
81                 target: "base";
82             }
83             /* Webview ratio control (for gear3) */
84             program { name: "1x1,ratio";
85                 signal: "1x1,ratio,signal";
86                 action: STATE_SET "ratio1x1" 0.0;
87                 target: "elm.swallow.content";
88             }
89             program { name: "natural,ratio";
90                 signal: "natural,ratio,signal";
91                 action: STATE_SET "default" 0.0;
92                 target: "elm.swallow.content";
93             }
94         }//end of programs
95     }//end of group
96
97     group {
98         name: "PopupTextEntrySet";
99         parts{
100             part {
101                 name: "entry.rectangle";
102                 scale: 1;
103                 type: SWALLOW;
104                 description {
105                     state: "default" 0.0;
106                 }
107             }
108             part{
109                 name: "entry.text";
110                 type: TEXT;
111                 scale: 1;
112                 description {
113                     state: "default" 0.0;
114                     fixed: 1 1;
115                     color: 168 168 168 255;
116                     rel1 {
117                         relative: 0.0 0.0;
118                     }
119                     rel2 {
120                         relative: 0.25 1.0;
121                     }
122                     text {
123                         font : "Tizen tyle=Medium";
124                         size : 15;
125                     }
126                 }
127             }
128             part{
129                 name: "entry.swallow";
130                 type: SWALLOW;
131                 scale: 1;
132                 description {
133                     state: "default" 0.0;
134                     fixed: 1 1;
135                     rel1 {
136                         relative: 0.3 0.0;
137                     }
138                     rel2 {
139                         relative: 0.7 1.0;
140                     }
141                 }
142             }
143         } //end of parts
144     } //end of group
145 } //end of collection