terminology/data/themes/default/selection.edc

1082 lines
32 KiB
Plaintext

///////////////////////////////////////////////////////////////////////////
//// the selection
// selections come in 5 modes:
//
// oneline (also multiple lines but all fill the row):
// | ######### |
//
// disjoint:
// | #######|
// |## |
//
// default:
// | ###########|
// |######### |
//
// topfull:
// |##############|
// |###### |
//
// bottomfull:
// | ######|
// |##############|
group { name: "terminology/selection";
parts {
// background pattern. duplicated because clips cut out regions of
// it to see and clips don't overlap
part { name: "background_top"; type: RECT;
mouse_events: 0;
clip_to: "top_clip";
description { state: "default" 0.0;
color: 255 255 255 128; // no cc
color_class: "GLOW";
}
}
part { name: "background_middle"; type: RECT;
mouse_events: 0;
clip_to: "middle_clip";
description { state: "default" 0.0;
color: 255 255 255 128; // no cc
color_class: "GLOW";
}
}
part { name: "background_bottom"; type: RECT;
mouse_events: 0;
clip_to: "bottom_clip";
description { state: "default" 0.0;
color: 255 255 255 128; // no cc
color_class: "GLOW";
}
}
// clips that clip the above pattern images to occupy specific
// regions of the object (or be invisible since clip is invisible)
part { name: "top_clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "terminology.top_left";
rel1.relative: 1.0 0.0;
rel2.to_y: "terminology.top_left";
rel2.relative: 1.0 1.0;
}
description { state: "oneline" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disjoint" 0.0;
inherit: "default" 0.0;
}
description { state: "topfull" 0.0;
inherit: "default" 0.0;
}
description { state: "bottomfull" 0.0;
inherit: "default" 0.0;
}
}
part { name: "middle_clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "terminology.top_left";
rel1.relative: 0.0 1.0;
rel2.to: "terminology.bottom_right";
rel2.relative: 1.0 0.0;
}
description { state: "oneline" 0.0;
rel1.to: "terminology.top_left";
rel1.relative: 1.0 0.0;
rel2.to: "terminology.bottom_right";
rel2.relative: 0.0 1.0;
}
description { state: "disjoint" 0.0;
inherit: "default" 0.0;
}
description { state: "topfull" 0.0;
inherit: "default" 0.0;
}
description { state: "bottomfull" 0.0;
inherit: "default" 0.0;
}
}
part { name: "bottom_clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to_y: "terminology.bottom_right";
rel1.relative: 0.0 0.0;
rel2.to_x: "terminology.bottom_right";
rel2.relative: 0.0 1.0;
}
description { state: "oneline" 0.0;
visible: 0;
}
description { state: "disjoint" 0.0;
inherit: "default" 0.0;
}
description { state: "topfull" 0.0;
inherit: "default" 0.0;
}
description { state: "bottomfull" 0.0;
inherit: "default" 0.0;
}
}
/*
// the outline around the selection...
#define TARGETS \
target: "top_clip"; target: "middle_clip"; target: "bottom_clip"; \
target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target: "4.clip"
part { name: "0.clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "oneline" 0.0; visible: 1; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "disjoint" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "topfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "bottomfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
}
part { name: "1.clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "oneline" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "disjoint" 0.0; visible: 1; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "topfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "bottomfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
}
part { name: "2.clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0; visible: 1; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "oneline" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "disjoint" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "topfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "bottomfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
}
part { name: "3.clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "oneline" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "disjoint" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "topfull" 0.0; visible: 1; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "bottomfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
}
part { name: "4.clip"; type: RECT;
mouse_events: 0;
description { state: "default" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "oneline" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "disjoint" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "topfull" 0.0; visible: 0; rel1.offset: -100 -100; rel2.offset: 101 101; }
description { state: "bottomfull" 0.0; visible: 1; rel1.offset: -100 -100; rel2.offset: 101 101; }
}
// oneline (also multiple lines but all fill the row):
// | ######### |
part { name: "0.left";
mouse_events: 0;
clip_to: "0.clip";
description { state: "default" 0.0;
rel1 {
to_x: "terminology.top_left";
relative: 1.0 0.0;
offset: -1 -1;
}
rel2 {
to_x: "terminology.top_left";
relative: 1.0 1.0;
offset: 2 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_left.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "0.right";
mouse_events: 0;
clip_to: "0.clip";
description { state: "default" 0.0;
rel1 {
to_x: "terminology.bottom_right";
relative: 0.0 0.0;
offset: -3 -1;
}
rel2 {
to_x: "terminology.bottom_right";
relative: 0.0 1.0;
offset: 0 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_right.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "0.top";
mouse_events: 0;
clip_to: "0.clip";
description { state: "default" 0.0;
rel1 {
to: "0.left";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "0.right";
relative: 0.0 0.0;
offset: -1 3;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "0.bottom";
mouse_events: 0;
clip_to: "0.clip";
description { state: "default" 0.0;
rel1 {
to: "0.left";
relative: 1.0 1.0;
offset: 0 -4;
}
rel2 {
to: "0.right";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
program { name: "oneline";
signal: "mode,oneline";
source: "terminology";
action: STATE_SET "oneline" 0.0;
TARGETS;
}
// disjoint:
// | #######|
// |## |
part { name: "1.left";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to: "terminology.top_left";
relative: 1.0 0.0;
offset: -1 -1;
}
rel2 {
to: "terminology.top_left";
relative: 1.0 1.0;
offset: 2 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_left.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "1.right";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to_y: "terminology.top_left";
relative: 1.0 0.0;
offset: -4 -1;
}
rel2 {
to_y: "terminology.top_left";
relative: 1.0 1.0;
offset: -1 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_right.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "1.top";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to: "1.left";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "1.right";
relative: 0.0 0.0;
offset: -1 3;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "1.bottom";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to: "1.left";
relative: 1.0 1.0;
offset: 0 -4;
}
rel2 {
to: "1.right";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
part { name: "1.left2";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to_y: "terminology.bottom_right";
offset: -1 -1;
}
rel2 {
to_y: "terminology.bottom_right";
relative: 0.0 1.0;
offset: 2 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_left.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "1.right2";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to: "terminology.bottom_right";
relative: 0.0 0.0;
offset: -3 -1;
}
rel2 {
to: "terminology.bottom_right";
relative: 0.0 1.0;
offset: 0 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_right.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "1.top2";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to: "1.left2";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "1.right2";
relative: 0.0 0.0;
offset: -1 3;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "1.bottom2";
mouse_events: 0;
clip_to: "1.clip";
description { state: "default" 0.0;
rel1 {
to: "1.left2";
relative: 1.0 1.0;
offset: 0 -4;
}
rel2 {
to: "1.right2";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
program { name: "disjoint";
signal: "mode,disjoint";
source: "terminology";
action: STATE_SET "disjoint" 0.0;
TARGETS;
}
// default:
// | ###########|
// |######### |
part { name: "2.topkink";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "top_clip";
relative: 0.0 0.0;
offset: -4 -1;
}
rel2 {
to: "top_clip";
relative: 0.0 1.0;
offset: 2 2;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_top.png";
image.border: 0 0 4 7;
}
}
part { name: "2.bottomkink";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "bottom_clip";
relative: 1.0 0.0;
offset: -3 -3;
}
rel2 {
to: "bottom_clip";
relative: 1.0 1.0;
offset: 3 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_bottom.png";
image.border: 0 0 7 4;
}
}
part { name: "2.left";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "middle_clip";
offset: -1 -1;
}
rel2 {
to: "bottom_clip";
relative: 0.0 1.0;
offset: 2 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_left.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "2.right";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "top_clip";
relative: 1.0 0.0;
offset: -3 -1;
}
rel2 {
to: "middle_clip";
offset: 0 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_right.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "2.top";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "2.topkink";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "2.right";
relative: 0.0 0.0;
offset: -1 3;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "2.top2";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "2.left";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "2.topkink";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "2.bottom";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "2.left";
relative: 1.0 1.0;
offset: 0 -4;
}
rel2 {
to: "2.bottomkink";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
part { name: "2.bottom2";
mouse_events: 0;
clip_to: "2.clip";
description { state: "default" 0.0;
rel1 {
to: "2.bottomkink";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "2.right";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
program { name: "multiline";
signal: "mode,multiline";
source: "terminology";
action: STATE_SET "default" 0.0;
TARGETS;
}
// topfull:
// |##############|
// |###### |
part { name: "3.bottomkink";
mouse_events: 0;
clip_to: "3.clip";
description { state: "default" 0.0;
rel1 {
to: "bottom_clip";
relative: 1.0 0.0;
offset: -3 -3;
}
rel2 {
to: "bottom_clip";
relative: 1.0 1.0;
offset: 3 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_bottom.png";
image.border: 0 0 7 4;
}
}
part { name: "3.left";
mouse_events: 0;
clip_to: "3.clip";
description { state: "default" 0.0;
rel1 {
to: "top_clip";
offset: -1 -1;
}
rel2 {
to: "bottom_clip";
relative: 0.0 1.0;
offset: 2 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_left.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "3.right";
mouse_events: 0;
clip_to: "3.clip";
description { state: "default" 0.0;
rel1 {
to: "top_clip";
relative: 1.0 0.0;
offset: -3 -1;
}
rel2 {
to: "middle_clip";
offset: 0 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_right.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "3.top";
mouse_events: 0;
clip_to: "3.clip";
description { state: "default" 0.0;
rel1 {
to: "3.left";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "3.right";
relative: 0.0 0.0;
offset: -1 3;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "3.bottom";
mouse_events: 0;
clip_to: "3.clip";
description { state: "default" 0.0;
rel1 {
to: "3.left";
relative: 1.0 1.0;
offset: 0 -4;
}
rel2 {
to: "3.bottomkink";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
part { name: "3.bottom2";
mouse_events: 0;
clip_to: "3.clip";
description { state: "default" 0.0;
rel1 {
to: "3.bottomkink";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "3.right";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
program { name: "topfull";
signal: "mode,topfull";
source: "terminology";
action: STATE_SET "topfull" 0.0;
TARGETS;
}
// bottomfull:
// | ######|
// |##############|
part { name: "4.topkink";
mouse_events: 0;
clip_to: "4.clip";
description { state: "default" 0.0;
rel1 {
to: "top_clip";
relative: 0.0 0.0;
offset: -4 -1;
}
rel2 {
to: "top_clip";
relative: 0.0 1.0;
offset: 2 2;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_top.png";
image.border: 0 0 4 7;
}
}
part { name: "4.left";
mouse_events: 0;
clip_to: "4.clip";
description { state: "default" 0.0;
rel1 {
to: "middle_clip";
offset: -1 -1;
}
rel2 {
to: "bottom_clip";
relative: 0.0 1.0;
offset: 2 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_left.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "4.right";
mouse_events: 0;
clip_to: "4.clip";
description { state: "default" 0.0;
rel1 {
to: "top_clip";
relative: 1.0 0.0;
offset: -3 -1;
}
rel2 {
offset: 0 0;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_right.png";
image.border: 0 0 4 4;
fill.smooth: 0;
}
}
part { name: "4.top";
mouse_events: 0;
clip_to: "4.clip";
description { state: "default" 0.0;
rel1 {
to: "4.topkink";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "4.right";
relative: 0.0 0.0;
offset: -1 3;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "4.top2";
mouse_events: 0;
clip_to: "4.clip";
description { state: "default" 0.0;
rel1 {
to: "4.left";
relative: 1.0 0.0;
offset: 0 0;
}
rel2 {
to: "4.topkink";
relative: 0.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_htop.png";
fill.smooth: 0;
}
}
part { name: "4.bottom";
mouse_events: 0;
clip_to: "4.clip";
description { state: "default" 0.0;
rel1 {
to: "4.left";
relative: 1.0 1.0;
offset: 0 -4;
}
rel2 {
to: "4.right";
relative: 1.0 1.0;
offset: -1 -1;
}
color: 255 255 255 128;
color_class: "GLOW";
image.normal: "sl_hbottom.png";
fill.smooth: 0;
}
}
program {
signal: "mode,bottomfull"; source: "terminology";
action: STATE_SET "bottomfull" 0.0;
TARGETS;
}
*/
// the outline around the selection...
#define TARGETS \
target: "top_clip"; target: "middle_clip"; target: "bottom_clip";
program { signal: "mode,oneline"; source: "terminology";
action: STATE_SET "oneline" 0.0;
TARGETS;
}
program { signal: "mode,disjoint"; source: "terminology";
action: STATE_SET "disjoint" 0.0;
TARGETS;
}
program { signal: "mode,multiline"; source: "terminology";
action: STATE_SET "default" 0.0;
TARGETS;
}
program { signal: "mode,topfull"; source: "terminology";
action: STATE_SET "topfull" 0.0;
TARGETS;
}
program { signal: "mode,bottomfull"; source: "terminology";
action: STATE_SET "bottomfull" 0.0;
TARGETS;
}
// top and bottom swallows used to coimmunicate via min/max size the
// size of the top and bottom lines
part { name: "terminology.top_left"; type: SWALLOW;
mouse_events: 0;
description { state: "default" 0.0;
align: 0.0 0.0;
rel2.relative: 0.0 0.0;
visible: 0;
}
}
part { name: "terminology.bottom_right"; type: SWALLOW;
mouse_events: 0;
description { state: "default" 0.0;
align: 1.0 1.0;
rel1.relative: 1.0 1.0;
visible: 0;
}
}
// blinky cursors indicating you can drag the ends of the selection
part { name: "cursor.top_left"; type: SPACER;
description { state: "default" 0.0;
rel.to: "terminology.top_left";
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
max: 0 99999;
}
}
part { name: "cursor.top_left_arrow_l";
scale: 1;
description { state: "default" 0.0;
image.normal: "arrow-l";
color_class: "/fg/normal/term/selection/arrow/left";
rel.to: "cursor.top_left";
min: 15 15;
max: 15 15;
align: 1.0 0.5;
rel1.offset: -5 0;
rel2.offset: -5 -1;
rel2.relative: 0.0 1.0;
offscale;
}
description { state: "fading" 0.0;
inherit: "default" 0.0;
}
description { state: "fading" 1.0;
inherit: "default" 0.0;
rel1.offset: -15 0;
rel2.offset: -15 -1;
color: 255 255 255 0; // no cc
}
}
part { name: "cursor.top_left_arrow_u";
scale: 1;
description { state: "default" 0.0;
image.normal: "arrow-u";
color_class: "/fg/normal/term/selection/arrow/up";
rel.to: "cursor.top_left";
min: 15 15;
max: 15 15;
align: 0.5 1.0;
rel1.offset: 0 -5;
rel2.offset: -1 -5;
rel2.relative: 1.0 0.0;
offscale;
}
description { state: "fading" 0.0;
inherit: "default" 0.0;
}
description { state: "fading" 1.0;
inherit: "default" 0.0;
rel1.offset: 0 -15;
rel2.offset: -1 -15;
color: 255 255 255 0; // no cc
}
}
part { name: "zone.top_left"; type: RECT;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
rel.to: "cursor.top_left";
min: 30 30;
rel1.offset: -15 -15;
rel2.offset: 14 -1;
offscale;
}
program { name: "top_left.blink";
signal: "mouse,in"; source: "zone.top_left";
action: STATE_SET "fading" 0.0;
target: "cursor.top_left_arrow_l";
target: "cursor.top_left_arrow_u";
after: "top_left.fade";
}
program { name: "top_left.fade";
action: STATE_SET "fading" 1.0;
transition: LINEAR 0.5;
target: "cursor.top_left_arrow_l";
target: "cursor.top_left_arrow_u";
after: "top_left.blink";
}
program { signal: "mouse,out"; source: "zone.top_left";
action: STATE_SET "default" 0.0;
target: "cursor.top_left_arrow_l";
target: "cursor.top_left_arrow_u";
}
}
part { name: "cursor.bottom_right"; type: SPACER;
description { state: "default" 0.0;
rel.to: "terminology.bottom_right";
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
max: 0 99999;
}
}
part { name: "cursor.top_left_arrow_r";
scale: 1;
description { state: "default" 0.0;
image.normal: "arrow-r";
color_class: "/fg/normal/term/selection/arrow/left";
rel.to: "cursor.bottom_right";
min: 15 15;
max: 15 15;
align: 0.0 0.5;
rel1.offset: 4 0;
rel2.offset: 4 -1;
rel1.relative: 1.0 0.0;
offscale;
}
description { state: "fading" 0.0;
inherit: "default" 0.0;
}
description { state: "fading" 1.0;
inherit: "default" 0.0;
rel1.offset: 14 0;
rel2.offset: 14 -1;
color: 255 255 255 0; // no cc
}
}
part { name: "cursor.top_left_arrow_d";
scale: 1;
description { state: "default" 0.0;
image.normal: "arrow-d";
color_class: "/fg/normal/term/selection/arrow/down";
rel.to: "cursor.bottom_right";
min: 15 15;
max: 15 15;
align: 0.5 0.0;
rel1.offset: 0 4;
rel2.offset: -1 4;
rel1.relative: 0.0 1.0;
offscale;
}
description { state: "fading" 0.0;
inherit: "default" 0.0;
}
description { state: "fading" 1.0;
inherit: "default" 0.0;
rel1.offset: 0 14;
rel2.offset: -1 14;
color: 255 255 255 0; // no cc
}
}
part { name: "zone.bottom_right"; type: RECT;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
rel.to: "cursor.bottom_right";
min: 30 30;
rel1.offset: -15 0;
rel2.offset: 14 14;
offscale;
}
program { name: "bottom_right.blink";
signal: "mouse,in"; source: "zone.bottom_right";
action: STATE_SET "fading" 0.0;
target: "cursor.top_left_arrow_r";
target: "cursor.top_left_arrow_d";
after: "bottom_right.fade";
}
program { name: "bottom_right.fade";
action: STATE_SET "fading" 1.0;
transition: LINEAR 0.5;
target: "cursor.top_left_arrow_r";
target: "cursor.top_left_arrow_d";
after: "bottom_right.blink";
}
program { signal: "mouse,out"; source: "zone.bottom_right";
action: STATE_SET "default" 0.0;
target: "cursor.top_left_arrow_r";
target: "cursor.top_left_arrow_d";
}
}
}
}