diff options
author | discomfitor <michael.blumenkrantz@gmail.com> | 2013-08-26 20:01:43 +0100 |
---|---|---|
committer | discomfitor <michael.blumenkrantz@gmail.com> | 2013-08-26 20:02:45 +0100 |
commit | ec250b84878179a0bf6970cd4e5a805b77bd4d63 (patch) | |
tree | 4e05bf53b0345261914c942533d62a7af35098f0 /data | |
parent | b812d4d08bab150eea8156f17b1b990f8a8d6e56 (diff) |
add list overlay for info
Diffstat (limited to 'data')
-rw-r--r-- | data/themes/list_basic.edc | 53 |
1 files changed, 47 insertions, 6 deletions
diff --git a/data/themes/list_basic.edc b/data/themes/list_basic.edc index a4ed924..b65f384 100644 --- a/data/themes/list_basic.edc +++ b/data/themes/list_basic.edc | |||
@@ -40,11 +40,6 @@ collections { | |||
40 | } | 40 | } |
41 | } | 41 | } |
42 | parts { | 42 | parts { |
43 | part { name: "base"; type: RECT; | ||
44 | description { state: "default"; | ||
45 | color: 0 0 0 255; | ||
46 | } | ||
47 | } | ||
48 | part { name: "color_clip"; type: RECT; | 43 | part { name: "color_clip"; type: RECT; |
49 | description { state: "default"; | 44 | description { state: "default"; |
50 | color: 255 255 255 255; | 45 | color: 255 255 255 255; |
@@ -71,8 +66,8 @@ collections { | |||
71 | } | 66 | } |
72 | } | 67 | } |
73 | part { name: "img"; clip_to: "clip"; | 68 | part { name: "img"; clip_to: "clip"; |
69 | scale: 1; | ||
74 | description { state: "default"; | 70 | description { state: "default"; |
75 | min: 16 16; | ||
76 | aspect: 1.0 1.0; | 71 | aspect: 1.0 1.0; |
77 | aspect_preference: BOTH; | 72 | aspect_preference: BOTH; |
78 | image.normal: "arrows_both.png"; | 73 | image.normal: "arrows_both.png"; |
@@ -154,4 +149,50 @@ collections { | |||
154 | #endif | 149 | #endif |
155 | ICON("userunknown", 16, 0, 5, -6); | 150 | ICON("userunknown", 16, 0, 5, -6); |
156 | 151 | ||
152 | group { name: "info_mover"; | ||
153 | parts { | ||
154 | part { name: "swallow.mover"; type: SWALLOW; | ||
155 | scale: 1; | ||
156 | description { state: "default" 0.0; | ||
157 | fixed: 1 1; | ||
158 | visible: 0; | ||
159 | rel1 { | ||
160 | relative: 1.0 0.0; | ||
161 | offset: 888 8; | ||
162 | } | ||
163 | rel2 { | ||
164 | relative: 1.0 1.0; | ||
165 | offset: 8 -9; | ||
166 | } | ||
167 | } | ||
168 | description { state: "visible" 0.0; | ||
169 | inherit: "default" 0.0; | ||
170 | visible: 1; | ||
171 | rel1 { | ||
172 | relative: 0 0; | ||
173 | offset: 8 8; | ||
174 | } | ||
175 | rel2 { | ||
176 | offset: -9 -9; | ||
177 | } | ||
178 | } | ||
179 | } | ||
180 | } | ||
181 | program { name: "show"; | ||
182 | signal: "s2.show"; source: "s2"; | ||
183 | action: STATE_SET "visible" 0.0; | ||
184 | transition: LINEAR 0.3; | ||
185 | target: "swallow.mover"; | ||
186 | } | ||
187 | program { | ||
188 | signal: "s2.hide"; source: "s2"; | ||
189 | action: STATE_SET "default" 0.0; | ||
190 | transition: LINEAR 0.3 CURRENT; | ||
191 | target: "swallow.mover"; | ||
192 | after: "hide_after"; | ||
193 | } | ||
194 | program { name: "hide_after"; | ||
195 | action: SIGNAL_EMIT "s2.hide.done" ""; | ||
196 | } | ||
197 | } | ||
157 | } | 198 | } |