Refactor ScrollItemWidget to use stateful image names

This commit is contained in:
Gustas
2022-08-23 16:40:47 +03:00
committed by Pavel Penev
parent 11a2e6e19b
commit 08dbfe0cbd
7 changed files with 65 additions and 24 deletions

View File

@@ -205,16 +205,23 @@ scrollpanel-button-gdi-disabled:
scrollpanel-button-gdi-pressed:
Inherits: button-gdi-pressed
scrollitem:
scrollitem-hover:
Inherits: button
scrollitem-selected:
scrollitem-highlighted:
Inherits: button-pressed
scrollitem-nohover:
scrollitem-nohover-hover:
scrollitem-nohover-highlighted:
scrollheader:
Inherits: button
scrollheader-highlighted:
Inherits: button
#
# Slider

View File

@@ -24,6 +24,7 @@ Container@MISSIONBROWSER_PANEL:
Height: PARENT_BOTTOM - 30
Children:
ScrollItem@HEADER:
BaseName: scrollheader
Width: PARENT_RIGHT - 27
Height: 13
X: 2