diff options
Diffstat (limited to 'libraries/elementary/data/themes/widgets/win.edc')
-rw-r--r-- | libraries/elementary/data/themes/widgets/win.edc | 246 |
1 files changed, 246 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/win.edc b/libraries/elementary/data/themes/widgets/win.edc new file mode 100644 index 0000000..bcdf78b --- /dev/null +++ b/libraries/elementary/data/themes/widgets/win.edc | |||
@@ -0,0 +1,246 @@ | |||
1 | group { name: "elm/win/inwin/default"; | ||
2 | images { | ||
3 | image: "shad_circ.png" COMP; | ||
4 | image: "bt_dis_base.png" COMP; | ||
5 | image: "bt_dis_hilight.png" COMP; | ||
6 | } | ||
7 | parts { | ||
8 | part { name: "base"; | ||
9 | type: RECT; | ||
10 | mouse_events: 1; | ||
11 | description { state: "default" 0.0; | ||
12 | color: 0 0 0 0; | ||
13 | } | ||
14 | description { state: "visible" 0.0; | ||
15 | inherit: "default" 1.0; | ||
16 | color: 0 0 0 64; | ||
17 | } | ||
18 | } | ||
19 | part { name: "shad"; | ||
20 | mouse_events: 0; | ||
21 | description { state: "default" 0.0; | ||
22 | image.normal: "shad_circ.png"; | ||
23 | rel1.to: "elm.swallow.content"; | ||
24 | rel1.offset: -64 -64; | ||
25 | rel2.to: "elm.swallow.content"; | ||
26 | rel2.offset: 63 63; | ||
27 | fill.smooth: 0; | ||
28 | } | ||
29 | } | ||
30 | part { name: "pop"; | ||
31 | mouse_events: 1; | ||
32 | description { state: "default" 0.0; | ||
33 | rel1.to: "elm.swallow.content"; | ||
34 | rel1.offset: -5 -5; | ||
35 | rel2.to: "elm.swallow.content"; | ||
36 | rel2.offset: 4 4; | ||
37 | image { | ||
38 | normal: "bt_dis_base.png"; | ||
39 | border: 4 4 4 4; | ||
40 | } | ||
41 | image.middle: SOLID; | ||
42 | } | ||
43 | } | ||
44 | part { name: "popover"; | ||
45 | mouse_events: 0; | ||
46 | description { state: "default" 0.0; | ||
47 | rel1.to: "pop"; | ||
48 | rel2.to: "pop"; | ||
49 | rel2.relative: 1.0 0.5; | ||
50 | image { | ||
51 | normal: "bt_dis_hilight.png"; | ||
52 | border: 4 4 4 0; | ||
53 | } | ||
54 | } | ||
55 | } | ||
56 | part { name: "elm.swallow.content"; | ||
57 | type: SWALLOW; | ||
58 | description { state: "default" 0.0; | ||
59 | rel1.relative: 0.1 0.1; | ||
60 | rel2.relative: 0.9 0.9; | ||
61 | } | ||
62 | } | ||
63 | } | ||
64 | programs { | ||
65 | program { name: "show"; | ||
66 | signal: "elm,action,show"; | ||
67 | source: "elm"; | ||
68 | action: STATE_SET "visible" 0.0; | ||
69 | // transition: DECELERATE 0.5; | ||
70 | target: "base"; | ||
71 | } | ||
72 | program { name: "hide"; | ||
73 | signal: "elm,action,hide"; | ||
74 | source: "elm"; | ||
75 | action: STATE_SET "default" 0.0; | ||
76 | // transition: DECELERATE 0.5; | ||
77 | target: "base"; | ||
78 | } | ||
79 | } | ||
80 | } | ||
81 | |||
82 | group { name: "elm/win/inwin/minimal"; | ||
83 | images { | ||
84 | image: "shad_circ.png" COMP; | ||
85 | image: "bt_dis_base.png" COMP; | ||
86 | image: "bt_dis_hilight.png" COMP; | ||
87 | } | ||
88 | parts { | ||
89 | part { name: "base"; | ||
90 | type: RECT; | ||
91 | mouse_events: 1; | ||
92 | description { state: "default" 0.0; | ||
93 | color: 0 0 0 0; | ||
94 | } | ||
95 | description { state: "visible" 0.0; | ||
96 | inherit: "default" 1.0; | ||
97 | color: 0 0 0 64; | ||
98 | } | ||
99 | } | ||
100 | part { name: "shad"; | ||
101 | mouse_events: 0; | ||
102 | description { state: "default" 0.0; | ||
103 | image.normal: "shad_circ.png"; | ||
104 | rel1.to: "elm.swallow.content"; | ||
105 | rel1.offset: -64 -64; | ||
106 | rel2.to: "elm.swallow.content"; | ||
107 | rel2.offset: 63 63; | ||
108 | fill.smooth: 0; | ||
109 | } | ||
110 | } | ||
111 | part { name: "pop"; | ||
112 | mouse_events: 1; | ||
113 | description { state: "default" 0.0; | ||
114 | rel1.to: "elm.swallow.content"; | ||
115 | rel1.offset: -5 -5; | ||
116 | rel2.to: "elm.swallow.content"; | ||
117 | rel2.offset: 4 4; | ||
118 | image { | ||
119 | normal: "bt_dis_base.png"; | ||
120 | border: 4 4 4 4; | ||
121 | } | ||
122 | image.middle: SOLID; | ||
123 | } | ||
124 | } | ||
125 | part { name: "popover"; | ||
126 | mouse_events: 0; | ||
127 | description { state: "default" 0.0; | ||
128 | rel1.to: "pop"; | ||
129 | rel2.to: "pop"; | ||
130 | rel2.relative: 1.0 0.5; | ||
131 | image { | ||
132 | normal: "bt_dis_hilight.png"; | ||
133 | border: 4 4 4 0; | ||
134 | } | ||
135 | } | ||
136 | } | ||
137 | part { name: "elm.swallow.content"; | ||
138 | type: SWALLOW; | ||
139 | description { state: "default" 0.0; | ||
140 | fixed: 1 1; | ||
141 | rel1.relative: 0.5 0.5; | ||
142 | rel2.relative: 0.5 0.5; | ||
143 | } | ||
144 | } | ||
145 | } | ||
146 | programs { | ||
147 | program { name: "show"; | ||
148 | signal: "elm,action,show"; | ||
149 | source: "elm"; | ||
150 | action: STATE_SET "visible" 0.0; | ||
151 | // transition: DECELERATE 0.5; | ||
152 | target: "base"; | ||
153 | } | ||
154 | program { name: "hide"; | ||
155 | signal: "elm,action,hide"; | ||
156 | source: "elm"; | ||
157 | action: STATE_SET "default" 0.0; | ||
158 | // transition: DECELERATE 0.5; | ||
159 | target: "base"; | ||
160 | } | ||
161 | } | ||
162 | } | ||
163 | |||
164 | group { name: "elm/win/inwin/minimal_vertical"; | ||
165 | images { | ||
166 | image: "shad_circ.png" COMP; | ||
167 | image: "bt_dis_base.png" COMP; | ||
168 | image: "bt_dis_hilight.png" COMP; | ||
169 | } | ||
170 | parts { | ||
171 | part { name: "base"; | ||
172 | type: RECT; | ||
173 | mouse_events: 1; | ||
174 | description { state: "default" 0.0; | ||
175 | color: 0 0 0 0; | ||
176 | } | ||
177 | description { state: "visible" 0.0; | ||
178 | inherit: "default" 1.0; | ||
179 | color: 0 0 0 64; | ||
180 | } | ||
181 | } | ||
182 | part { name: "shad"; | ||
183 | mouse_events: 0; | ||
184 | description { state: "default" 0.0; | ||
185 | image.normal: "shad_circ.png"; | ||
186 | rel1.to: "elm.swallow.content"; | ||
187 | rel1.offset: -64 -64; | ||
188 | rel2.to: "elm.swallow.content"; | ||
189 | rel2.offset: 63 63; | ||
190 | fill.smooth: 0; | ||
191 | } | ||
192 | } | ||
193 | part { name: "pop"; | ||
194 | mouse_events: 1; | ||
195 | description { state: "default" 0.0; | ||
196 | rel1.to: "elm.swallow.content"; | ||
197 | rel1.offset: -5 -5; | ||
198 | rel2.to: "elm.swallow.content"; | ||
199 | rel2.offset: 4 4; | ||
200 | image { | ||
201 | normal: "bt_dis_base.png"; | ||
202 | border: 4 4 4 4; | ||
203 | } | ||
204 | image.middle: SOLID; | ||
205 | } | ||
206 | } | ||
207 | part { name: "popover"; | ||
208 | mouse_events: 0; | ||
209 | description { state: "default" 0.0; | ||
210 | rel1.to: "pop"; | ||
211 | rel2.to: "pop"; | ||
212 | rel2.relative: 1.0 0.5; | ||
213 | image { | ||
214 | normal: "bt_dis_hilight.png"; | ||
215 | border: 4 4 4 0; | ||
216 | } | ||
217 | } | ||
218 | } | ||
219 | part { name: "elm.swallow.content"; | ||
220 | type: SWALLOW; | ||
221 | description { state: "default" 0.0; | ||
222 | fixed: 1 1; | ||
223 | rel1.relative: 0.1 0.5; | ||
224 | rel2.relative: 0.9 0.5; | ||
225 | } | ||
226 | } | ||
227 | } | ||
228 | programs { | ||
229 | program { name: "show"; | ||
230 | signal: "elm,action,show"; | ||
231 | source: "elm"; | ||
232 | action: STATE_SET "visible" 0.0; | ||
233 | // transition: DECELERATE 0.5; | ||
234 | target: "base"; | ||
235 | } | ||
236 | program { name: "hide"; | ||
237 | signal: "elm,action,hide"; | ||
238 | source: "elm"; | ||
239 | action: STATE_SET "default" 0.0; | ||
240 | // transition: DECELERATE 0.5; | ||
241 | target: "base"; | ||
242 | } | ||
243 | } | ||
244 | } | ||
245 | |||
246 | /////////////////////////////////////////////////////////////////////////////// | ||