summaryrefslogtreecommitdiff
path: root/data/elementary/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-01-06 14:54:44 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-01-06 14:54:44 +0000
commit7829dc4db840e4fe01dcbf75dd0af6725f8dc41a (patch)
tree7d29dd5744b48c2d09b3538931261930c00091a7 /data/elementary/themes
parent336e78829867ea28a795f753766a686790e4d4db (diff)
TH - flip selector
Diffstat (limited to 'data/elementary/themes')
-rw-r--r--data/elementary/themes/edc/elm/flipselector.edc236
1 files changed, 96 insertions, 140 deletions
diff --git a/data/elementary/themes/edc/elm/flipselector.edc b/data/elementary/themes/edc/elm/flipselector.edc
index 17898cfdff..f55c43d8fc 100644
--- a/data/elementary/themes/edc/elm/flipselector.edc
+++ b/data/elementary/themes/edc/elm/flipselector.edc
@@ -2,14 +2,10 @@
2#define FLIP_PICKER_MAX_LEN_STR "50" 2#define FLIP_PICKER_MAX_LEN_STR "50"
3 3
4group { name: "elm/flipselector/base/default"; 4group { name: "elm/flipselector/base/default";
5 images.image: "big_arrow_up.png" COMP;
6 images.image: "big_arrow_down.png" COMP;
5 images.image: "flip_shad.png" COMP; 7 images.image: "flip_shad.png" COMP;
6 images.image: "sym_up_light_normal.png" COMP;
7 images.image: "sym_down_light_normal.png" COMP;
8 images.image: "sym_up_dark_normal.png" COMP;
9 images.image: "sym_down_dark_normal.png" COMP;
10 images.image: "shine.png" COMP;
11 images.image: "win_shadow.png" COMP; 8 images.image: "win_shadow.png" COMP;
12 images.image: "bevel_out.png" COMP;
13 9
14 data.item: "max_len" FLIP_PICKER_MAX_LEN_STR; 10 data.item: "max_len" FLIP_PICKER_MAX_LEN_STR;
15 11
@@ -86,11 +82,9 @@ group { name: "elm/flipselector/base/default";
86 set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0); 82 set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0);
87 set_tween_state(PART:"bottom_cur", pos, "shrink", 0.0, "default", 0.0); 83 set_tween_state(PART:"bottom_cur", pos, "shrink", 0.0, "default", 0.0);
88 set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "full", 0.0); 84 set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "full", 0.0);
89 set_state(PART:"bottom_shine_cur", "visible", 0.0);
90 85
91 if (pos >= 1.0) { 86 if (pos >= 1.0) {
92 set_state(PART:"bottom_shadow", "default", 0.0); 87 set_state(PART:"bottom_shadow", "default", 0.0);
93 set_state(PART:"bottom_shine_cur", "default", 0.0);
94 set_int(lock, 0); 88 set_int(lock, 0);
95 fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); 89 fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
96 if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { 90 if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
@@ -106,7 +100,6 @@ group { name: "elm/flipselector/base/default";
106 0.0); 100 0.0);
107 if (pos >= 1.0) 101 if (pos >= 1.0)
108 { 102 {
109 set_state(PART:"top_shine_cur", "default", 0.0);
110 anim(0.2, "animator_bottom_down", val); 103 anim(0.2, "animator_bottom_down", val);
111 } 104 }
112 } 105 }
@@ -122,9 +115,7 @@ group { name: "elm/flipselector/base/default";
122 115
123 set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0); 116 set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0);
124 set_tween_state(PART:"top_cur", pos, "shrink", 0.0, "default", 0.0); 117 set_tween_state(PART:"top_cur", pos, "shrink", 0.0, "default", 0.0);
125 set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "default", 118 set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "default", 0.0);
126 0.0);
127 set_state(PART:"top_shine_cur", "visible", 0.0);
128 119
129 if (pos >= 1.0) { 120 if (pos >= 1.0) {
130 set_state(PART:"bottom_shadow", "default", 0.0); 121 set_state(PART:"bottom_shadow", "default", 0.0);
@@ -153,17 +144,18 @@ group { name: "elm/flipselector/base/default";
153 } 144 }
154 parts { 145 parts {
155 part { name: "base_shadow"; mouse_events: 0; 146 part { name: "base_shadow"; mouse_events: 0;
147 scale: 1;
156 description { state: "default" 0.0; 148 description { state: "default" 0.0;
157 rel1.to: "base"; 149 rel.to: "base";
158 rel2.to: "base"; 150 WIN_SHADOW_SMALL;
159 WIN_SHADOW;
160 } 151 }
161 } 152 }
162 part { name: "base"; type: RECT; 153 part { name: "base"; type: RECT;
163 scale: 1; 154 scale: 1;
164 description { state: "default" 0.0; 155 description { state: "default" 0.0;
165 rel1.offset: 6 6; 156 rel1.offset: 2 2;
166 rel2.offset: -7 -7; 157 rel2.offset: -3 -3;
158 offscale;
167 } 159 }
168 } 160 }
169 part { name: "bottom"; type: RECT; 161 part { name: "bottom"; type: RECT;
@@ -187,38 +179,36 @@ group { name: "elm/flipselector/base/default";
187 visible: 0; 179 visible: 0;
188 } 180 }
189 } 181 }
190 part { name: "bottom_prev"; 182 part { name: "bottom_prev"; type: RECT;
191 type: RECT;
192 mouse_events: 0; 183 mouse_events: 0;
193 description { state: "default" 0.0; 184 description { state: "default" 0.0;
194 rel1.to: "bottom"; 185 rel.to: "bottom";
195 rel2.to: "bottom"; 186 color: 96 96 96 255;
196 color: 72 72 72 255;
197 } 187 }
198 } 188 }
199 part { name: "bottom_text_prev"; type: TEXT; mouse_events: 0; 189 part { name: "bottom_text_prev"; type: TEXT; mouse_events: 0;
200 effect: SHADOW BOTTOM;
201 clip_to: "bottom_clipper"; 190 clip_to: "bottom_clipper";
202 scale: 1; 191 scale: 1;
203 description { state: "default" 0.0; 192 description { state: "default" 0.0;
204 rel1.to_x: "base"; 193 rel1.to_x: "base";
205 rel1.to_y: "arrow_top"; 194 rel1.to_y: "arrow_top";
206 rel1.relative: 0.0 0.7; 195 rel1.relative: 0.0 0.7;
207 rel1.offset: 2 0; 196 rel1.offset: 2 2;
208 rel2.to: "base"; 197 rel2.to: "base";
209 rel2.to_y: "arrow_bottom"; 198 rel2.to_y: "arrow_bottom";
210 rel2.relative: 1.0 0.3; 199 rel2.relative: 1.0 0.3;
211 rel2.offset: -3 -1; 200 rel2.offset: -3 -3;
212 text { font: FN; size: 10; 201 text { font: FN; size: 10;
213 min: 1 1; 202 min: 1 1;
214 ellipsis: -1; 203 ellipsis: -1;
215 align: 0.5 0.5; 204 align: 0.5 0.5;
216 } 205 }
217 color: FN_COL_DEFAULT; 206 color: 160 160 160 255;
207 offscale;
218 } 208 }
219 description { state: "disabled" 0.0; 209 description { state: "disabled" 0.0;
220 inherit: "default" 0.0; 210 inherit: "default" 0.0;
221 color: FN_COL_DISABLE; 211 color: 112 112 112 255;
222 } 212 }
223 } 213 }
224 part { name: "bottom_shadow"; mouse_events: 0; 214 part { name: "bottom_shadow"; mouse_events: 0;
@@ -243,9 +233,8 @@ group { name: "elm/flipselector/base/default";
243 } 233 }
244 part { name: "bottom_cur"; type: RECT; mouse_events: 0; 234 part { name: "bottom_cur"; type: RECT; mouse_events: 0;
245 description { state: "default" 0.0; 235 description { state: "default" 0.0;
246 rel1.to: "bottom"; 236 rel.to: "bottom";
247 rel2.to: "bottom"; 237 color: 96 96 96 255;
248 color: 72 72 72 255;
249 } 238 }
250 description { state: "shrink" 0.0; 239 description { state: "shrink" 0.0;
251 inherit: "default" 0.0; 240 inherit: "default" 0.0;
@@ -253,40 +242,25 @@ group { name: "elm/flipselector/base/default";
253 rel2.relative: 1.0 0.0; 242 rel2.relative: 1.0 0.0;
254 } 243 }
255 } 244 }
256 part { name: "bottom_shine_cur"; mouse_events: 0;
257 description { state: "default" 0.0;
258 rel1 { to: "bottom_cur"; relative: 0 1; }
259 rel2.to: "bottom_cur";
260 image.normal: "shine.png";
261 min: 0 1;
262 fixed: 0 1;
263 align: 0.5 1;
264 visible: 0;
265 }
266 description { state: "visible" 0.0;
267 inherit: "default" 0.0;
268 visible: 1;
269 }
270 }
271 part { name: "elm.bottom"; type: TEXT; mouse_events: 0; 245 part { name: "elm.bottom"; type: TEXT; mouse_events: 0;
272 effect: SHADOW BOTTOM;
273 clip_to: "bottom_clipper"; 246 clip_to: "bottom_clipper";
274 scale: 1; 247 scale: 1;
275 description { state: "default" 0.0; 248 description { state: "default" 0.0;
276 rel1.to_x: "base"; 249 rel1.to_x: "base";
277 rel1.to_y: "arrow_top"; 250 rel1.to_y: "arrow_top";
278 rel1.relative: 0.0 0.7; 251 rel1.relative: 0.0 0.7;
279 rel1.offset: 2 0; 252 rel1.offset: 2 2;
280 rel2.to: "base"; 253 rel2.to: "base";
281 rel2.to_y: "arrow_bottom"; 254 rel2.to_y: "arrow_bottom";
282 rel2.relative: 1.0 0.3; 255 rel2.relative: 1.0 0.3;
283 rel2.offset: -3 -1; 256 rel2.offset: -3 -3;
284 text { font: FN; size: 10; 257 text { font: FN; size: 10;
285 min: 1 1; 258 min: 1 1;
286 ellipsis: -1; 259 ellipsis: -1;
287 align: 0.5 0.5; 260 align: 0.5 0.5;
288 } 261 }
289 color: FN_COL_DEFAULT; 262 color: 160 160 160 255;
263 offscale;
290 } 264 }
291 description { state: "shrink" 0.0; 265 description { state: "shrink" 0.0;
292 inherit: "default" 0.0; 266 inherit: "default" 0.0;
@@ -296,126 +270,95 @@ group { name: "elm/flipselector/base/default";
296 } 270 }
297 description { state: "disabled" 0.0; 271 description { state: "disabled" 0.0;
298 inherit: "default" 0.0; 272 inherit: "default" 0.0;
299 color: FN_COL_DISABLE; 273 color: 112 112 112 255;
300 } 274 }
301 } 275 }
302 part { name: "top_prev"; type: RECT; mouse_events: 0; 276 part { name: "top_prev"; type: RECT; mouse_events: 0;
303 description { state: "default" 0.0; 277 description { state: "default" 0.0;
304 rel1.to: "top"; 278 rel.to: "top";
305 rel2.to: "top"; 279 color: 72 72 72 255;
306 color: 56 56 56 255;
307 } 280 }
308 } 281 }
309 part { name: "top_text_prev"; type: TEXT; mouse_events: 0; 282 part { name: "top_text_prev"; type: TEXT; mouse_events: 0;
310 effect: SHADOW BOTTOM;
311 clip_to: "top_clipper"; 283 clip_to: "top_clipper";
312 scale: 1; 284 scale: 1;
313 description { state: "default" 0.0; 285 description { state: "default" 0.0;
314 rel1.to_x: "base"; 286 rel1.to_x: "base";
315 rel1.to_y: "arrow_top"; 287 rel1.to_y: "arrow_top";
316 rel1.relative: 0.0 0.7; 288 rel1.relative: 0.0 0.7;
317 rel1.offset: 2 0; 289 rel1.offset: 2 2;
318 rel2.to: "base"; 290 rel2.to: "base";
319 rel2.to_y: "arrow_bottom"; 291 rel2.to_y: "arrow_bottom";
320 rel2.relative: 1.0 0.3; 292 rel2.relative: 1.0 0.3;
321 rel2.offset: -3 -1; 293 rel2.offset: -3 -3;
322 text { font: FN; size: 10; 294 text { font: FN; size: 10;
323 min: 1 1; 295 min: 1 1;
324 ellipsis: -1; 296 ellipsis: -1;
325 align: 0.5 0.5; 297 align: 0.5 0.5;
326 source: "elm.top"; 298 source: "elm.top";
327 } 299 }
328 color: FN_COL_GREY_192; 300 color: 144 144 144 255;
301 offscale;
329 } 302 }
330 description { state: "disabled" 0.0; 303 description { state: "disabled" 0.0;
331 inherit: "default" 0.0; 304 inherit: "default" 0.0;
332 color: FN_COL_GREY_16; 305 color: 96 96 96 255;
333 }
334 }
335 part { name: "top_shine_prev"; mouse_events: 0;
336 description { state: "default" 0.0;
337 rel1.to: "top_prev";
338 rel2 { to: "top_prev"; relative: 1 0; }
339 image.normal: "shine.png";
340 min: 0 1;
341 fixed: 0 1;
342 align: 0.5 0;
343 } 306 }
344 } 307 }
345 part { name: "top_cur"; type: RECT; mouse_events: 0; 308 part { name: "top_cur"; type: RECT; mouse_events: 0;
346 description { state: "default" 0.0; 309 description { state: "default" 0.0;
347 rel1.to: "top"; 310 rel.to: "top";
348 rel2.to: "top"; 311 color: 72 72 72 255;
349 color: 56 56 56 255;
350 } 312 }
351 description { state: "shrink" 0.0; 313 description { state: "shrink" 0.0;
352 inherit: "default" 0.0; 314 inherit: "default" 0.0;
353 fixed: 0 1; 315 fixed: 0 1;
354 rel1.relative: 0.0 1.0; 316 rel1.relative: 0.0 1.0;
355 color: 40 40 40 255; 317 color: 32 32 32 255;
356 } 318 }
357 } 319 }
358 part { name: "elm.top"; type: TEXT; mouse_events: 0; 320 part { name: "elm.top"; type: TEXT; mouse_events: 0;
359 effect: SHADOW BOTTOM;
360 clip_to: "top_clipper"; 321 clip_to: "top_clipper";
361 scale: 1; 322 scale: 1;
362 description { state: "default" 0.0; 323 description { state: "default" 0.0;
363 rel1.to: "base"; 324 rel1.to_x: "base";
325 rel1.to_y: "arrow_top";
326 rel1.relative: 0.0 0.7;
364 rel1.offset: 2 2; 327 rel1.offset: 2 2;
365 rel2.to: "base"; 328 rel2.to_x: "base";
329 rel2.to_y: "arrow_bottom";
330 rel2.relative: 1.0 0.3;
366 rel2.offset: -3 -3; 331 rel2.offset: -3 -3;
367 text { font: FN; size: 10; 332 text { font: FN; size: 10;
368 min: 1 1; 333 min: 1 1;
369 ellipsis: -1; 334 ellipsis: -1;
370 align: 0.5 0.5; 335 align: 0.5 0.5;
371 } 336 }
372 color: FN_COL_GREY_192; 337 color: 144 144 144 255;
338 offscale;
373 } 339 }
374 description { state: "shrink" 0.0; 340 description { state: "shrink" 0.0;
375 inherit: "default" 0.0; 341 inherit: "default" 0.0;
376 visible: 0; 342 visible: 0;
377 rel1.relative: 0.0 0.5; 343 rel1.relative: 0.0 0.5;
378 } 344 color: 48 48 48 255;
345 }
379 description { state: "disabled" 0.0; 346 description { state: "disabled" 0.0;
380 inherit: "default" 0.0; 347 inherit: "default" 0.0;
381 color: FN_COL_GREY_16; 348 color: 96 96 96 255;
382 }
383 }
384 part { name: "top_shine_cur"; mouse_events: 0;
385 description { state: "default" 0.0;
386 rel1.to: "top_cur";
387 rel2 { to: "top_cur"; relative: 1 0; }
388 image.normal: "shine.png";
389 min: 0 1;
390 fixed: 0 1;
391 align: 0.5 0;
392 visible: 0;
393 }
394 description { state: "visible" 0.0;
395 inherit: "default" 0.0;
396 visible: 1;
397 }
398 }
399 part { name: "bevel"; mouse_events: 0;
400 description { state: "default" 0.0;
401 image.normal: "bevel_out.png";
402 image.border: 1 1 1 1;
403 image.middle: 0;
404 rel1.to: "base";
405 rel2.to: "base";
406 fill.smooth: 0;
407 } 349 }
408 } 350 }
409 part { name: "arrow_top"; mouse_events: 0; 351 part { name: "arrow_top"; mouse_events: 0;
410 scale: 1; 352 scale: 1;
411 description { state: "default" 0.0; 353 description { state: "default" 0.0;
412 min: 15 15; 354 min: 17 14;
413 max: 15 15; 355 max: 17 14;
414 align: 0.5 0.0; 356 align: 0.5 0.0;
415 rel1.to: "top"; 357 rel.to: "top";
416 rel2.to: "top"; 358 rel1.offset: 0 2;
417 image.normal: "sym_up_light_normal.png"; 359 image.normal: "big_arrow_up.png";
418 color: 192 192 192 255; 360 color: 144 144 144 255;
361 offscale;
419 } 362 }
420 description { state: "hidden" 0.0; 363 description { state: "hidden" 0.0;
421 inherit: "default" 0.0; 364 inherit: "default" 0.0;
@@ -423,18 +366,24 @@ group { name: "elm/flipselector/base/default";
423 } 366 }
424 description { state: "disabled" 0.0; 367 description { state: "disabled" 0.0;
425 inherit: "default" 0.0; 368 inherit: "default" 0.0;
426 image.normal: "sym_up_dark_normal.png"; 369 color: 96 96 96 255;
370 }
371 description { state: "pressed" 0.0;
372 inherit: "default" 0.0;
373 color: 255 255 255 255;
427 } 374 }
428 } 375 }
429 part { name: "arrow_bottom"; mouse_events: 0; 376 part { name: "arrow_bottom"; mouse_events: 0;
430 scale: 1; 377 scale: 1;
431 description { state: "default" 0.0; 378 description { state: "default" 0.0;
432 min: 15 15; 379 min: 17 14;
433 max: 15 15; 380 max: 17 14;
434 align: 0.5 1.0; 381 align: 0.5 1.0;
435 rel1.to: "bottom"; 382 rel.to: "bottom";
436 rel2.to: "bottom"; 383 rel2.offset: -1 -3;
437 image.normal: "sym_down_light_normal.png"; 384 image.normal: "big_arrow_down.png";
385 color: 160 160 160 255;
386 offscale;
438 } 387 }
439 description { state: "hidden" 0.0; 388 description { state: "hidden" 0.0;
440 inherit: "default" 0.0; 389 inherit: "default" 0.0;
@@ -442,19 +391,21 @@ group { name: "elm/flipselector/base/default";
442 } 391 }
443 description { state: "disabled" 0.0; 392 description { state: "disabled" 0.0;
444 inherit: "default" 0.0; 393 inherit: "default" 0.0;
445 image.normal: "sym_down_dark_normal.png"; 394 color: 112 112 112 255;
395 }
396 description { state: "pressed" 0.0;
397 inherit: "default" 0.0;
398 color: 255 255 255 255;
446 } 399 }
447 } 400 }
448 part { name: "top_clipper"; type: RECT; 401 part { name: "top_clipper"; type: RECT;
449 description { state: "default" 0.0; 402 description { state: "default" 0.0;
450 rel1.to: "top"; 403 rel.to: "top";
451 rel2.to: "top";
452 } 404 }
453 } 405 }
454 part { name: "bottom_clipper"; type: RECT; 406 part { name: "bottom_clipper"; type: RECT;
455 description { state: "default" 0.0; 407 description { state: "default" 0.0;
456 rel1.to: "bottom"; 408 rel.to: "bottom";
457 rel2.to: "bottom";
458 } 409 }
459 } 410 }
460 part { name: "event_blocker"; type: RECT; 411 part { name: "event_blocker"; type: RECT;
@@ -469,8 +420,7 @@ group { name: "elm/flipselector/base/default";
469 } 420 }
470 } 421 }
471 programs { 422 programs {
472 program { 423 program { signal: "load"; source: "";
473 signal: "load"; source: "";
474 script { 424 script {
475 append_str(cur, ""); 425 append_str(cur, "");
476 append_str(prev, ""); 426 append_str(prev, "");
@@ -478,40 +428,49 @@ group { name: "elm/flipselector/base/default";
478 set_int(lock, 0); 428 set_int(lock, 0);
479 } 429 }
480 } 430 }
481 program { 431 program { signal: "elm,state,button,hidden"; source: "elm";
482 signal: "elm,state,button,hidden"; source: "elm";
483 action: STATE_SET "hidden" 0.0; 432 action: STATE_SET "hidden" 0.0;
484 target: "arrow_top"; 433 target: "arrow_top";
485 target: "arrow_bottom"; 434 target: "arrow_bottom";
486 target: "top"; 435 target: "top";
487 target: "bottom"; 436 target: "bottom";
488 } 437 }
489 program { 438 program { signal: "elm,state,button,visible"; source: "elm";
490 signal: "elm,state,button,visible"; source: "elm";
491 action: STATE_SET "default" 0.0; 439 action: STATE_SET "default" 0.0;
492 target: "arrow_top"; 440 target: "arrow_top";
493 target: "arrow_bottom"; 441 target: "arrow_bottom";
494 target: "top"; 442 target: "top";
495 target: "bottom"; 443 target: "bottom";
496 } 444 }
497 program { name: "up"; 445 program { signal: "mouse,down,1"; source: "top";
498 signal: "mouse,down,1"; source: "top";
499 action: SIGNAL_EMIT "elm,action,up,start" "elm"; 446 action: SIGNAL_EMIT "elm,action,up,start" "elm";
500 } 447 }
501 program { name: "up,stop"; 448 program { signal: "mouse,down,1"; source: "top";
502 signal: "mouse,up,1"; source: "top"; 449 action: STATE_SET "pressed" 0.0;
450 target: "arrow_top";
451 }
452 program { signal: "mouse,up,1"; source: "top";
503 action: SIGNAL_EMIT "elm,action,up,stop" "elm"; 453 action: SIGNAL_EMIT "elm,action,up,stop" "elm";
504 } 454 }
505 program { name: "down"; 455 program { signal: "mouse,up,1"; source: "top";
506 signal: "mouse,down,1"; source: "bottom"; 456 action: STATE_SET "default" 0.0;
457 target: "arrow_top";
458 }
459 program { signal: "mouse,down,1"; source: "bottom";
507 action: SIGNAL_EMIT "elm,action,down,start" "elm"; 460 action: SIGNAL_EMIT "elm,action,down,start" "elm";
508 } 461 }
509 program { name: "down,stop"; 462 program { signal: "mouse,down,1"; source: "bottom";
510 signal: "mouse,up,1"; source: "bottom"; 463 action: STATE_SET "pressed" 0.0;
464 target: "arrow_bottom";
465 }
466 program { signal: "mouse,up,1"; source: "bottom";
511 action: SIGNAL_EMIT "elm,action,down,stop" "elm"; 467 action: SIGNAL_EMIT "elm,action,down,stop" "elm";
512 } 468 }
513 program { name: "disable"; 469 program { signal: "mouse,up,1"; source: "bottom";
514 signal: "elm,state,disabled"; source: "elm"; 470 action: STATE_SET "default" 0.0;
471 target: "arrow_bottom";
472 }
473 program { signal: "elm,state,disabled"; source: "elm";
515 script { 474 script {
516 new st[31]; 475 new st[31];
517 new Float:vl; 476 new Float:vl;
@@ -530,12 +489,9 @@ group { name: "elm/flipselector/base/default";
530 set_state(PART:"arrow_top", "disabled", 0.0); 489 set_state(PART:"arrow_top", "disabled", 0.0);
531 490
532 get_state(PART:"top_cur", st, 30, vl); 491 get_state(PART:"top_cur", st, 30, vl);
533 if (strcmp(st, "shrink"))
534 set_state(PART:"top_shine_cur", "visible", 0.0);
535 } 492 }
536 } 493 }
537 program { name: "enable"; 494 program { signal: "elm,state,enabled"; source: "elm";
538 signal: "elm,state,enabled"; source: "elm";
539 script { 495 script {
540 new st[31]; 496 new st[31];
541 new Float:vl; 497 new Float:vl;