summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-11-29 23:02:38 +0100
committerBoris Faure <billiob@gmail.com>2014-11-30 16:21:39 +0100
commita85dc5be9d46e819fb1063270dfb0374e440ef3b (patch)
tree44d4f7213f5fd093b728506e5e59cf98cff2a252 /data
parent9abf95c981597ca27c3ac5767a3fe4a79d0f7a0b (diff)
only show tabselector if tabcount > 1
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc61
1 files changed, 33 insertions, 28 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index c2eb416..7dab1be 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -2447,10 +2447,23 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2447 rel2.to: "content"; 2447 rel2.to: "content";
2448 } 2448 }
2449 } 2449 }
2450 part { name: "tabcount_clip"; type: RECT;
2451 description { state: "default" 0.0;
2452 color: 255 255 255 0;
2453 visible: 0;
2454 }
2455 description { state: "on" 0.0;
2456 inherit: "default" 0.0;
2457 visible: 1;
2458 color: 255 255 255 255;
2459 rel1.to: "content";
2460 rel2.to: "content";
2461 }
2462 }
2450 part { name: "terminology.tabmissed.label"; type: TEXT; mouse_events: 0; 2463 part { name: "terminology.tabmissed.label"; type: TEXT; mouse_events: 0;
2451 effect: GLOW; 2464 effect: GLOW;
2452 scale: 1; 2465 scale: 1;
2453 clip_to: "tabcontrols_clip"; 2466 clip_to: "tabcount_clip";
2454 description { state: "default" 0.0; 2467 description { state: "default" 0.0;
2455 fixed: 1 1; 2468 fixed: 1 1;
2456 rel1.to: "terminology.tabcount.label"; 2469 rel1.to: "terminology.tabcount.label";
@@ -2476,7 +2489,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2476 } 2489 }
2477 } 2490 }
2478 part { name: "terminology.tabmissed.ev"; type: RECT; repeat_events: 1; 2491 part { name: "terminology.tabmissed.ev"; type: RECT; repeat_events: 1;
2479 clip_to: "tabcontrols_clip"; 2492 clip_to: "tabcount_clip";
2480 description { state: "default" 0.0; 2493 description { state: "default" 0.0;
2481 fixed: 1 1; 2494 fixed: 1 1;
2482 rel1.to: "terminology.tabmissed.label"; 2495 rel1.to: "terminology.tabmissed.label";
@@ -2487,7 +2500,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2487 part { name: "terminology.tabcount.label"; type: TEXT; mouse_events: 0; 2500 part { name: "terminology.tabcount.label"; type: TEXT; mouse_events: 0;
2488 effect: GLOW; 2501 effect: GLOW;
2489 scale: 1; 2502 scale: 1;
2490 clip_to: "tabcontrols_clip"; 2503 clip_to: "tabcount_clip";
2491 description { state: "default" 0.0; 2504 description { state: "default" 0.0;
2492 fixed: 1 1; 2505 fixed: 1 1;
2493 rel1.to: "terminology.tabselector.spacer"; 2506 rel1.to: "terminology.tabselector.spacer";
@@ -2512,7 +2525,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2512 } 2525 }
2513 } 2526 }
2514 part { name: "terminology.tabcount.ev"; type: RECT; repeat_events: 1; 2527 part { name: "terminology.tabcount.ev"; type: RECT; repeat_events: 1;
2515 clip_to: "tabcontrols_clip"; 2528 clip_to: "tabcount_clip";
2516 description { state: "default" 0.0; 2529 description { state: "default" 0.0;
2517 fixed: 1 1; 2530 fixed: 1 1;
2518 rel1.to: "terminology.tabcount.label"; 2531 rel1.to: "terminology.tabcount.label";
@@ -2521,7 +2534,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2521 } 2534 }
2522 } 2535 }
2523 part { name: "tabselector_glow_r0"; 2536 part { name: "tabselector_glow_r0";
2524 clip_to: "tabcontrols_clip"; 2537 clip_to: "tabcount_clip";
2525 description { state: "default" 0.0; 2538 description { state: "default" 0.0;
2526 rel1.to: "tabselector_r0"; 2539 rel1.to: "tabselector_r0";
2527 rel2.to: "tabselector_r0"; 2540 rel2.to: "tabselector_r0";
@@ -2539,7 +2552,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2539 } 2552 }
2540 } 2553 }
2541 part { name: "tabselector_glow_r1"; 2554 part { name: "tabselector_glow_r1";
2542 clip_to: "tabcontrols_clip"; 2555 clip_to: "tabcount_clip";
2543 description { state: "default" 0.0; 2556 description { state: "default" 0.0;
2544 rel1.to: "tabselector_r1"; 2557 rel1.to: "tabselector_r1";
2545 rel2.to: "tabselector_r1"; 2558 rel2.to: "tabselector_r1";
@@ -2557,7 +2570,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2557 } 2570 }
2558 } 2571 }
2559 part { name: "tabselector_glow_r2"; 2572 part { name: "tabselector_glow_r2";
2560 clip_to: "tabcontrols_clip"; 2573 clip_to: "tabcount_clip";
2561 description { state: "default" 0.0; 2574 description { state: "default" 0.0;
2562 rel1.to: "tabselector_r2"; 2575 rel1.to: "tabselector_r2";
2563 rel2.to: "tabselector_r2"; 2576 rel2.to: "tabselector_r2";
@@ -2575,7 +2588,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2575 } 2588 }
2576 } 2589 }
2577 part { name: "tabselector_glow_r3"; 2590 part { name: "tabselector_glow_r3";
2578 clip_to: "tabcontrols_clip"; 2591 clip_to: "tabcount_clip";
2579 description { state: "default" 0.0; 2592 description { state: "default" 0.0;
2580 rel1.to: "tabselector_r3"; 2593 rel1.to: "tabselector_r3";
2581 rel2.to: "tabselector_r3"; 2594 rel2.to: "tabselector_r3";
@@ -2593,7 +2606,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2593 } 2606 }
2594 } 2607 }
2595 part { name: "tabselector_r0"; type: RECT; 2608 part { name: "tabselector_r0"; type: RECT;
2596 clip_to: "tabcontrols_clip"; 2609 clip_to: "tabcount_clip";
2597 description { state: "default" 0.0; 2610 description { state: "default" 0.0;
2598 rel1.to: "terminology.tabselector.spacer"; 2611 rel1.to: "terminology.tabselector.spacer";
2599 rel2.to: "terminology.tabselector.spacer"; 2612 rel2.to: "terminology.tabselector.spacer";
@@ -2607,7 +2620,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2607 } 2620 }
2608 } 2621 }
2609 part { name: "tabselector_r1"; type: RECT; 2622 part { name: "tabselector_r1"; type: RECT;
2610 clip_to: "tabcontrols_clip"; 2623 clip_to: "tabcount_clip";
2611 description { state: "default" 0.0; 2624 description { state: "default" 0.0;
2612 rel1.to: "terminology.tabselector.spacer"; 2625 rel1.to: "terminology.tabselector.spacer";
2613 rel2.to: "terminology.tabselector.spacer"; 2626 rel2.to: "terminology.tabselector.spacer";
@@ -2621,7 +2634,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2621 } 2634 }
2622 } 2635 }
2623 part { name: "tabselector_r2"; type: RECT; 2636 part { name: "tabselector_r2"; type: RECT;
2624 clip_to: "tabcontrols_clip"; 2637 clip_to: "tabcount_clip";
2625 description { state: "default" 0.0; 2638 description { state: "default" 0.0;
2626 rel1.to: "terminology.tabselector.spacer"; 2639 rel1.to: "terminology.tabselector.spacer";
2627 rel2.to: "terminology.tabselector.spacer"; 2640 rel2.to: "terminology.tabselector.spacer";
@@ -2635,7 +2648,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2635 } 2648 }
2636 } 2649 }
2637 part { name: "tabselector_r3"; type: RECT; 2650 part { name: "tabselector_r3"; type: RECT;
2638 clip_to: "tabcontrols_clip"; 2651 clip_to: "tabcount_clip";
2639 description { state: "default" 0.0; 2652 description { state: "default" 0.0;
2640 rel1.to: "terminology.tabselector.spacer"; 2653 rel1.to: "terminology.tabselector.spacer";
2641 rel2.to: "terminology.tabselector.spacer"; 2654 rel2.to: "terminology.tabselector.spacer";
@@ -2649,7 +2662,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2649 } 2662 }
2650 } 2663 }
2651 part { name: "terminology.tabselector.spacer"; type: SWALLOW; 2664 part { name: "terminology.tabselector.spacer"; type: SWALLOW;
2652 clip_to: "tabcontrols_clip"; 2665 clip_to: "tabcount_clip";
2653 description { state: "default" 0.0; 2666 description { state: "default" 0.0;
2654 fixed: 1 1; 2667 fixed: 1 1;
2655 rel1.to: "terminology.tabbar.spacer"; 2668 rel1.to: "terminology.tabbar.spacer";
@@ -2661,7 +2674,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2661 } 2674 }
2662 } 2675 }
2663 part { name: "tabselector_ev"; type: RECT; repeat_events: 1; 2676 part { name: "tabselector_ev"; type: RECT; repeat_events: 1;
2664 clip_to: "tabcontrols_clip"; 2677 clip_to: "tabcount_clip";
2665 description { state: "default" 0.0; 2678 description { state: "default" 0.0;
2666 fixed: 1 1; 2679 fixed: 1 1;
2667 rel1.to: "terminology.tabselector.spacer"; 2680 rel1.to: "terminology.tabselector.spacer";
@@ -2865,25 +2878,17 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2865 target: "tabcontrols_clip"; 2878 target: "tabcontrols_clip";
2866 } 2879 }
2867 program { 2880 program {
2868 signal: "tabmissed,off"; source: "terminology"; 2881 signal: "tabcount,off"; source: "terminology";
2869 action: STATE_SET "default" 0.0; 2882 action: STATE_SET "default" 0.0;
2870 transition: DECELERATE 0.5; 2883 transition: DECELERATE 0.5;
2871 target: "terminology.tabmissed.label"; 2884 target: "tabcount_clip";
2872 } 2885 }
2873 program { 2886 program {
2874 signal: "tabmissed,on"; source: "terminology"; 2887 signal: "tabcount,on"; source: "terminology";
2875 action: STATE_SET "over" 0.0; 2888 action: STATE_SET "on" 0.0;
2876 transition: DECELERATE 0.2; 2889 transition: DECELERATE 0.5;
2877 target: "terminology.tabmissed.label"; 2890 target: "tabcount_clip";
2878 after: "tabmissed2";
2879 }
2880 program { name: "tabmissed2";
2881 signal: "tabmissed,on"; source: "terminology";
2882 action: STATE_SET "default" 0.0;
2883 transition: DECELERATE 3.0;
2884 target: "terminology.tabmissed.label";
2885 } 2891 }
2886
2887 } 2892 }
2888 } 2893 }
2889 2894