mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
Defined LOGFONTW and now use it in DEVINFO
svn path=/trunk/; revision=2022
This commit is contained in:
parent
93bd949df5
commit
b7239a157c
2 changed files with 21 additions and 4 deletions
|
@ -465,9 +465,9 @@ typedef struct _COLORINFO
|
||||||
typedef struct _DEVINFO
|
typedef struct _DEVINFO
|
||||||
{
|
{
|
||||||
ULONG flGraphicsCaps;
|
ULONG flGraphicsCaps;
|
||||||
LOGFONT lfDefaultFont;
|
LOGFONTW lfDefaultFont;
|
||||||
LOGFONT lfAnsiVarFont;
|
LOGFONTW lfAnsiVarFont;
|
||||||
LOGFONT lfAnsiFixFont;
|
LOGFONTW lfAnsiFixFont;
|
||||||
ULONG cFonts;
|
ULONG cFonts;
|
||||||
ULONG iDitherFormat;
|
ULONG iDitherFormat;
|
||||||
USHORT cxDither;
|
USHORT cxDither;
|
||||||
|
|
|
@ -443,7 +443,24 @@ typedef struct tagLOGFONT {
|
||||||
BYTE lfPitchAndFamily;
|
BYTE lfPitchAndFamily;
|
||||||
TCHAR lfFaceName[LF_FACESIZE];
|
TCHAR lfFaceName[LF_FACESIZE];
|
||||||
} LOGFONT, *LPLOGFONT, *PLOGFONT;
|
} LOGFONT, *LPLOGFONT, *PLOGFONT;
|
||||||
|
|
||||||
|
typedef struct tagLOGFONTW {
|
||||||
|
LONG lfHeight;
|
||||||
|
LONG lfWidth;
|
||||||
|
LONG lfEscapement;
|
||||||
|
LONG lfOrientation;
|
||||||
|
LONG lfWeight;
|
||||||
|
BYTE lfItalic;
|
||||||
|
BYTE lfUnderline;
|
||||||
|
BYTE lfStrikeOut;
|
||||||
|
BYTE lfCharSet;
|
||||||
|
BYTE lfOutPrecision;
|
||||||
|
BYTE lfClipPrecision;
|
||||||
|
BYTE lfQuality;
|
||||||
|
BYTE lfPitchAndFamily;
|
||||||
|
LPWSTR lfFaceName;
|
||||||
|
} LOGFONTW, *LPLOGFONTW, *PLOGFONTW;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
DWORD lStructSize;
|
DWORD lStructSize;
|
||||||
HWND hwndOwner;
|
HWND hwndOwner;
|
||||||
|
|
Loading…
Reference in a new issue