mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- revert selecting color and inactive menu state, because it doesn't work that way
- needs further invastigation svn path=/trunk/; revision=41704
This commit is contained in:
@@ -1023,6 +1023,8 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
|
||||
hFont = CreateFontIndirect(&lf);
|
||||
/* save font */
|
||||
hOldFont = SelectObject(dc, hFont);
|
||||
// FIXME selecting color doesn't work
|
||||
#if 0
|
||||
if(uFlags & DFCS_INACTIVE)
|
||||
{
|
||||
/* draw shadow */
|
||||
@@ -1030,6 +1032,7 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
|
||||
TextOut(dc, r->left + 1, r->top + 1, &Symbol, 1);
|
||||
}
|
||||
SetTextColor(dc, GetSysColor((uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT));
|
||||
#endif
|
||||
/* draw selected symbol */
|
||||
TextOut(dc, r->left, r->top, &Symbol, 1);
|
||||
/* restore previous settings */
|
||||
|
||||
Reference in New Issue
Block a user