mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 01:48:11 +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:
parent
66873243b7
commit
90f47c629c
|
@ -1023,6 +1023,8 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
|
||||||
hFont = CreateFontIndirect(&lf);
|
hFont = CreateFontIndirect(&lf);
|
||||||
/* save font */
|
/* save font */
|
||||||
hOldFont = SelectObject(dc, hFont);
|
hOldFont = SelectObject(dc, hFont);
|
||||||
|
// FIXME selecting color doesn't work
|
||||||
|
#if 0
|
||||||
if(uFlags & DFCS_INACTIVE)
|
if(uFlags & DFCS_INACTIVE)
|
||||||
{
|
{
|
||||||
/* draw shadow */
|
/* 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);
|
TextOut(dc, r->left + 1, r->top + 1, &Symbol, 1);
|
||||||
}
|
}
|
||||||
SetTextColor(dc, GetSysColor((uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT));
|
SetTextColor(dc, GetSysColor((uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT));
|
||||||
|
#endif
|
||||||
/* draw selected symbol */
|
/* draw selected symbol */
|
||||||
TextOut(dc, r->left, r->top, &Symbol, 1);
|
TextOut(dc, r->left, r->top, &Symbol, 1);
|
||||||
/* restore previous settings */
|
/* restore previous settings */
|
||||||
|
|
Loading…
Reference in a new issue