diff options
author | Underground78 <underground78@users.sourceforge.net> | 2012-04-09 13:11:14 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2012-04-09 13:11:14 +0400 |
commit | c7f7674fe94314499e19e3bfeaeb6d25e222066e (patch) | |
tree | 982cf9cc6a1d481cf6e9e971470892ce8ff167a9 | |
parent | 89987d4e1ea4db5568c5a4dc8db50a0b787ce254 (diff) |
Fix: Change the background color of the options pages caption so that it is readable with all Windows themes.
This commit fixes ticket #2155.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4304 10f7b99b-c216-0410-bff0-8a66a9350fd8
-rw-r--r-- | docs/Changelog.txt | 2 | ||||
-rw-r--r-- | src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/Changelog.txt b/docs/Changelog.txt index c36e78c91..a0873dd9e 100644 --- a/docs/Changelog.txt +++ b/docs/Changelog.txt @@ -42,6 +42,8 @@ Legend: the font size is now correctly adapted to the font used
! Ticket #2133, Javascript error in "player.html"
! Ticket #2137, Disable animation when pressing the "Boss" key
+! Ticket #2155, Change the background color of the options pages caption so that
+ it is readable with all Windows themes
! Ticket #2156, MPCVideoDec: Incorrect number of frames at the end of playback
with software decoding
! Ticket #2161, Prevent the 'Open' dialog from being opened multiple times (for
diff --git a/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp b/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp index a0da46b5d..344dabbfc 100644 --- a/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp +++ b/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp @@ -285,7 +285,9 @@ CRect CPropPageFrameDefault::CalcCaptionArea() void CPropPageFrameDefault::DrawCaption(CDC *pDc, CRect rect, LPCTSTR lpszCaption, HICON hIcon)
{
- COLORREF clrLeft = GetSysColor(COLOR_INACTIVECAPTION);
+ // <MPC-HC Custom Code>
+ COLORREF clrLeft = GetSysColor(COLOR_ACTIVECAPTION);
+ // </MPC-HC Custom Code>
COLORREF clrRight = pDc->GetPixel(rect.right-1, rect.top);
FillGradientRectH(pDc, rect, clrLeft, clrRight);
|