Refactor checkbox

This commit is contained in:
Gustas
2022-06-20 17:07:45 +03:00
committed by teinarss
parent 804bff1b0e
commit bf5bd63635
13 changed files with 138 additions and 65 deletions

View File

@@ -394,13 +394,29 @@ reload-icon:
disabled-10: 955, 34, 16, 16
disabled-11: 972, 34, 16, 16
checkbox-bits:
checkmark-tick:
Inherits: ^Chrome
Regions:
checked: 972, 17, 16, 16
checked-pressed: 989, 17, 16, 16
checked-disabled: 989, 17, 16, 16
crossed: 972, 0, 16, 16
crossed-disabled: 989, 0, 16, 16
unchecked: 0, 0, 0, 0
unchecked-pressed: 989, 17, 16, 16
checkmark-highlighted-tick:
Inherits: checkmark-tick
checkmark-cross:
Inherits: ^Chrome
Regions:
checked: 972, 0, 16, 16
checked-pressed: 989, 0, 16, 16
checked-disabled: 989, 0, 16, 16
unchecked: 0, 0, 0, 0
unchecked-pressed: 989, 0, 16, 16
checkmark-highlighted-cross:
Inherits: checkmark-cross
flags:
Inherits: ^Chrome

View File

@@ -166,7 +166,7 @@ Container@LOBBY_PLAYER_BIN:
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Checkbox@STATUS_CHECKBOX:
@@ -294,7 +294,7 @@ Container@LOBBY_PLAYER_BIN:
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_EMPTY:
@@ -376,7 +376,7 @@ Container@LOBBY_PLAYER_BIN:
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Checkbox@STATUS_CHECKBOX:
@@ -457,7 +457,7 @@ Container@LOBBY_PLAYER_BIN:
Y: 4
Width: 20
Height: 20
ImageCollection: checkbox-bits
ImageCollection: checkmark-tick
ImageName: checked
Visible: false
Container@TEMPLATE_NEW_SPECTATOR:

View File

@@ -3,5 +3,4 @@
Metrics:
ButtonDepth: 0
ButtonFont: Bold
CheckboxPressedState: true
TextfieldColorHighlight: 800000