[THEMES][MIZU] Add support for themed Show Desktop button (#5744)

Also double-check button sizing and visual padding.

Addendum to df4eb08b031. CORE-15369
This commit is contained in:
Ethan Rodensky 2023-09-30 16:42:55 -04:00 committed by Stanislav Motylkov
parent 3833d927e4
commit 7f021debdc
6 changed files with 59 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -138,6 +138,8 @@ NORMAL_TASKBANDSCROLLTHUMBHORIZONTAL_BMP BITMAP "bitmaps/NORMAL_TASKBANDSCROLLTH
NORMAL_TASKBANDSCROLLTHUMBVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBANDSCROLLTHUMBVERTICAL.bmp" NORMAL_TASKBANDSCROLLTHUMBVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBANDSCROLLTHUMBVERTICAL.bmp"
NORMAL_TASKBARBACKGROUNDVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBARBACKGROUNDVERTICAL.bmp" NORMAL_TASKBARBACKGROUNDVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBARBACKGROUNDVERTICAL.bmp"
NORMAL_TASKBARBACKGROUND_BMP BITMAP "bitmaps/NORMAL_TASKBARBACKGROUND.bmp" NORMAL_TASKBARBACKGROUND_BMP BITMAP "bitmaps/NORMAL_TASKBARBACKGROUND.bmp"
NORMAL_SHOWDESKTOPVERTICAL_BMP BITMAP "bitmaps/NORMAL_SHOWDESKTOPVERTICAL.bmp"
NORMAL_SHOWDESKTOP_BMP BITMAP "bitmaps/NORMAL_SHOWDESKTOP.bmp"
NORMAL_TASKBARCHEVRONVERT_BMP BITMAP "bitmaps/NORMAL_TASKBARCHEVRONVERT.bmp" NORMAL_TASKBARCHEVRONVERT_BMP BITMAP "bitmaps/NORMAL_TASKBARCHEVRONVERT.bmp"
NORMAL_TASKBARCHEVRON_BMP BITMAP "bitmaps/NORMAL_TASKBARCHEVRON.bmp" NORMAL_TASKBARCHEVRON_BMP BITMAP "bitmaps/NORMAL_TASKBARCHEVRON.bmp"
NORMAL_TASKBARGRIPPERVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBARGRIPPERVERTICAL.bmp" NORMAL_TASKBARGRIPPERVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBARGRIPPERVERTICAL.bmp"

View file

@ -2235,7 +2235,7 @@ ContentMargins = 29, 7, 0, 0
FillColorHint = 13 141 234 FillColorHint = 13 141 234
ImageCount = 1 ImageCount = 1
ImageFile = Normal\TaskbarTray.bmp ImageFile = Normal\TaskbarTray.bmp
SizingMargins = 1, 0, 23, 0 SizingMargins = 18, 0, 23, 0
SizingType = Stretch SizingType = Stretch
Transparent = True Transparent = True
TransparentColor = 255 0 0 TransparentColor = 255 0 0
@ -2278,3 +2278,21 @@ ImageFile = Normal\TrayChevronHorizontalOpen.bmp
Imagelayout = vertical Imagelayout = vertical
SizingType = TrueSize SizingType = TrueSize
Transparent = True Transparent = True
[ShowDesktop::Button]
MirrorImage = True
ImageCount = 3
ImageFile = Normal\ShowDesktop.bmp
SizingMargins = 2, 2, 2, 2
BgType = ImageFile
SizingType = Stretch
ImageLayout = Vertical
[VerticalShowDesktop::Button]
MirrorImage = True
ImageCount = 3
ImageFile = Normal\ShowDesktopVertical.bmp
SizingMargins = 2, 2, 2, 2
BgType = ImageFile
SizingType = Stretch
ImageLayout = Vertical

View file

@ -2235,7 +2235,7 @@ ContentMargins = 29, 7, 0, 0
FillColorHint = 13 141 234 FillColorHint = 13 141 234
ImageCount = 1 ImageCount = 1
ImageFile = Normal\TaskbarTray.bmp ImageFile = Normal\TaskbarTray.bmp
SizingMargins = 1, 0, 23, 0 SizingMargins = 18, 0, 23, 0
SizingType = Stretch SizingType = Stretch
Transparent = True Transparent = True
TransparentColor = 255 0 0 TransparentColor = 255 0 0
@ -2278,3 +2278,21 @@ ImageFile = Normal\TrayChevronHorizontalOpen.bmp
Imagelayout = vertical Imagelayout = vertical
SizingType = TrueSize SizingType = TrueSize
Transparent = True Transparent = True
[ShowDesktop::Button]
MirrorImage = True
ImageCount = 3
ImageFile = Normal\ShowDesktop.bmp
SizingMargins = 2, 2, 2, 2
BgType = ImageFile
SizingType = Stretch
ImageLayout = Vertical
[VerticalShowDesktop::Button]
MirrorImage = True
ImageCount = 3
ImageFile = Normal\ShowDesktopVertical.bmp
SizingMargins = 2, 2, 2, 2
BgType = ImageFile
SizingType = Stretch
ImageLayout = Vertical

View file

@ -2235,7 +2235,7 @@ ContentMargins = 29, 7, 0, 0
FillColorHint = 13 141 234 FillColorHint = 13 141 234
ImageCount = 1 ImageCount = 1
ImageFile = Normal\TaskbarTray.bmp ImageFile = Normal\TaskbarTray.bmp
SizingMargins = 1, 0, 23, 0 SizingMargins = 18, 0, 23, 0
SizingType = Stretch SizingType = Stretch
Transparent = True Transparent = True
TransparentColor = 255 0 0 TransparentColor = 255 0 0
@ -2278,3 +2278,21 @@ ImageFile = Normal\TrayChevronHorizontalOpen.bmp
Imagelayout = vertical Imagelayout = vertical
SizingType = TrueSize SizingType = TrueSize
Transparent = True Transparent = True
[ShowDesktop::Button]
MirrorImage = True
ImageCount = 3
ImageFile = Normal\ShowDesktop.bmp
SizingMargins = 2, 2, 2, 2
BgType = ImageFile
SizingType = Stretch
ImageLayout = Vertical
[VerticalShowDesktop::Button]
MirrorImage = True
ImageCount = 3
ImageFile = Normal\ShowDesktopVertical.bmp
SizingMargins = 2, 2, 2, 2
BgType = ImageFile
SizingType = Stretch
ImageLayout = Vertical