Skip to content

Commit

Permalink
[THEMES][MIZU] Add support for themed Show Desktop button (reactos#5744)
Browse files Browse the repository at this point in the history
Also double-check button sizing and visual padding.

Addendum to df4eb08. CORE-15369
  • Loading branch information
Splitwirez authored and binarymaster committed Jul 24, 2024
1 parent 3833d92 commit 7f021de
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions media/themes/Mizu/mizu.msstyles/mizu.rc
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ NORMAL_TASKBANDSCROLLTHUMBHORIZONTAL_BMP BITMAP "bitmaps/NORMAL_TASKBANDSCROLLTH
NORMAL_TASKBANDSCROLLTHUMBVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBANDSCROLLTHUMBVERTICAL.bmp"
NORMAL_TASKBARBACKGROUNDVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBARBACKGROUNDVERTICAL.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_TASKBARCHEVRON_BMP BITMAP "bitmaps/NORMAL_TASKBARCHEVRON.bmp"
NORMAL_TASKBARGRIPPERVERTICAL_BMP BITMAP "bitmaps/NORMAL_TASKBARGRIPPERVERTICAL.bmp"
Expand Down
20 changes: 19 additions & 1 deletion media/themes/Mizu/mizu.msstyles/textfiles/ExtraLargeNormal.INI
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ ContentMargins = 29, 7, 0, 0
FillColorHint = 13 141 234
ImageCount = 1
ImageFile = Normal\TaskbarTray.bmp
SizingMargins = 1, 0, 23, 0
SizingMargins = 18, 0, 23, 0
SizingType = Stretch
Transparent = True
TransparentColor = 255 0 0
Expand Down Expand Up @@ -2278,3 +2278,21 @@ ImageFile = Normal\TrayChevronHorizontalOpen.bmp
Imagelayout = vertical
SizingType = TrueSize
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
20 changes: 19 additions & 1 deletion media/themes/Mizu/mizu.msstyles/textfiles/LargeFontsNormal.INI
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ ContentMargins = 29, 7, 0, 0
FillColorHint = 13 141 234
ImageCount = 1
ImageFile = Normal\TaskbarTray.bmp
SizingMargins = 1, 0, 23, 0
SizingMargins = 18, 0, 23, 0
SizingType = Stretch
Transparent = True
TransparentColor = 255 0 0
Expand Down Expand Up @@ -2278,3 +2278,21 @@ ImageFile = Normal\TrayChevronHorizontalOpen.bmp
Imagelayout = vertical
SizingType = TrueSize
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
20 changes: 19 additions & 1 deletion media/themes/Mizu/mizu.msstyles/textfiles/NormalNormal.INI
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ ContentMargins = 29, 7, 0, 0
FillColorHint = 13 141 234
ImageCount = 1
ImageFile = Normal\TaskbarTray.bmp
SizingMargins = 1, 0, 23, 0
SizingMargins = 18, 0, 23, 0
SizingType = Stretch
Transparent = True
TransparentColor = 255 0 0
Expand Down Expand Up @@ -2278,3 +2278,21 @@ ImageFile = Normal\TrayChevronHorizontalOpen.bmp
Imagelayout = vertical
SizingType = TrueSize
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

0 comments on commit 7f021de

Please sign in to comment.