Changeset 1507 for trunk/src/user32/win32dlg.cpp
- Timestamp:
- Oct 29, 1999, 1:51:05 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.cpp
r1433 r1507 1 /* $Id: win32dlg.cpp,v 1.2 0 1999-10-24 22:56:09sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.21 1999-10-28 23:51:05 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 72 72 /* The font height must be negative as it is a point size */ 73 73 /* (see CreateFont() documentation in the Windows SDK). */ 74 hUserFont = CreateFontW( dlgInfo.pointSize*2, 0, 0, 0,74 hUserFont = CreateFontW(-(dlgInfo.pointSize*3)/2, 0, 0, 0, 75 75 dlgInfo.weight, dlgInfo.italic, FALSE, 76 76 FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY, … … 80 80 SIZE charSize; 81 81 getCharSize(hUserFont,&charSize); 82 x BaseUnit = charSize.cx;83 y BaseUnit = charSize.cy;82 xUnit = charSize.cx; 83 yUnit = charSize.cy; 84 84 } 85 85 }
Note:
See TracChangeset
for help on using the changeset viewer.