summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-21 01:37:07 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-21 01:37:07 +0000
commit31d44a2ffd8fb0a36be3854022acea0445e4c59f (patch)
tree511ce2d466a90e662f9b01c3bab53454f78769b0 /data
parentb1426bf022ac280444d3b545eb558fcb5012abb7 (diff)
TH - efl scroller
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/efl/panel.edc24
-rw-r--r--data/elementary/themes/edc/efl/scroller.edc1164
2 files changed, 402 insertions, 786 deletions
diff --git a/data/elementary/themes/edc/efl/panel.edc b/data/elementary/themes/edc/efl/panel.edc
index 45a3c7f740..4dfc85a5a8 100644
--- a/data/elementary/themes/edc/efl/panel.edc
+++ b/data/elementary/themes/edc/efl/panel.edc
@@ -56,7 +56,7 @@ group { name: "efl/scroller/panel/left";
56 visible: 1; 56 visible: 1;
57 } 57 }
58 } 58 }
59 part { name: "efl.swallow.content"; type: SWALLOW; 59 part { name: "efl.content"; type: SWALLOW;
60 description { state: "default" 0.0; 60 description { state: "default" 0.0;
61 rel.to: "efl.panel_area"; 61 rel.to: "efl.panel_area";
62 visible: 0; 62 visible: 0;
@@ -73,14 +73,14 @@ group { name: "efl/scroller/panel/left";
73 target: "efl.panel_area"; 73 target: "efl.panel_area";
74 target: "efl.event_area"; 74 target: "efl.event_area";
75 target: "bg"; 75 target: "bg";
76 target: "efl.swallow.content"; 76 target: "efl.content";
77 } 77 }
78 program { signal: "efl,state,content,hidden"; source: "efl"; 78 program { signal: "efl,state,content,hidden"; source: "efl";
79 action: STATE_SET "default" 0.0; 79 action: STATE_SET "default" 0.0;
80 target: "efl.panel_area"; 80 target: "efl.panel_area";
81 target: "efl.event_area"; 81 target: "efl.event_area";
82 target: "bg"; 82 target: "bg";
83 target: "efl.swallow.content"; 83 target: "efl.content";
84 } 84 }
85 } 85 }
86} 86}
@@ -139,7 +139,7 @@ group { name: "efl/scroller/panel/right";
139 visible: 1; 139 visible: 1;
140 } 140 }
141 } 141 }
142 part { name: "efl.swallow.content"; type: SWALLOW; 142 part { name: "efl.content"; type: SWALLOW;
143 description { state: "default" 0.0; 143 description { state: "default" 0.0;
144 rel1.to: "efl.panel_area"; 144 rel1.to: "efl.panel_area";
145 rel2.to: "efl.panel_area"; 145 rel2.to: "efl.panel_area";
@@ -157,14 +157,14 @@ group { name: "efl/scroller/panel/right";
157 target: "efl.panel_area"; 157 target: "efl.panel_area";
158 target: "efl.event_area"; 158 target: "efl.event_area";
159 target: "bg"; 159 target: "bg";
160 target: "efl.swallow.content"; 160 target: "efl.content";
161 } 161 }
162 program { signal: "efl,state,content,hidden"; source: "efl"; 162 program { signal: "efl,state,content,hidden"; source: "efl";
163 action: STATE_SET "default" 0.0; 163 action: STATE_SET "default" 0.0;
164 target: "efl.panel_area"; 164 target: "efl.panel_area";
165 target: "efl.event_area"; 165 target: "efl.event_area";
166 target: "bg"; 166 target: "bg";
167 target: "efl.swallow.content"; 167 target: "efl.content";
168 } 168 }
169 } 169 }
170} 170}
@@ -223,7 +223,7 @@ group { name: "efl/scroller/panel/top";
223 visible: 1; 223 visible: 1;
224 } 224 }
225 } 225 }
226 part { name: "efl.swallow.content"; type: SWALLOW; 226 part { name: "efl.content"; type: SWALLOW;
227 description { state: "default" 0.0; 227 description { state: "default" 0.0;
228 rel1.to: "efl.panel_area"; 228 rel1.to: "efl.panel_area";
229 rel2.to: "efl.panel_area"; 229 rel2.to: "efl.panel_area";
@@ -241,14 +241,14 @@ group { name: "efl/scroller/panel/top";
241 target: "efl.panel_area"; 241 target: "efl.panel_area";
242 target: "efl.event_area"; 242 target: "efl.event_area";
243 target: "bg"; 243 target: "bg";
244 target: "efl.swallow.content"; 244 target: "efl.content";
245 } 245 }
246 program { signal: "efl,state,content,hidden"; source: "efl"; 246 program { signal: "efl,state,content,hidden"; source: "efl";
247 action: STATE_SET "default" 0.0; 247 action: STATE_SET "default" 0.0;
248 target: "efl.panel_area"; 248 target: "efl.panel_area";
249 target: "efl.event_area"; 249 target: "efl.event_area";
250 target: "bg"; 250 target: "bg";
251 target: "efl.swallow.content"; 251 target: "efl.content";
252 } 252 }
253 } 253 }
254} 254}
@@ -299,7 +299,7 @@ group { name: "efl/scroller/panel/bottom";
299 visible: 1; 299 visible: 1;
300 } 300 }
301 } 301 }
302 part { name: "efl.swallow.content"; type: SWALLOW; 302 part { name: "efl.content"; type: SWALLOW;
303 description { state: "default" 0.0; 303 description { state: "default" 0.0;
304 rel.to: "efl.panel_area"; 304 rel.to: "efl.panel_area";
305 visible: 0; 305 visible: 0;
@@ -316,14 +316,14 @@ group { name: "efl/scroller/panel/bottom";
316 target: "efl.panel_area"; 316 target: "efl.panel_area";
317 target: "efl.event_area"; 317 target: "efl.event_area";
318 target: "bg"; 318 target: "bg";
319 target: "efl.swallow.content"; 319 target: "efl.content";
320 } 320 }
321 program { signal: "efl,state,content,hidden"; source: "efl"; 321 program { signal: "efl,state,content,hidden"; source: "efl";
322 action: STATE_SET "default" 0.0; 322 action: STATE_SET "default" 0.0;
323 target: "efl.panel_area"; 323 target: "efl.panel_area";
324 target: "efl.event_area"; 324 target: "efl.event_area";
325 target: "bg"; 325 target: "bg";
326 target: "efl.swallow.content"; 326 target: "efl.content";
327 } 327 }
328 } 328 }
329} 329}
diff --git a/data/elementary/themes/edc/efl/scroller.edc b/data/elementary/themes/edc/efl/scroller.edc
index 688a1aec49..e90a54273b 100644
--- a/data/elementary/themes/edc/efl/scroller.edc
+++ b/data/elementary/themes/edc/efl/scroller.edc
@@ -35,118 +35,189 @@ Group: efl/scroller:popup/no_inset_shadow (@since 1.23)
35*/ 35*/
36group { name: "efl/scroller"; 36group { name: "efl/scroller";
37 data.item: "version" "123"; 37 data.item: "version" "123";
38 images.image: "inset_shadow.png" COMP;
39 images.image: "bevel_in.png" COMP;
40 images.image: "bevel_out.png" COMP;
41 images.image: "runner_horiz.png" COMP;
42 images.image: "runner_vert.png" COMP;
43 images.image: "runner_glow_horiz.png" COMP;
44 images.image: "runner_glow_vert.png" COMP;
45 images.image: "holes_tiny_horiz.png" COMP;
46 images.image: "holes_tiny_vert.png" COMP;
47 images.image: "holes_tiny_glow_horiz.png" COMP;
48 images.image: "holes_tiny_glow_vert.png" COMP;
49 images.image: "vgrad_med_lighter.png" COMP;
50 images.image: "shadow_square_tiny.png" COMP;
51 images.image: "glow_small.png" COMP;
52 images.image: "sym_left_light_normal.png" COMP;
53 images.image: "sym_right_light_normal.png" COMP;
54 images.image: "sym_up_light_normal.png" COMP;
55 images.image: "sym_down_light_normal.png" COMP;
56 images.image: "sym_left_glow_normal.png" COMP;
57 images.image: "sym_right_glow_normal.png" COMP;
58 images.image: "sym_up_glow_normal.png" COMP;
59 images.image: "sym_down_glow_normal.png" COMP;
60 images.image: "sym_up_dark_normal.png" COMP;
61 images.image: "sym_down_dark_normal.png" COMP;
62 images.image: "sym_left_dark_normal.png" COMP;
63 images.image: "sym_right_dark_normal.png" COMP;
64 38
39 images.image: "shadow_circle_horiz.png" COMP;
40 images.image: "shadow_circle_vert.png" COMP;
65 41
66 data.item: "focus_highlight" "on"; 42 data.item: "focus_highlight" "on";
67 43
68 script { 44 parts {
69 public loop_x, loop_y; 45 program { signal: "load"; source: "";
70 public action_on_pos_vbar(val) { 46 script {
71 new x, y , w, h, x1, y1 , w1, h1; 47 emit("reload", "efl");
72 48 }
73 get_geometry(PART:"y_vbar_up", x,y,w, h); 49 }
74 get_geometry(PART:"y_vbar_up_mapper", x1,y1,w1, h1);
75 50
76 if(((y1 <= y) && (y <= (y1 + h1))) && (0 == get_int(loop_y))) 51 //////////////////////////////////////////////////////////////////////
77 { 52 part { name: "bg"; type: RECT;
78 set_state(PART:"arrow1_vbar", "hidden", 0.0); 53 description { state: "default" 0.0;
79 set_state(PART:"sb_vbar_a1", "hidden", 0.0); 54 rel.to: "efl.background";
55 color: 0 0 0 0;
56 color_class: "scroller_bg";
80 } 57 }
81 else 58 }
82 { 59 part { name: "clipper"; type: RECT;
83 set_state(PART:"arrow1_vbar", "default", 0.0); 60 description { state: "default" 0.0;
84 set_state(PART:"sb_vbar_a1", "default", 0.0); 61 rel.to: "efl.background";
85 } 62 }
86 63 }
87 get_geometry(PART:"y_vbar_down", x,y,w, h); 64 part { name: "efl.background"; type: SWALLOW;
88 get_geometry(PART:"y_vbar_down_mapper", x1,y1,w1, h1); 65// scale: 1;
89 66 clip_to: "clipper";
90 if(((y1 <= (y + h)) && ((y+ h) <= (y1 + h1))) && (0 == get_int(loop_y))) 67 description { state: "default" 0.0;
91 { 68// rel1.offset: 2 2;
92 set_state(PART:"arrow2_vbar", "hidden", 0.0); 69// rel2.offset: -3 -3;
93 set_state(PART:"sb_vbar_a2", "hidden", 0.0); 70// offscale;
94 } 71 }
95 else 72 }
96 { 73 part { name: "efl.content"; type: SWALLOW;
97 set_state(PART:"arrow2_vbar", "default", 0.0); 74 clip_to: "clipper";
98 set_state(PART:"sb_vbar_a2", "default", 0.0); 75 description { state: "default" 0.0;
76 rel.to: "efl.background";
77 }
78 }
79 part { name: "efl.overlay"; type: SWALLOW;
80 clip_to: "clipper";
81 description { state: "default" 0.0;
82 rel.to: "efl.content";
99 } 83 }
100
101 if(val < 10)
102 timer(0.1,"action_on_pos_vbar", val+1);
103 } 84 }
104 85
105 public action_on_pos_hbar(val) { 86 part { name: "sh_top"; mouse_events: 0;
106 new x, y , w, h, x1, y1 , w1, h1; 87 scale: 1;
107 88 clip_to: "sh_clip";
108 get_geometry(PART:"x_hbar_left", x,y,w, h); 89 description { state: "default" 0.0;
109 get_geometry(PART:"x_hbar_left_mapper", x1,y1,w1, h1); 90 color: 255 255 255 0;
110 91 rel.to: "efl.content";
111 if(((x1 <= x) && (x <= (x1 + w1))) && (0 == get_int(loop_x))) 92 rel1.offset: 0 -1;
112 { 93 rel2.offset: -1 -1;
113 set_state(PART:"arrow1_hbar", "hidden", 0.0); 94 rel2.relative: 1.0 0.0;
114 set_state(PART:"sb_hbar_a1", "hidden", 0.0); 95 image.normal: "shadow_circle_horiz.png";
96 visible: 0;
97 offscale;
115 } 98 }
116 else 99 description { state: "visible" 0.0;
117 { 100 inherit: "default" 0.0;
118 set_state(PART:"arrow1_hbar", "default", 0.0); 101 color: 255 255 255 128;
119 set_state(PART:"sb_hbar_a1", "default", 0.0); 102 rel1.offset: 0 -16;
103 rel2.offset: -1 15;
104 visible: 1;
120 } 105 }
106 }
107 program { signal: "efl,action,show,up"; source: "efl";
108 action: STATE_SET "visible" 0.0;
109 transition: DECELERATE 0.3;
110 target: "sh_top";
111 }
112 program { signal: "efl,action,hide,up"; source: "efl";
113 action: STATE_SET "default" 0.0;
114 transition: DECELERATE 0.3;
115 target: "sh_top";
116 }
121 117
122 get_geometry(PART:"x_hbar_right", x,y,w, h); 118 part { name: "sh_bottom"; mouse_events: 0;
123 get_geometry(PART:"x_hbar_right_mapper", x1,y1,w1, h1); 119 scale: 1;
120 clip_to: "sh_clip";
121 description { state: "default" 0.0;
122 color: 255 255 255 0;
123 rel.to: "efl.content";
124 rel1.relative: 0.0 1.0;
125 rel1.offset: 0 0;
126 rel2.offset: -1 0;
127 image.normal: "shadow_circle_horiz.png";
128 visible: 0;
129 offscale;
130 }
131 description { state: "visible" 0.0;
132 inherit: "default" 0.0;
133 color: 255 255 255 128;
134 rel1.offset: 0 -16;
135 rel2.offset: -1 15;
136 visible: 1;
137 }
138 }
139 program { signal: "efl,action,show,down"; source: "efl";
140 action: STATE_SET "visible" 0.0;
141 transition: DECELERATE 0.3;
142 target: "sh_bottom";
143 }
144 program { signal: "efl,action,hide,down"; source: "efl";
145 action: STATE_SET "default" 0.0;
146 transition: DECELERATE 0.3;
147 target: "sh_bottom";
148 }
124 149
125 if(((x1 <= (x + w)) && ((x + w) <= (x1 + w1))) && (0 == get_int(loop_x))) 150 part { name: "sh_left"; mouse_events: 0;
126 { 151 scale: 1;
127 set_state(PART:"arrow2_hbar", "hidden", 0.0); 152 clip_to: "sh_clip";
128 set_state(PART:"sb_hbar_a2", "hidden", 0.0); 153 description { state: "default" 0.0;
154 color: 255 255 255 0;
155 rel.to: "efl.content";
156 rel1.offset: -1 0;
157 rel2.offset: -1 -1;
158 rel2.relative: 0.0 1.0;
159 image.normal: "shadow_circle_vert.png";
160 visible: 0;
161 offscale;
129 } 162 }
130 else 163 description { state: "visible" 0.0;
131 { 164 inherit: "default" 0.0;
132 set_state(PART:"arrow2_hbar", "default", 0.0); 165 color: 255 255 255 128;
133 set_state(PART:"sb_hbar_a2", "default", 0.0); 166 rel1.offset: -16 0;
167 rel2.offset: 15 -1;
168 visible: 1;
134 } 169 }
170 }
171 program { signal: "efl,action,show,left"; source: "efl";
172 action: STATE_SET "visible" 0.0;
173 transition: DECELERATE 0.3;
174 target: "sh_left";
175 }
176 program { signal: "efl,action,hide,left"; source: "efl";
177 action: STATE_SET "default" 0.0;
178 transition: DECELERATE 0.3;
179 target: "sh_left";
180 }
135 181
136 if(val < 10) 182 part { name: "sh_right"; mouse_events: 0;
137 timer(0.1,"action_on_pos_hbar", val+1); 183 scale: 1;
184 clip_to: "sh_clip";
185 description { state: "default" 0.0;
186 color: 255 255 255 0;
187 rel.to: "efl.content";
188 rel1.relative: 1.0 0.0;
189 rel1.offset: 0 0;
190 rel2.offset: 0 -1;
191 image.normal: "shadow_circle_vert.png";
192 visible: 0;
193 offscale;
194 }
195 description { state: "visible" 0.0;
196 inherit: "default" 0.0;
197 color: 255 255 255 128;
198 rel1.offset: -16 0;
199 rel2.offset: 15 -1;
200 visible: 1;
201 }
202 }
203 program { signal: "efl,action,show,right"; source: "efl";
204 action: STATE_SET "visible" 0.0;
205 transition: DECELERATE 0.3;
206 target: "sh_right";
207 }
208 program { signal: "efl,action,hide,right"; source: "efl";
209 action: STATE_SET "default" 0.0;
210 transition: DECELERATE 0.3;
211 target: "sh_right";
138 } 212 }
139 }
140 213
141 parts { 214 part { name: "sh_clip"; type: RECT;
142 program { 215 description { state: "default" 0.0;
143 signal: "load"; source: ""; 216 rel.to: "efl.background";
144 script {
145 emit("reload", "efl");
146 action_on_pos_vbar(0);
147 action_on_pos_hbar(0);
148 } 217 }
149 } 218 }
219 //////////////////////////////////////////////////////////////////////
220
150// vert bar //////////////////////////////////////////////////////////////// 221// vert bar ////////////////////////////////////////////////////////////////
151 part { name: "sb_vbar_show"; type: RECT; 222 part { name: "sb_vbar_show"; type: RECT;
152 description { state: "default" 0.0; 223 description { state: "default" 0.0;
@@ -170,26 +241,14 @@ group { name: "efl/scroller";
170 description { state: "hidden" 0.0; 241 description { state: "hidden" 0.0;
171 inherit: "default" 0.0; 242 inherit: "default" 0.0;
172 min: 0 0; 243 min: 0 0;
173 max: 0 99999; 244 max: 0 999999;
174 }
175 }
176 part { name: "sb_vbar_base"; type: RECT;
177 clip_to: "sb_vbar";
178 description { state: "default" 0.0;
179 color: 0 0 0 0;
180 rel1.relative: 0.0 1.0;
181 rel1.to: "sb_vbar_a1";
182 rel2.relative: 1.0 0.0;
183 rel2.to: "sb_vbar_a2";
184 fixed: 1 1;
185 } 245 }
186 } 246 }
187 part { name: "sb_vbar_p1"; type: RECT; 247 part { name: "sb_vbar_p1"; type: RECT;
188 clip_to: "sb_vbar"; 248 clip_to: "sb_vbar";
189 description { state: "default" 0.0; 249 description { state: "default" 0.0;
190 color: 0 0 0 0; 250 color: 0 0 0 0;
191 rel1.relative: 0.0 1.0; 251 rel1.to: "sb_vbar";
192 rel1.to: "sb_vbar_a1";
193 rel2.relative: 1.0 0.0; 252 rel2.relative: 1.0 0.0;
194 rel2.to: "efl.draggable.vertical_bar"; 253 rel2.to: "efl.draggable.vertical_bar";
195 fixed: 1 1; 254 fixed: 1 1;
@@ -201,24 +260,23 @@ group { name: "efl/scroller";
201 color: 0 0 0 0; 260 color: 0 0 0 0;
202 rel1.relative: 0.0 1.0; 261 rel1.relative: 0.0 1.0;
203 rel1.to: "efl.draggable.vertical_bar"; 262 rel1.to: "efl.draggable.vertical_bar";
204 rel2.relative: 1.0 0.0; 263 rel2.to: "sb_vbar";
205 rel2.to: "sb_vbar_a2";
206 fixed: 1 1; 264 fixed: 1 1;
207 } 265 }
208 } 266 }
209 part { name: "efl.draggable.vertical_bar"; type: RECT; required; 267 part { name: "efl.draggable.vertical_bar"; type: RECT;
210 clip_to: "sb_vbar"; 268 clip_to: "sb_vbar";
211 scale: 1; 269 scale: 1;
212 dragable.x: 0 0 0; 270 dragable.x: 0 0 0;
213 dragable.y: 1 1 0; 271 dragable.y: 1 1 0;
214 dragable.confine: "sb_vbar_base"; 272 dragable.confine: "sb_vbar";
215 description { state: "default" 0.0; 273 description { state: "default" 0.0;
216 fixed: 1 1; 274 fixed: 1 1;
217 min: 15 13; 275 min: 15 15;
218 rel1.relative: 0.5 0.5; 276 rel1.relative: 0.5 0.5;
219 rel1.to: "sb_vbar_base"; 277 rel1.to: "sb_vbar";
220 rel2.relative: 0.5 0.5; 278 rel2.relative: 0.5 0.5;
221 rel2.to: "sb_vbar_base"; 279 rel2.to: "sb_vbar";
222 color: 0 0 0 0; 280 color: 0 0 0 0;
223 } 281 }
224 description { state: "hidden" 0.0; 282 description { state: "hidden" 0.0;
@@ -229,6 +287,28 @@ group { name: "efl/scroller";
229 inherit: "default" 0.0; 287 inherit: "default" 0.0;
230 } 288 }
231 } 289 }
290 part { name: "sb_vbar_over"; type: RECT;
291 repeat_events: 1;
292 scale: 1;
293 description { state: "default" 0.0;
294 color: 0 0 0 0;
295 rel1.to: "sb_vbar";
296 rel1.offset: -45 0;
297 rel2.to: "sb_vbar";
298 fixed: 1 1;
299 offscale;
300 }
301 }
302 program { signal: "mouse,in"; source: "sb_vbar_over";
303 action: STATE_SET "over" 0.0;
304 transition: DECELERATE 0.2;
305 target: "base_vbar";
306 }
307 program { signal: "mouse,out"; source: "sb_vbar_over";
308 action: STATE_SET "default" 0.0;
309 transition: DECELERATE 0.2;
310 target: "base_vbar";
311 }
232 part { name: "y_vbar_up_mapper"; type: SPACER; 312 part { name: "y_vbar_up_mapper"; type: SPACER;
233 scale: 1; 313 scale: 1;
234 repeat_events: 1; 314 repeat_events: 1;
@@ -237,8 +317,8 @@ group { name: "efl/scroller";
237 max: 4 2; 317 max: 4 2;
238 fixed: 1 1; 318 fixed: 1 1;
239 align: 0.0 0.0; 319 align: 0.0 0.0;
240 rel1.to: "sb_vbar_base"; 320 rel1.to: "sb_vbar";
241 rel2.to: "sb_vbar_base"; 321 rel2.to: "sb_vbar";
242 } 322 }
243 description { state: "hidden" 0.0; 323 description { state: "hidden" 0.0;
244 inherit: "default" 0.0; 324 inherit: "default" 0.0;
@@ -271,8 +351,8 @@ group { name: "efl/scroller";
271 max: 4 2; 351 max: 4 2;
272 fixed: 1 1; 352 fixed: 1 1;
273 align: 0.0 1.0; 353 align: 0.0 1.0;
274 rel1.to: "sb_vbar_base"; 354 rel1.to: "sb_vbar";
275 rel2.to: "sb_vbar_base"; 355 rel2.to: "sb_vbar";
276 } 356 }
277 description { state: "hidden" 0.0; 357 description { state: "hidden" 0.0;
278 inherit: "default" 0.0; 358 inherit: "default" 0.0;
@@ -297,122 +377,48 @@ group { name: "efl/scroller";
297 max: 0 0; 377 max: 0 0;
298 } 378 }
299 } 379 }
300 part { name: "sb_vbar_a1"; type: RECT; 380 program { signal: "efl,vertical_bar,visible,on"; source: "efl";
301 clip_to: "sb_vbar";
302 description { state: "default" 0.0;
303 fixed: 1 1;
304 min: 15 15;
305 align: 0.5 0.0;
306 aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
307 color: 0 0 0 0;
308 rel1.to: "sb_vbar";
309 rel2.to: "sb_vbar";
310 rel2.relative: 1.0 0.0;
311 rel2.offset: -1 0;
312 }
313 description { state: "hidden" 0.0;
314 inherit: "default" 0.0;
315 min: 0 0;
316 visible: 0;
317 }
318 }
319 part { name: "sb_vbar_a2"; type: RECT;
320 clip_to: "sb_vbar";
321 description { state: "default" 0.0;
322 fixed: 1 1;
323 min: 15 15;
324 align: 0.5 1.0;
325 aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
326 color: 0 0 0 0;
327 rel1.to: "sb_vbar";
328 rel1.offset: 0 -1;
329 rel1.relative: 0.0 1.0;
330 rel2.to: "sb_vbar";
331 }
332 description { state: "hidden" 0.0;
333 inherit: "default" 0.0;
334 min: 0 0;
335 visible: 0;
336 }
337 }
338 program {
339 signal: "efl,vertical_bar,visible,on"; source: "efl";
340 action: STATE_SET "default" 0.0; 381 action: STATE_SET "default" 0.0;
341 target: "sb_vbar"; 382 target: "sb_vbar";
342 target: "sb_vbar_show"; 383 target: "sb_vbar_show";
343 target: "efl.draggable.vertical_bar"; 384 target: "efl.draggable.vertical_bar";
344 target: "sb_vbar_a1";
345 target: "sb_vbar_a2";
346 target: "y_vbar_up_mapper"; 385 target: "y_vbar_up_mapper";
347 target: "y_vbar_up"; 386 target: "y_vbar_up";
348 target: "y_vbar_down_mapper"; 387 target: "y_vbar_down_mapper";
349 target: "y_vbar_down"; 388 target: "y_vbar_down";
350 target: "arrow1_vbar_indent";
351 target: "arrow2_vbar_indent";
352 } 389 }
353 program { 390 program { signal: "efl,vertical_bar,visible,off"; source: "efl";
354 signal: "efl,vertical_bar,visible,off"; source: "efl";
355 action: STATE_SET "hidden" 0.0; 391 action: STATE_SET "hidden" 0.0;
356 target: "sb_vbar"; 392 target: "sb_vbar";
357 target: "sb_vbar_show"; 393 target: "sb_vbar_show";
358 target: "efl.draggable.vertical_bar"; 394 target: "efl.draggable.vertical_bar";
359 target: "sb_vbar_a1";
360 target: "sb_vbar_a2";
361 target: "y_vbar_up_mapper"; 395 target: "y_vbar_up_mapper";
362 target: "y_vbar_up"; 396 target: "y_vbar_up";
363 target: "y_vbar_down_mapper"; 397 target: "y_vbar_down_mapper";
364 target: "y_vbar_down"; 398 target: "y_vbar_down";
365 target: "arrow1_vbar_indent";
366 target: "arrow2_vbar_indent";
367 } 399 }
368 program { 400 program { signal: "mouse,down,1*"; source: "sb_vbar_p1";
369 signal: "mouse,down,1*"; source: "sb_vbar_a1";//ok
370 action: STATE_SET "clicked" 0.0;
371 target: "arrow1_vbar";
372 after: "anim1_up";
373 }
374 program { name: "anim1_up";
375 action: STATE_SET "default" 0.0;
376 transition: LINEAR 0.1;
377 target: "arrow1_vbar";
378 after: "drag_up";
379 }
380 program { name: "drag_up";
381 action: DRAG_VAL_STEP 0.0 -1.0;
382 target: "efl.draggable.vertical_bar";
383 }
384 program {
385 signal: "mouse,down,1*"; source: "sb_vbar_a2";//ok
386 action: STATE_SET "clicked" 0.0;
387 target: "arrow2_vbar";
388 after: "anim1_down";
389 }
390 program { name: "anim1_down";
391 action: STATE_SET "default" 0.0;
392 transition: LINEAR 0.1;
393 target: "arrow2_vbar";
394 after: "drag_down";
395 }
396 program { name: "drag_down";
397 action: DRAG_VAL_STEP 0.0 1.0;
398 target: "efl.draggable.vertical_bar";
399 }
400 program {
401 signal: "mouse,down,1*"; source: "sb_vbar_p1";
402 action: DRAG_VAL_PAGE 0.0 -1.0; 401 action: DRAG_VAL_PAGE 0.0 -1.0;
403 target: "efl.draggable.vertical_bar"; 402 target: "efl.draggable.vertical_bar";
404 } 403 }
405 program { 404 program { signal: "mouse,down,1*"; source: "sb_vbar_p2";
406 signal: "mouse,down,1*"; source: "sb_vbar_p2";
407 action: DRAG_VAL_PAGE 0.0 1.0; 405 action: DRAG_VAL_PAGE 0.0 1.0;
408 target: "efl.draggable.vertical_bar"; 406 target: "efl.draggable.vertical_bar";
409 } 407 }
410 program { 408// program { signal: "efl,action,show,up"; source: "efl";
411 signal: "efl,action,scroll"; source: "efl"; 409// }
412 script { 410// program { signal: "efl,action,show,down"; source: "efl";
413 action_on_pos_vbar(10); 411// }
414 } 412// program { signal: "efl,action,hide,up"; source: "efl";
415 } 413// }
414// program { signal: "efl,action,hide,down"; source: "efl";
415// }
416// program { signal: "efl,action,scroll"; source: "efl";
417// }
418// program { signal: "efl,loop_y,set"; source: "efl";
419// }
420// program { signal: "efl,loop_y,unset"; source: "efl";
421// }
416 422
417// horiz bar ///////////////////////////////////////////////////////////// 423// horiz bar /////////////////////////////////////////////////////////////
418 part { name: "sb_hbar_show"; type: RECT; 424 part { name: "sb_hbar_show"; type: RECT;
@@ -437,26 +443,14 @@ group { name: "efl/scroller";
437 description { state: "hidden" 0.0; 443 description { state: "hidden" 0.0;
438 inherit: "default" 0.0; 444 inherit: "default" 0.0;
439 min: 0 0; 445 min: 0 0;
440 max: 99999 0; 446 max: 999999 0;
441 }
442 }
443 part { name: "sb_hbar_base"; type: RECT;
444 clip_to: "sb_hbar";
445 description { state: "default" 0.0;
446 color: 0 0 0 0;
447 rel1.relative: 1.0 0.0;
448 rel1.to: "sb_hbar_a1";
449 rel2.relative: 0.0 1.0;
450 rel2.to: "sb_hbar_a2";
451 fixed: 1 1;
452 } 447 }
453 } 448 }
454 part { name: "sb_hbar_p1"; type: RECT; 449 part { name: "sb_hbar_p1"; type: RECT;
455 clip_to: "sb_hbar"; 450 clip_to: "sb_hbar";
456 description { state: "default" 0.0; 451 description { state: "default" 0.0;
457 color: 0 0 0 0; 452 color: 0 0 0 0;
458 rel1.relative: 1.0 0.0; 453 rel1.to: "sb_hbar";
459 rel1.to: "sb_hbar_a1";
460 rel2.relative: 0.0 1.0; 454 rel2.relative: 0.0 1.0;
461 rel2.to: "efl.draggable.horizontal_bar"; 455 rel2.to: "efl.draggable.horizontal_bar";
462 fixed: 1 1; 456 fixed: 1 1;
@@ -468,24 +462,23 @@ group { name: "efl/scroller";
468 color: 0 0 0 0; 462 color: 0 0 0 0;
469 rel1.relative: 1.0 0.0; 463 rel1.relative: 1.0 0.0;
470 rel1.to: "efl.draggable.horizontal_bar"; 464 rel1.to: "efl.draggable.horizontal_bar";
471 rel2.relative: 0.0 1.0; 465 rel2.to: "sb_hbar";
472 rel2.to: "sb_hbar_a2";
473 fixed: 1 1; 466 fixed: 1 1;
474 } 467 }
475 } 468 }
476 part { name: "efl.draggable.horizontal_bar"; type: RECT; required; 469 part { name: "efl.draggable.horizontal_bar"; type: RECT;
477 clip_to: "sb_hbar";
478 scale: 1; 470 scale: 1;
471 clip_to: "sb_hbar";
479 dragable.x: 1 1 0; 472 dragable.x: 1 1 0;
480 dragable.y: 0 0 0; 473 dragable.y: 0 0 0;
481 dragable.confine: "sb_hbar_base"; 474 dragable.confine: "sb_hbar";
482 description { state: "default" 0.0; 475 description { state: "default" 0.0;
483 fixed: 1 1; 476 fixed: 1 1;
484 min: 13 15; 477 min: 15 15;
485 rel1.relative: 0.5 0.5; 478 rel1.relative: 0.5 0.5;
486 rel1.to: "sb_hbar_base"; 479 rel1.to: "sb_hbar";
487 rel2.relative: 0.5 0.5; 480 rel2.relative: 0.5 0.5;
488 rel2.to: "sb_hbar_base"; 481 rel2.to: "sb_hbar";
489 color: 0 0 0 0; 482 color: 0 0 0 0;
490 } 483 }
491 description { state: "hidden" 0.0; 484 description { state: "hidden" 0.0;
@@ -496,6 +489,28 @@ group { name: "efl/scroller";
496 inherit: "default" 0.0; 489 inherit: "default" 0.0;
497 } 490 }
498 } 491 }
492 part { name: "sb_hbar_over"; type: RECT;
493 repeat_events: 1;
494 scale: 1;
495 description { state: "default" 0.0;
496 color: 0 0 0 0;
497 rel1.to: "sb_hbar";
498 rel1.offset: 0 -45;
499 rel2.to: "sb_hbar";
500 fixed: 1 1;
501 offscale;
502 }
503 }
504 program { signal: "mouse,in"; source: "sb_hbar_over";
505 action: STATE_SET "over" 0.0;
506 transition: DECELERATE 0.2;
507 target: "base_hbar";
508 }
509 program { signal: "mouse,out"; source: "sb_hbar_over";
510 action: STATE_SET "default" 0.0;
511 transition: DECELERATE 0.2;
512 target: "base_hbar";
513 }
499 part { name: "x_hbar_left_mapper"; type: SPACER; 514 part { name: "x_hbar_left_mapper"; type: SPACER;
500 scale: 1; 515 scale: 1;
501 repeat_events: 1; 516 repeat_events: 1;
@@ -504,8 +519,8 @@ group { name: "efl/scroller";
504 max: 2 4; 519 max: 2 4;
505 fixed: 1 1; 520 fixed: 1 1;
506 align: 0.0 1.0; 521 align: 0.0 1.0;
507 rel1.to: "sb_hbar_base"; 522 rel1.to: "sb_hbar";
508 rel2.to: "sb_hbar_base"; 523 rel2.to: "sb_hbar";
509 } 524 }
510 description { state: "hidden" 0.0; 525 description { state: "hidden" 0.0;
511 inherit: "default" 0.0; 526 inherit: "default" 0.0;
@@ -538,8 +553,8 @@ group { name: "efl/scroller";
538 max: 2 4; 553 max: 2 4;
539 fixed: 1 1; 554 fixed: 1 1;
540 align: 1.0 1.0; 555 align: 1.0 1.0;
541 rel1.to: "sb_hbar_base"; 556 rel1.to: "sb_hbar";
542 rel2.to: "sb_hbar_base"; 557 rel2.to: "sb_hbar";
543 } 558 }
544 description { state: "hidden" 0.0; 559 description { state: "hidden" 0.0;
545 inherit: "default" 0.0; 560 inherit: "default" 0.0;
@@ -564,622 +579,233 @@ group { name: "efl/scroller";
564 max: 0 0; 579 max: 0 0;
565 } 580 }
566 } 581 }
567 part { name: "sb_hbar_a1"; type: RECT; 582 program { signal: "efl,horizontal_bar,visible,on"; source: "efl";
568 clip_to: "sb_hbar";
569 description { state: "default" 0.0;
570 fixed: 1 1;
571 min: 15 15;
572 align: 0.0 0.5;
573 aspect: 1.0 1.0; aspect_preference: VERTICAL;
574 color: 0 0 0 0;
575 rel1.to: "sb_hbar";
576 rel2.to: "sb_hbar";
577 rel2.relative: 0.0 1.0;
578 rel2.offset: 0 -1;
579 }
580 description { state: "hidden" 0.0;
581 inherit: "default" 0.0;
582 min: 0 0;
583 visible: 0;
584 }
585 }
586 part { name: "sb_hbar_a2"; type: RECT;
587 clip_to: "sb_hbar";
588 description { state: "default" 0.0;
589 fixed: 1 1;
590 min: 15 15;
591 align: 1.0 0.5;
592 aspect: 1.0 1.0; aspect_preference: VERTICAL;
593 color: 0 0 0 0;
594 rel1.to: "sb_hbar";
595 rel1.offset: -1 0;
596 rel1.relative: 1.0 0.0;
597 rel2.to: "sb_hbar";
598 }
599 description { state: "hidden" 0.0;
600 inherit: "default" 0.0;
601 min: 0 0;
602 visible: 0;
603 }
604 }
605 program {
606 signal: "efl,horizontal_bar,visible,on"; source: "efl";
607 action: STATE_SET "default" 0.0; 583 action: STATE_SET "default" 0.0;
608 target: "sb_hbar"; 584 target: "sb_hbar";
609 target: "sb_hbar_show"; 585 target: "sb_hbar_show";
610 target: "efl.draggable.horizontal_bar"; 586 target: "efl.draggable.horizontal_bar";
611 target: "sb_hbar_a1";
612 target: "sb_hbar_a2";
613 target: "x_hbar_left_mapper"; 587 target: "x_hbar_left_mapper";
614 target: "x_hbar_left"; 588 target: "x_hbar_left";
615 target: "x_hbar_right_mapper"; 589 target: "x_hbar_right_mapper";
616 target: "x_hbar_right"; 590 target: "x_hbar_right";
617 target: "arrow1_hbar_indent";
618 target: "arrow2_hbar_indent";
619 } 591 }
620 program { 592 program { signal: "efl,horizontal_bar,visible,off"; source: "efl";
621 signal: "efl,horizontal_bar,visible,off"; source: "efl";
622 action: STATE_SET "hidden" 0.0; 593 action: STATE_SET "hidden" 0.0;
623 target: "sb_hbar"; 594 target: "sb_hbar";
624 target: "sb_hbar_show"; 595 target: "sb_hbar_show";
625 target: "efl.draggable.horizontal_bar"; 596 target: "efl.draggable.horizontal_bar";
626 target: "sb_hbar_a1";
627 target: "sb_hbar_a2";
628 target: "x_hbar_left_mapper"; 597 target: "x_hbar_left_mapper";
629 target: "x_hbar_left"; 598 target: "x_hbar_left";
630 target: "x_hbar_right_mapper"; 599 target: "x_hbar_right_mapper";
631 target: "x_hbar_right"; 600 target: "x_hbar_right";
632 target: "arrow1_hbar_indent";
633 target: "arrow2_hbar_indent";
634 }
635 program {
636 signal: "mouse,down,1*"; source: "sb_hbar_a1";
637 action: STATE_SET "clicked" 0.0;
638 target: "arrow1_hbar";
639 after: "anim1_left";
640 }
641 program { name: "anim1_left";
642 action: STATE_SET "default" 0.0;
643 transition: LINEAR 0.1;
644 target: "arrow1_hbar";
645 after: "drag_left";
646 }
647 program { name: "drag_left";
648 action: DRAG_VAL_STEP -1.0 0.0;
649 target: "efl.draggable.horizontal_bar";
650 }
651 program {
652 signal: "mouse,down,1*"; source: "sb_hbar_a2";
653 action: STATE_SET "clicked" 0.0;
654 target: "arrow2_hbar";
655 after: "anim2_left";
656 }
657 program { name: "anim2_left";
658 action: STATE_SET "default" 0.0;
659 transition: LINEAR 0.1;
660 target: "arrow2_hbar";
661 after: "drag_right";
662 } 601 }
663 program { name: "drag_right"; 602 program { signal: "mouse,down,1*"; source: "sb_hbar_p1";
664 action: DRAG_VAL_STEP 1.0 0.0;
665 target: "efl.draggable.horizontal_bar";
666 }
667 program {
668 signal: "mouse,down,1*"; source: "sb_hbar_p1";
669 action: DRAG_VAL_PAGE -1.0 0.0; 603 action: DRAG_VAL_PAGE -1.0 0.0;
670 target: "efl.draggable.horizontal_bar"; 604 target: "efl.draggable.horizontal_bar";
671 } 605 }
672 program { 606 program { signal: "mouse,down,1*"; source: "sb_hbar_p2";
673 signal: "mouse,down,1*"; source: "sb_hbar_p2";
674 action: DRAG_VAL_PAGE 1.0 0.0; 607 action: DRAG_VAL_PAGE 1.0 0.0;
675 target: "efl.draggable.horizontal_bar"; 608 target: "efl.draggable.horizontal_bar";
676 } 609 }
677 program { 610// program { signal: "efl,action,show,left"; source: "efl";
678 signal: "efl,action,scroll"; source: "efl"; 611// }
679 script { 612// program { signal: "efl,action,show,right"; source: "efl";
680 action_on_pos_hbar(10); 613// }
681 } 614// program { signal: "efl,action,hide,left"; source: "efl";
682 } 615// }
683 part { name: "bg"; type: RECT; 616// program { signal: "efl,action,hide,right"; source: "efl";
684 description { state: "default" 0.0; 617// }
685 rel1.to: "efl.background"; 618// program { signal: "efl,action,scroll"; source: "efl";
686 rel2.to: "efl.background"; 619// }
687// color: 64 64 64 200; 620// program { signal: "efl,loop_x,set"; source: "efl";
688 color: 0 0 0 0; 621// }
689 color_class: "scroller_bg"; 622// program { signal: "efl,loop_x,unset"; source: "efl";
690 } 623// }
691 } 624
692 part { name: "clipper"; type: RECT; 625 //////////////////////////////////////////////////////////////////////
693 description { state: "default" 0.0; 626 part { name: "color_vbar"; type: RECT; mouse_events: 0;
694 rel1.to: "efl.background";
695 rel2.to: "efl.background";
696 }
697 }
698 part { name: "efl.background"; type: SWALLOW; required;
699 clip_to: "clipper";
700 description { state: "default" 0.0;
701 rel1.offset: 1 1;
702 rel2.relative: 0.0 0.0;
703 rel2.offset: -2 -2;
704 rel2.to_x: "sb_vbar";
705 rel2.to_y: "sb_hbar";
706 }
707 }
708 part { name: "efl.content"; type: SWALLOW; required;
709 clip_to: "clipper";
710 description { state: "default" 0.0;
711 rel1.offset: 1 1;
712 rel2.relative: 0.0 0.0;
713 rel2.offset: -2 -2;
714 rel2.to_x: "sb_vbar";
715 rel2.to_y: "sb_hbar";
716 }
717 }
718 part { name: "inset"; mouse_events: 0;
719 description { state: "default" 0.0;
720 image.normal: "bevel_in.png";
721 image.border: 1 1 1 1;
722 image.middle: 0;
723 rel1.to: "bg";
724 rel1.offset: -1 -1;
725 rel2.to: "bg";
726 rel2.offset: 0 0;
727 fill.smooth: 0;
728 }
729 }
730 part { name: "shadow"; mouse_events: 0;
731 description { state: "default" 0.0;
732 image.normal: "inset_shadow.png";
733 image.border: 5 5 7 3;
734 image.middle: 0;
735 rel1.to: "bg";
736 rel2.to: "bg";
737 fill.smooth: 0;
738 color: 255 255 255 128;
739 }
740 }
741 part { name: "efl.overlay"; type: SWALLOW; required;
742 clip_to: "clipper";
743 description { state: "default" 0.0;
744 rel1.to: "efl.content";
745 rel2.to: "efl.content";
746 }
747 }
748 part { name: "runner_vbar"; mouse_events: 0;
749 clip_to: "sb_vbar_show";
750 description { state: "default" 0.0;
751 image.normal: "runner_vert.png";
752 image.border: 0 0 2 2;
753 rel1.to: "sb_vbar_base";
754 rel2.to: "sb_vbar_base";
755 fill.smooth: 0;
756 min: 3 4;
757 max: 3 99999;
758 fixed: 1 1;
759 }
760 }
761 part { name: "runner_hbar"; mouse_events: 0;
762 clip_to: "sb_hbar_show";
763 description { state: "default" 0.0;
764 image.normal: "runner_horiz.png";
765 image.border: 2 2 0 0;
766 rel1.to: "sb_hbar_base";
767 rel2.to: "sb_hbar_base";
768 fill.smooth: 0;
769 min: 4 3;
770 max: 99999 3;
771 fixed: 1 1;
772 }
773 }
774 part { name: "runner_vbar_clip"; type: RECT;
775 clip_to: "sb_vbar_show";
776 description { state: "default" 0.0;
777 min: 1 1;
778 max: 1 99999;
779 rel1.to: "runner_vbar";
780 rel1.offset: 0 1;
781 rel2.to: "runner_vbar";
782 rel2.offset: -1 -2;
783 fixed: 1 1;
784 }
785 }
786 part { name: "runner_hbar_clip"; type: RECT;
787 clip_to: "sb_hbar_show";
788 description { state: "default" 0.0;
789 min: 1 1;
790 max: 99999 1;
791 rel1.to: "runner_hbar";
792 rel1.offset: 1 0;
793 rel2.to: "runner_hbar";
794 rel2.offset: -2 -1;
795 fixed: 1 1;
796 }
797 }
798 part { name: "arrow1_vbar_indent"; mouse_events: 0;
799 description { state: "default" 0.0;
800 rel1.to: "sb_vbar_a1";
801 rel2.to: "sb_vbar_a1";
802 image.normal: "sym_up_dark_normal.png";
803 FIXED_SIZE(15, 15)
804 }
805 description { state: "hidden" 0.0;
806 inherit: "default" 0.0;
807 visible: 0;
808 }
809 }
810 part { name: "arrow1_vbar"; mouse_events: 0;
811 clip_to: "sb_vbar_show";
812 description { state: "default" 0.0;
813 rel1.to: "sb_vbar_a1";
814 rel2.to: "sb_vbar_a1";
815 image.normal: "sym_up_light_normal.png";
816 FIXED_SIZE(15, 15)
817 }
818 description { state: "clicked" 0.0;
819 inherit: "default" 0.0;
820 image.normal: "sym_up_glow_normal.png";
821 }
822 description { state: "hidden" 0.0;
823 inherit: "default" 0.0;
824 visible: 0;
825 }
826 }
827 part { name: "arrow2_vbar_indent"; mouse_events: 0;
828 description { state: "default" 0.0;
829 rel1.to: "sb_vbar_a2";
830 rel2.to: "sb_vbar_a2";
831 image.normal: "sym_down_dark_normal.png";
832 FIXED_SIZE(15, 15)
833 }
834 description { state: "hidden" 0.0;
835 inherit: "default" 0.0;
836 visible: 0;
837 }
838 }
839 part { name: "arrow2_vbar"; mouse_events: 0;
840 clip_to: "sb_vbar_show";
841 description { state: "default" 0.0;
842 rel1.to: "sb_vbar_a2";
843 rel2.to: "sb_vbar_a2";
844 image.normal: "sym_down_light_normal.png";
845 FIXED_SIZE(15, 15)
846 }
847 description { state: "clicked" 0.0;
848 inherit: "default" 0.0;
849 image.normal: "sym_down_glow_normal.png";
850 }
851 description { state: "hidden" 0.0;
852 inherit: "default" 0.0;
853 visible: 0;
854 }
855 }
856 part { name: "shadow_vbar"; mouse_events: 0;
857 clip_to: "sb_vbar_show"; 627 clip_to: "sb_vbar_show";
858 description { state: "default" 0.0; 628 description { state: "default" 0.0;
859 rel1.offset: -3 -2;
860 rel1.to: "base_vbar";
861 rel2.offset: 2 4;
862 rel2.to: "base_vbar";
863 image.normal: "shadow_square_tiny.png";
864 image.border: 6 6 6 6;
865 fill.smooth: 0;
866 fixed: 1 1; 629 fixed: 1 1;
630 color: 51 153 255 255;
867 } 631 }
868 description { state: "clicked" 0.0; 632 description { state: "disabled" 0.0;
869 inherit: "default" 0.0; 633 inherit: "default" 0.0;
870 rel1.offset: -2 -2; 634 color: 80 80 80 255;
871 rel2.offset: 1 1;
872 color: 255 255 255 128;
873 }
874 }
875 part { name: "glow_vbar"; mouse_events: 0;
876 clip_to: "sb_vbar_show";
877 description { state: "default" 0.0;
878 rel1.offset: -3 -3;
879 rel1.to: "base_vbar";
880 rel2.offset: 2 2;
881 rel2.to: "base_vbar";
882 image.normal: "glow_small.png";
883 image.border: 7 7 7 7;
884 fill.smooth: 0;
885 visible: 0;
886 fixed: 1 1;
887 } 635 }
888 description { state: "clicked" 0.0; 636 description { state: "clicked" 0.0;
889 inherit: "default" 0.0; 637 inherit: "default" 0.0;
890 visible: 1; 638 color: 255 255 255 255;
891 }
892 }
893 part { name: "runner_glow_vbar"; mouse_events: 0;
894 clip_to: "runner_vbar_clip";
895 description { state: "default" 0.0;
896 rel1.offset: 0 -30;
897 rel1.to_x: "runner_vbar_clip";
898 rel1.to_y: "base_vbar";
899 rel2.offset: -1 29;
900 rel2.to_x: "runner_vbar_clip";
901 rel2.to_y: "base_vbar";
902 image.normal: "runner_glow_vert.png";
903 image.border: 0 0 33 33;
904 fixed: 1 1;
905 } 639 }
906 } 640 }
907 part { name: "base_vbar"; mouse_events: 0; 641
908 clip_to: "sb_vbar_show"; 642 part { name: "base_vbar"; type: RECT; mouse_events: 0;
909 description { state: "default" 0.0; 643 scale: 1;
910 fixed: 1 1; 644 clip_to: "color_vbar";
911 rel1.offset: 2 0;
912 rel1.to: "efl.draggable.vertical_bar";
913 rel2.offset: -3 -1;
914 rel2.to: "efl.draggable.vertical_bar";
915 image.normal: "vgrad_med_lighter.png";
916 fill.smooth: 0;
917 min: 3 13;
918 TILED_HORIZ(120)
919 fixed: 1 1;
920 color_class: "scroller_bar";
921 }
922 }
923 part { name: "bevel_vbar"; mouse_events: 0;
924 clip_to: "sb_vbar_show";
925 description { state: "default" 0.0; 645 description { state: "default" 0.0;
926 rel1.to: "base_vbar";
927 rel2.to: "base_vbar";
928 image.normal: "bevel_out.png";
929 image.border: 1 1 1 1;
930 image.middle: 0;
931 fill.smooth: 0;
932 min: 3 3;
933 fixed: 1 1; 646 fixed: 1 1;
647 rel.to: "efl.draggable.vertical_bar";
648 min: 5 15;
649 max: 5 999999;
650 align: 1.0 0.5;
934 } 651 }
935 } 652 description { state: "over" 0.0;
936 part { name: "center_vbar"; mouse_events: 0;
937 clip_to: "sb_vbar_show";
938 description { state: "default" 0.0;
939 rel1.to: "base_vbar";
940 rel2.to: "base_vbar";
941 image.normal: "holes_tiny_vert.png";
942 FIXED_SIZE(3, 11)
943 }
944 }
945 part { name: "center_glow_vbar"; mouse_events: 0;
946 clip_to: "sb_vbar_show";
947 description { state: "default" 0.0;
948 rel1.to: "center_vbar";
949 rel2.to: "center_vbar";
950 image.normal: "holes_tiny_glow_vert.png";
951 FIXED_SIZE(11, 17)
952 visible: 0;
953 }
954 description { state: "clicked" 0.0;
955 inherit: "default" 0.0;
956 visible: 1;
957 }
958 }
959 part { name: "arrow1_hbar_indent"; mouse_events: 0;
960 description { state: "default" 0.0;
961 rel1.to: "sb_hbar_a1";
962 rel2.to: "sb_hbar_a1";
963 image.normal: "sym_left_dark_normal.png";
964 FIXED_SIZE(15, 15)
965 }
966 description { state: "hidden" 0.0;
967 inherit: "default" 0.0;
968 visible: 0;
969 }
970 }
971 part { name: "arrow1_hbar"; mouse_events: 0;
972 clip_to: "sb_hbar_show";
973 description { state: "default" 0.0;
974 rel1.to: "sb_hbar_a1";
975 rel2.to: "sb_hbar_a1";
976 image.normal: "sym_left_light_normal.png";
977 FIXED_SIZE(15, 15)
978 }
979 description { state: "clicked" 0.0;
980 inherit: "default" 0.0;
981 image.normal: "sym_left_glow_normal.png";
982 }
983 description { state: "hidden" 0.0;
984 inherit: "default" 0.0;
985 visible: 0;
986 }
987 }
988 part { name: "arrow2_hbar_indent"; mouse_events: 0;
989 description { state: "default" 0.0;
990 rel1.to: "sb_hbar_a2";
991 rel2.to: "sb_hbar_a2";
992 image.normal: "sym_right_dark_normal.png";
993 FIXED_SIZE(15, 15)
994 }
995 description { state: "hidden" 0.0;
996 inherit: "default" 0.0;
997 visible: 0;
998 }
999 }
1000 part { name: "arrow2_hbar"; mouse_events: 0;
1001 clip_to: "sb_hbar_show";
1002 description { state: "default" 0.0;
1003 rel1.to: "sb_hbar_a2";
1004 rel2.to: "sb_hbar_a2";
1005 image.normal: "sym_right_light_normal.png";
1006 FIXED_SIZE(15, 15)
1007 }
1008 description { state: "clicked" 0.0;
1009 inherit: "default" 0.0;
1010 image.normal: "sym_right_glow_normal.png";
1011 }
1012 description { state: "hidden" 0.0;
1013 inherit: "default" 0.0; 653 inherit: "default" 0.0;
1014 visible: 0; 654 min: 15 15;
655 max: 15 999999;
1015 } 656 }
1016 } 657 }
1017 part { name: "shadow_hbar"; mouse_events: 0; 658
659 //////////////////////////////////////////////////////////////////////
660 part { name: "color_hbar"; type: RECT; mouse_events: 0;
1018 clip_to: "sb_hbar_show"; 661 clip_to: "sb_hbar_show";
1019 description { state: "default" 0.0; 662 description { state: "default" 0.0;
1020 rel1.offset: -3 -2;
1021 rel1.to: "base_hbar";
1022 rel2.offset: 2 4;
1023 rel2.to: "base_hbar";
1024 image.normal: "shadow_square_tiny.png";
1025 image.border: 6 6 6 6;
1026 fill.smooth: 0;
1027 fixed: 1 1; 663 fixed: 1 1;
664 color: 51 153 255 255;
1028 } 665 }
1029 description { state: "clicked" 0.0; 666 description { state: "disabled" 0.0;
1030 inherit: "default" 0.0; 667 inherit: "default" 0.0;
1031 rel1.offset: -2 -2; 668 color: 80 80 80 255;
1032 rel2.offset: 1 1;
1033 color: 255 255 255 128;
1034 }
1035 }
1036 part { name: "glow_hbar"; mouse_events: 0;
1037 clip_to: "sb_hbar_show";
1038 description { state: "default" 0.0;
1039 rel1.offset: -3 -3;
1040 rel1.to: "base_hbar";
1041 rel2.offset: 2 2;
1042 rel2.to: "base_hbar";
1043 image.normal: "glow_small.png";
1044 image.border: 7 7 7 7;
1045 fill.smooth: 0;
1046 visible: 0;
1047 fixed: 1 1;
1048 } 669 }
1049 description { state: "clicked" 0.0; 670 description { state: "clicked" 0.0;
1050 inherit: "default" 0.0; 671 inherit: "default" 0.0;
1051 visible: 1; 672 color: 255 255 255 255;
1052 } 673 }
1053 } 674 }
1054 part { name: "runner_glow_hbar"; mouse_events: 0; 675
1055 clip_to: "runner_hbar_clip"; 676 part { name: "base_hbar"; type: RECT; mouse_events: 0;
1056 description { state: "default" 0.0; 677 scale: 1;
1057 rel1.offset: -30 0; 678 clip_to: "color_hbar";
1058 rel1.to_x: "base_hbar";
1059 rel1.to_y: "runner_hbar_clip";
1060 rel2.offset: 29 -1;
1061 rel2.to_x: "base_hbar";
1062 rel2.to_y: "runner_hbar_clip";
1063 image.normal: "runner_glow_horiz.png";
1064 image.border: 33 33 0 0;
1065 fixed: 1 1;
1066 }
1067 }
1068 part { name: "base_hbar"; mouse_events: 0;
1069 clip_to: "sb_hbar_show";
1070 description { state: "default" 0.0;
1071 fixed: 1 1;
1072 rel1.offset: 0 2;
1073 rel1.to: "efl.draggable.horizontal_bar";
1074 rel2.offset: -1 -3;
1075 rel2.to: "efl.draggable.horizontal_bar";
1076 image.normal: "vgrad_med_lighter.png";
1077 fill.smooth: 0;
1078 min: 13 3;
1079 TILED_HORIZ(120)
1080 }
1081 }
1082 part { name: "bevel_hbar"; mouse_events: 0;
1083 clip_to: "sb_hbar_show";
1084 description { state: "default" 0.0;
1085 rel1.to: "base_hbar";
1086 rel2.to: "base_hbar";
1087 image.normal: "bevel_out.png";
1088 image.border: 1 1 1 1;
1089 image.middle: 0;
1090 fill.smooth: 0;
1091 min: 3 3;
1092 fixed: 1 1;
1093 }
1094 }
1095 part { name: "center_hbar"; mouse_events: 0;
1096 clip_to: "sb_hbar_show";
1097 description { state: "default" 0.0; 679 description { state: "default" 0.0;
1098 rel1.to: "base_hbar";
1099 rel2.to: "base_hbar";
1100 image.normal: "holes_tiny_horiz.png";
1101 FIXED_SIZE(11, 3)
1102 fixed: 1 1; 680 fixed: 1 1;
681 rel.to: "efl.draggable.horizontal_bar";
682 min: 15 5;
683 max: 999999 5;
684 align: 0.5 1.0;
1103 } 685 }
1104 } 686 description { state: "over" 0.0;
1105 part { name: "center_glow_hbar"; mouse_events: 0;
1106 clip_to: "sb_hbar_show";
1107 description { state: "default" 0.0;
1108 rel1.to: "center_hbar";
1109 rel2.to: "center_hbar";
1110 image.normal: "holes_tiny_glow_horiz.png";
1111 FIXED_SIZE(17, 11)
1112 visible: 0;
1113 }
1114 description { state: "clicked" 0.0;
1115 inherit: "default" 0.0; 687 inherit: "default" 0.0;
1116 visible: 1; 688 min: 15 15;
689 max: 999999 15;
1117 } 690 }
1118 } 691 }
692
693 //////////////////////////////////////////////////////////////////////
694
1119 part { name: "dim_effect"; type: RECT; mouse_events: 0; 695 part { name: "dim_effect"; type: RECT; mouse_events: 0;
1120 description { state: "default" 0.0; 696 description { state: "default" 0.0;
1121 color: 0 0 0 0; 697 color: 0 0 0 0;
1122 } 698 }
1123 description { state: "effect" 0.0; 699 description { state: "effect" 0.0;
1124 color: 50 50 50 255; 700 color: 32 32 32 255;
1125 } 701 }
1126 } 702 }
1127 } 703 }
1128 programs { 704 programs {
1129 program { 705 program { signal: "efl,state,disabled"; source: "efl";
1130 signal: "mouse,down,1*"; source: "efl.draggable.vertical_bar"; 706 action: STATE_SET "disabled" 0.0;
707 target: "color_hbar";
708 target: "color_vbar";
709 }
710 program { signal: "efl,state,enabled"; source: "efl";
711 action: STATE_SET "default" 0.0;
712 target: "color_hbar";
713 target: "color_vbar";
714 }
715 program { signal: "mouse,down,1*"; source: "efl.draggable.vertical_bar";
1131 action: STATE_SET "clicked" 0.0; 716 action: STATE_SET "clicked" 0.0;
1132 target: "efl.draggable.vertical_bar"; 717 target: "efl.draggable.vertical_bar";
1133 target: "shadow_vbar"; 718 target: "color_vbar";
1134 target: "glow_vbar";
1135 target: "center_glow_vbar";
1136 } 719 }
1137 program { 720 program { signal: "mouse,down,*"; source: "efl.draggable.vertical_bar";
1138 signal: "mouse,down,*"; source: "efl.draggable.vertical_bar";
1139 action: SIGNAL_EMIT "efl,vertical_bar,press" "efl"; 721 action: SIGNAL_EMIT "efl,vertical_bar,press" "efl";
1140 } 722 }
1141 program { 723 program { signal: "mouse,up,1"; source: "efl.draggable.vertical_bar";
1142 signal: "mouse,up,1"; source: "efl.draggable.vertical_bar";
1143 action: STATE_SET "default" 0.0; 724 action: STATE_SET "default" 0.0;
1144 target: "efl.draggable.vertical_bar"; 725 target: "efl.draggable.vertical_bar";
1145 target: "shadow_vbar"; 726 target: "color_vbar";
1146 target: "glow_vbar";
1147 target: "center_glow_vbar";
1148 } 727 }
1149 program { 728 program { signal: "mouse,up,*"; source: "efl.draggable.vertical_bar";
1150 signal: "mouse,up,*"; source: "efl.draggable.vertical_bar"; 729 action: SIGNAL_EMIT "efl,vertical_bar,unpress" "efl";
1151 action: SIGNAL_EMIT "efl,vbar,unpress" "efl";
1152 } 730 }
1153 program { 731
1154 signal: "mouse,down,1*"; source: "efl.draggable.horizontal_bar"; 732 program { signal: "mouse,down,1*"; source: "efl.draggable.horizontal_bar";
1155 action: STATE_SET "clicked" 0.0; 733 action: STATE_SET "clicked" 0.0;
1156 target: "efl.draggable.horizontal_bar"; 734 target: "efl.draggable.horizontal_bar";
1157 target: "shadow_hbar"; 735 target: "color_hbar";
1158 target: "glow_hbar";
1159 target: "center_glow_hbar";
1160 } 736 }
1161 program { 737 program { signal: "mouse,down,*"; source: "efl.draggable.horizontal_bar";
1162 signal: "mouse,down,*"; source: "efl.draggable.horizontal_bar";
1163 action: SIGNAL_EMIT "efl,horizontal_bar,press" "efl"; 738 action: SIGNAL_EMIT "efl,horizontal_bar,press" "efl";
1164 } 739 }
1165 program { 740 program { signal: "mouse,up,1"; source: "efl.draggable.horizontal_bar";
1166 signal: "mouse,up,1"; source: "efl.draggable.horizontal_bar";
1167 action: STATE_SET "default" 0.0; 741 action: STATE_SET "default" 0.0;
1168 target: "efl.draggable.horizontal_bar"; 742 target: "efl.draggable.horizontal_bar";
1169 target: "shadow_hbar"; 743 target: "color_hbar";
1170 target: "glow_hbar";
1171 target: "center_glow_hbar";
1172 } 744 }
1173 program { 745 program { signal: "mouse,up,*"; source: "efl.draggable.horizontal_bar";
1174 signal: "mouse,up,*"; source: "efl.draggable.horizontal_bar";
1175 action: SIGNAL_EMIT "efl,horizontal_bar,unpress" "efl"; 746 action: SIGNAL_EMIT "efl,horizontal_bar,unpress" "efl";
1176 } 747 }
748 program { signal: "efl,action,looping,left"; source: "efl";
749 action: STATE_SET "effect" 0.0;
750 transition: LINEAR 0.3;
751 target: "dim_effect";
752 after: "looping,left,done";
753 }
754 program { name: "looping,left,done";
755 action: SIGNAL_EMIT "efl,looping,left,done" "efl";
756 }
757 program { signal: "efl,action,looping,left,end"; source: "efl";
758 action: STATE_SET "default" 0.0;
759 transition: LINEAR 0.3;
760 target: "dim_effect";
761 }
762 program { signal: "efl,action,looping,right"; source: "efl";
763 action: STATE_SET "effect" 0.0;
764 transition: LINEAR 0.3;
765 target: "dim_effect";
766 after: "looping,right,done";
767 }
768 program { name: "looping,right,done";
769 action: SIGNAL_EMIT "efl,looping,right,done" "efl";
770 }
771 program { signal: "efl,action,looping,right,end"; source: "efl";
772 action: STATE_SET "default" 0.0;
773 transition: LINEAR 0.3;
774 target: "dim_effect";
775 }
776 program { signal: "efl,action,looping,up"; source: "efl";
777 action: STATE_SET "effect" 0.0;
778 transition: LINEAR 0.3;
779 target: "dim_effect";
780 after: "looping,up,done";
781 }
782 program { name: "looping,up,done";
783 action: SIGNAL_EMIT "efl,looping,up,done" "efl";
784 }
785 program { signal: "efl,action,looping,up,end"; source: "efl";
786 action: STATE_SET "default" 0.0;
787 transition: LINEAR 0.3;
788 target: "dim_effect";
789 }
790 program { signal: "efl,action,looping,down"; source: "efl";
791 action: STATE_SET "effect" 0.0;
792 transition: LINEAR 0.3;
793 target: "dim_effect";
794 after: "looping,down,done";
795 }
796 program { name: "looping,down,done";
797 action: SIGNAL_EMIT "efl,looping,down,done" "efl";
798 }
799 program { signal: "efl,action,looping,down,end"; source: "efl";
800 action: STATE_SET "default" 0.0;
801 transition: LINEAR 0.3;
802 target: "dim_effect";
803 }
1177 } 804 }
1178} 805}
1179 806
1180group { name: "efl/scroller:noclip"; 807group { name: "efl/scroller:noclip";
1181 inherit: "efl/scroller"; 808 inherit: "efl/scroller";
1182 data.item: "version" "123";
1183 parts { 809 parts {
1184 part { name: "clipper"; 810 part { name: "clipper";
1185 description { state: "default" 0.0; 811 description { state: "default" 0.0;
@@ -1199,12 +825,7 @@ group { name: "efl/scroller:noclip";
1199 rel2.offset: -1 -1; 825 rel2.offset: -1 -1;
1200 } 826 }
1201 } 827 }
1202 part { name: "inset"; 828 part { name: "sh_clip"; type: RECT;
1203 description { state: "default" 0.0;
1204 visible: 0;
1205 }
1206 }
1207 part { name: "shadow";
1208 description { state: "default" 0.0; 829 description { state: "default" 0.0;
1209 visible: 0; 830 visible: 0;
1210 } 831 }
@@ -1214,16 +835,11 @@ group { name: "efl/scroller:noclip";
1214 835
1215group { name: "efl/scroller:popup/no_inset_shadow"; 836group { name: "efl/scroller:popup/no_inset_shadow";
1216 inherit: "efl/scroller"; 837 inherit: "efl/scroller";
1217 data.item: "version" "123";
1218 parts { 838 parts {
1219 part { name: "inset"; 839 part { name: "efl.content"; type: SWALLOW;
1220 description { state: "default" 0.0; 840 description { state: "default" 0.0;
1221 visible: 0; 841 rel1.offset: 0 0;
1222 } 842 rel2.offset: 0 0;
1223 }
1224 part { name: "shadow";
1225 description { state: "default" 0.0;
1226 visible: 0;
1227 } 843 }
1228 } 844 }
1229 } 845 }