Refactor checkbox
This commit is contained in:
@@ -373,18 +373,35 @@ slider-thumb-disabled:
|
||||
checkbox:
|
||||
Inherits: button-pressed
|
||||
|
||||
checkbox-bits:
|
||||
checkmark-tick:
|
||||
Inherits: ^Glyphs
|
||||
Regions:
|
||||
checked: 187, 0, 16, 16
|
||||
checked-disabled: 204, 0, 16, 16
|
||||
crossed: 221, 0, 16, 16
|
||||
crossed-disabled: 238, 0, 16, 16
|
||||
checked-pressed: 204, 0, 16, 16
|
||||
unchecked: 0, 0, 0, 0
|
||||
unchecked-pressed: 204, 0, 16, 16
|
||||
|
||||
checkmark-highlighted-tick:
|
||||
Inherits: checkmark-tick
|
||||
|
||||
checkmark-cross:
|
||||
Inherits: ^Glyphs
|
||||
Regions:
|
||||
checked: 221, 0, 16, 16
|
||||
checked-pressed: 238, 0, 16, 16
|
||||
unchecked: 0, 0, 0, 0
|
||||
unchecked-pressed: 238, 0, 16, 16
|
||||
|
||||
checkmark-highlighted-cross:
|
||||
Inherits: checkmark-cross
|
||||
|
||||
checkbox-hover:
|
||||
Inherits: ^Dialog
|
||||
PanelRegion: 641, 129, 2, 2, 122, 122, 2, 2
|
||||
|
||||
checkbox-pressed:
|
||||
Inherits: checkbox-hover
|
||||
|
||||
# Same as a button-disabled-pressed
|
||||
checkbox-disabled:
|
||||
Inherits: ^Dialog
|
||||
@@ -396,6 +413,9 @@ checkbox-highlighted:
|
||||
checkbox-highlighted-hover:
|
||||
Inherits: checkbox-highlighted
|
||||
|
||||
checkbox-highlighted-pressed:
|
||||
Inherits: checkbox-highlighted
|
||||
|
||||
checkbox-highlighted-disabled:
|
||||
Inherits: checkbox-disabled
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Y: 4
|
||||
Width: 20
|
||||
Height: 20
|
||||
ImageCollection: checkbox-bits
|
||||
ImageCollection: checkmark-tick
|
||||
ImageName: checked
|
||||
Visible: false
|
||||
Container@TEMPLATE_NONEDITABLE_PLAYER:
|
||||
@@ -288,7 +288,7 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Y: 4
|
||||
Width: 20
|
||||
Height: 20
|
||||
ImageCollection: checkbox-bits
|
||||
ImageCollection: checkmark-tick
|
||||
ImageName: checked
|
||||
Visible: false
|
||||
Container@TEMPLATE_EMPTY:
|
||||
@@ -373,7 +373,7 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Y: 4
|
||||
Width: 20
|
||||
Height: 20
|
||||
ImageCollection: checkbox-bits
|
||||
ImageCollection: checkmark-tick
|
||||
ImageName: checked
|
||||
Visible: false
|
||||
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
|
||||
@@ -448,7 +448,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:
|
||||
|
||||
Reference in New Issue
Block a user