Move highlighting logic into a dedicated widget.

This commit is contained in:
Paul Chote
2020-01-15 09:16:48 +00:00
committed by Matthias Mailänder
parent 46d59eef5e
commit a84c914317
7 changed files with 104 additions and 135 deletions

View File

@@ -36,8 +36,7 @@ Background@BUTTON_TOOLTIP:
VAlign: Top
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
Logic: ButtonTooltipWithDescHighlightLogic
Highlight: FFFF00
Logic: ButtonTooltipLogic
Background: dialog4
Height: 29
Children:
@@ -52,7 +51,7 @@ Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
TextColor: FFFF00
Height: 23
Font: Bold
Label@DESC:
LabelWithHighlight@DESC:
X: 7
Y: 27
Height: 12

View File

@@ -29,6 +29,7 @@ Metrics:
SpawnFont: TinyBold
SpawnLabelOffset: 0,1
TextColor: FFFFFF
TextHighlightColor: FFFF00
TextContrast: false
TextContrastColorDark: 000000
TextContrastColorLight: 7F7F7F