Skip to content

Commit

Permalink
Add shadowed rounded rectangles to tab bar and path bar (7)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Jun 24, 2024
1 parent 21872b5 commit 0d403a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Common/scbarcf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ void CSizingControlBarCF::NcPaintGripper(CDC* pDC, const CRect& rcClient)
// draw the caption background
//CBrush br;
const COLORREF clrCptn = m_bActive ?
::GetSysColor(COLOR_ACTIVECAPTION) :
::GetSysColor(COLOR_INACTIVECAPTION);
::GetSysColor(COLOR_GRADIENTACTIVECAPTION) :
::GetSysColor(COLOR_GRADIENTINACTIVECAPTION);
const COLORREF clrBack = ::GetSysColor(COLOR_3DFACE);
const int radius = pointToPixel(2.25);
DrawRoundedRectWithShadow(pDC->m_hDC, rcGrip.left, rcGrip.top, rcGrip.Width(), rcGrip.Height(), radius, 0, clrCptn, clrBack, clrBack);
Expand Down

0 comments on commit 0d403a6

Please sign in to comment.