mild: full window visual bell

the siren on the bottom-right may be difficult to notice on maximized
windows on large displayes. Then make a full window visual bell, I
hope it's noticeable but not annoying.



SVN revision: 75579
This commit is contained in:
Gustavo Sverzut Barbieri 2012-08-23 00:32:06 +00:00
parent 068c03763c
commit 5970864a85
1 changed files with 59 additions and 0 deletions

View File

@ -17,6 +17,7 @@ collections {
// background handling
part { name: "baseclip"; type: RECT;
clip_to: "bellclip";
description { state: "default" 0.0;
}
description { state: "image" 0.0;
@ -126,6 +127,64 @@ collections {
target: "baseclip";
}
part { name: "bellclip"; type: RECT;
description { state: "default" 0.0;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
color: 200 200 200 255;
}
description { state: "pulse2" 0.0;
inherit: "default" 0.0;
}
}
part { name: "belloverlay"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
color: 255 255 255 0;
visible: 0;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
}
description { state: "pulse2" 0.0;
inherit: "default" 0.0;
color: 220 220 220 16;
visible: 1;
}
}
program {
signal: "bell";
source: "terminology";
action: STATE_SET "default" 0.0;
target: "bellclip";
target: "belloverlay";
after: "bellclip_bell.2";
}
program {
name: "bellclip_bell.2";
action: STATE_SET "pulse1" 0.0;
transition: ACCELERATE 0.2;
target: "bellclip";
target: "belloverlay";
after: "bellclip_bell.3";
}
program {
name: "bellclip_bell.3";
action: STATE_SET "pulse2" 0.0;
transition: ACCELERATE 0.2;
target: "bellclip";
target: "belloverlay";
after: "bellclip_bell.4";
}
program {
name: "bellclip_bell.4";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.2;
target: "bellclip";
target: "belloverlay";
}
////////////////////////////////////////////////////////////////////
// actual text grid for chars, cursors, selectiond etc. goes here
part { name: "terminology.content"; type: SWALLOW;