[ros-diffs] [mkupfer] 41704: - revert selecting color and inactive menu state, because it doesn't work that way - needs further invastigation

mkupfer at svn.reactos.org mkupfer at svn.reactos.org
Tue Jun 30 02:45:00 CEST 2009


Author: mkupfer
Date: Tue Jun 30 04:44:59 2009
New Revision: 41704

URL: http://svn.reactos.org/svn/reactos?rev=41704&view=rev
Log:
- revert selecting color and inactive menu state, because it doesn't work that way
- needs further invastigation

Modified:
    trunk/reactos/dll/win32/user32/windows/draw.c

Modified: trunk/reactos/dll/win32/user32/windows/draw.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/draw.c?rev=41704&r1=41703&r2=41704&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] Tue Jun 30 04:44:59 2009
@@ -1023,6 +1023,8 @@
     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 @@
         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 */



More information about the Ros-diffs mailing list