summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChris Michael <devilhorns@comcast.net>2013-05-24 11:01:02 +0100
committerChris Michael <devilhorns@comcast.net>2013-05-24 11:01:02 +0100
commit7955818e255abe1a359f27cee8061058d0529d0a (patch)
treecdbb242abef349d5a65acdf4b5e4d4bb0b8c2893 /data
parent1b58e6cf8e89fcb9e2a89e21b329ddfc12efaaf3 (diff)
Add randr theme support for primary outputs
NB: Someone may want to retheme this.... Signed-off-by: Chris Michael <devilhorns@comcast.net>
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/randr.edc23
1 files changed, 23 insertions, 0 deletions
diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc
index 3eb8f69d1..0232daa30 100644
--- a/data/themes/edc/randr.edc
+++ b/data/themes/edc/randr.edc
@@ -98,6 +98,19 @@ group { name: "e/conf/randr/main/frame";
98 public refresh_open; 98 public refresh_open;
99 } 99 }
100 parts { 100 parts {
101 part { name: "primary"; type: IMAGE;
102 description { state: "default" 0.0;
103 image.normal: "glow_small.png";
104 image.border: 7 7 7 7;
105 rel1.offset: -4 -4;
106 rel2.offset: 3 3;
107 visible: 0;
108 }
109 description { state: "on" 0.0;
110 inherit: "default" 0.0;
111 visible: 1;
112 }
113 }
101 part { name: "base"; 114 part { name: "base";
102 description { state: "default" 0.0; 115 description { state: "default" 0.0;
103 image.normal: "screen_bg.png"; 116 image.normal: "screen_bg.png";
@@ -533,6 +546,16 @@ group { name: "e/conf/randr/main/frame";
533 target: "e.event.rotate"; 546 target: "e.event.rotate";
534 } 547 }
535 program { 548 program {
549 signal: "e,state,primary,off"; source: "e";
550 action: STATE_SET "default" 0.0;
551 target: "primary";
552 }
553 program {
554 signal: "e,state,primary,on"; source: "e";
555 action: STATE_SET "on" 0.0;
556 target: "primary";
557 }
558 program {
536 signal: "mouse,in"; source: "e.event.resize"; 559 signal: "mouse,in"; source: "e.event.resize";
537 action: SIGNAL_EMIT "e,action,resize,in" "e"; 560 action: SIGNAL_EMIT "e,action,resize,in" "e";
538 } 561 }