- Timestamp:
- Nov 13, 2001, 4:42:19 PM (24 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/font.cpp
r6350 r7330 1 /* $Id: font.cpp,v 1.2 0 2001-07-16 20:17:39sandervl Exp $ */1 /* $Id: font.cpp,v 1.21 2001-11-13 15:42:05 sandervl Exp $ */ 2 2 3 3 /* … … 143 143 } 144 144 145 145 //****************************************************************************** 146 HFONT hFntDefaultGui = NULL; 147 //TODO: more?? 148 //****************************************************************************** 149 BOOL WIN32API IsSystemFont(HFONT hFont) 150 { 151 if(hFont == hFntDefaultGui) { 152 return TRUE; 153 } 154 return FALSE; 155 } 146 156 //****************************************************************************** 147 157 //****************************************************************************** -
trunk/src/gdi32/gdi32.cpp
r6436 r7330 1 /* $Id: gdi32.cpp,v 1.7 5 2001-08-02 14:49:31sandervl Exp $ */1 /* $Id: gdi32.cpp,v 1.76 2001-11-13 15:42:05 sandervl Exp $ */ 2 2 3 3 /* … … 24 24 #include <dcdata.h> 25 25 #include <winuser32.h> 26 #include "font.h" 26 27 27 28 #define DBG_LOCALLOG DBG_gdi32 … … 51 52 //****************************************************************************** 52 53 //****************************************************************************** 53 54 static hFntDefaultGui = NULL;55 54 HGDIOBJ WIN32API GetStockObject(int arg1) 56 55 { -
trunk/src/gdi32/objhandle.cpp
r6760 r7330 1 /* $Id: objhandle.cpp,v 1.1 8 2001-09-19 15:38:42sandervl Exp $ */1 /* $Id: objhandle.cpp,v 1.19 2001-11-13 15:42:06 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Handle Management Code for OS/2 … … 25 25 #include "region.h" 26 26 #include <unicode.h> 27 #include "font.h" 27 28 28 29 #define DBG_LOCALLOG DBG_objhandle … … 372 373 break; 373 374 375 case OBJ_FONT: 376 if(IsSystemFont(hObj)) 377 { 378 SetLastError(ERROR_SUCCESS); 379 return TRUE; 380 } 381 else 382 break; 383 374 384 // add more system-type objects as required ... 375 385 }
Note:
See TracChangeset
for help on using the changeset viewer.