theme - selection - fix signal handling for all the sel modes

This commit is contained in:
Carsten Haitzler 2021-12-11 09:55:44 +00:00
parent 7bf32b653e
commit 0b1b9fc9d1
1 changed files with 24 additions and 0 deletions

View File

@ -860,6 +860,30 @@ group { name: "terminology/selection";
}
*/
// 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;