forked from enlightenment/efl
randr theme: add possibility to hide refresh arrow
This commit is contained in:
parent
e13f85f038
commit
181817d988
|
@ -386,7 +386,19 @@ group { name: "e/conf/randr/main/frame";
|
|||
align: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "arrowclip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.event.arrow.show";
|
||||
rel2.to: "e.event.arrow.show";
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "arrow1clip"; type: RECT;
|
||||
clip_to: "arrowclip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.event.arrow.show";
|
||||
rel2.to: "e.event.arrow.show";
|
||||
|
@ -397,6 +409,7 @@ group { name: "e/conf/randr/main/frame";
|
|||
}
|
||||
}
|
||||
part { name: "arrow2clip"; type: RECT;
|
||||
clip_to: "arrowclip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.event.arrow.show";
|
||||
rel2.to: "e.event.arrow.show";
|
||||
|
@ -434,6 +447,7 @@ group { name: "e/conf/randr/main/frame";
|
|||
}
|
||||
}
|
||||
part { name: "e.event.arrow.show"; type: RECT;
|
||||
clip_to: "arrowclip";
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
max: 21 21;
|
||||
|
@ -520,6 +534,16 @@ group { name: "e/conf/randr/main/frame";
|
|||
transition: ACCELERATE 0.5;
|
||||
target: "e.swallow.refresh";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,refresh,enabled"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrowclip";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,refresh,disabled"; source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "arrowclip";
|
||||
}
|
||||
program { name: "rrpulse1";
|
||||
signal: "show"; source: "";
|
||||
action: STATE_SET "pulse" 0.0;
|
||||
|
|
Loading…
Reference in New Issue