- Timestamp:
- Aug 27, 2001, 10:42:13 AM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/syscolor.cpp
r5973 r6599 1 /* $Id: syscolor.cpp,v 1.2 8 2001-06-12 17:02:35sandervl Exp $ */1 /* $Id: syscolor.cpp,v 1.29 2001-08-27 08:42:11 sandervl Exp $ */ 2 2 3 3 /* … … 261 261 return SysColorBrushes[nIndex]; 262 262 263 // MED calls FillRect with (hardcoded) zero brush -> index -1263 //TODO: is this still necessary (check in NT) 264 264 dprintf2(("WARNING: Unknown index(%d)", nIndex )); 265 265 return GetStockObject(LTGRAY_BRUSH); -
trunk/src/user32/user32.cpp
r6401 r6599 1 /* $Id: user32.cpp,v 1.11 1 2001-07-29 18:59:27sandervl Exp $ */1 /* $Id: user32.cpp,v 1.112 2001-08-27 08:42:13 sandervl Exp $ */ 2 2 3 3 /* … … 1134 1134 int WIN32API FillRect(HDC hDC, const RECT * lprc, HBRUSH hbr) 1135 1135 { 1136 //SvL: brush 0 means currently selected brush (verified in NT4) 1137 if(hbr == 0) { 1138 hbr = GetCurrentObject(hDC, OBJ_BRUSH); 1139 } 1140 else 1136 1141 if (hbr <= (HBRUSH) (COLOR_MAX + 1)) { 1137 1142 hbr = GetSysColorBrush( (INT) hbr - 1 );
Note:
See TracChangeset
for help on using the changeset viewer.