compile insert msWin_LogFont_Equates /* ** Copyright (C) 2013-2019 Revelation Software Inc. All Rights Reserved ** Author Mr C Date June 2019 Purpose Equates for use with Win32 LOGFONT structure Comments ======== Amended Date Reason ======= ==== ====== Mr C 18 Sep 20 Added Font Weight equates */ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #ifndef _MSWIN_LOGFONT_EQUATES_ #define _MSWIN_LOGFONT_EQUATES_ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // LOGFONT Structure equates - this structure is defined in the // Windows API as: // // typedef struct tagLOGFONT { // 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; // TCHAR lfFaceName[LF_FACESIZE]; // } LOGFONT, *PLOGFONT; // equ LOGFONT$ to "MSWIN_LOGFONT" // LOGFONT struct equates ( for use with SYSPROGSTRUCT_MSWIN_LOGFONT ) equ LOGFONT_POS_HEIGHT$ to 1 equ LOGFONT_POS_WIDTH$ to 2 equ LOGFONT_POS_ESCAPEMENT$ to 3 equ LOGFONT_POS_ORIENTATION$ to 4 equ LOGFONT_POS_WEIGHT$ to 5 equ LOGFONT_POS_ITALIC$ to 6 equ LOGFONT_POS_UNDERLINE$ to 7 equ LOGFONT_POS_STRIKEOUT$ to 8 equ LOGFONT_POS_CHARSET$ to 9 equ LOGFONT_POS_OUTPRECISION$ to 10 equ LOGFONT_POS_CLIPPRECISION$ to 11 equ LOGFONT_POS_QUALITY$ to 12 equ LOGFONT_POS_PITCHANDFAMILY$ to 13 equ LOGFONT_POS_FACENAME$ to 14 /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // Font Weight equ FW_DONTCARE$ to 0 equ FW_THIN$ to 100 equ FW_EXTRALIGHT$ to 200 equ FW_LIGHT$ to 300 equ FW_NORMAL$ to 400 equ FW_MEDIUM$ to 500 equ FW_SEMIBOLD$ to 600 equ FW_BOLD$ to 700 equ FW_EXTRABOLD$ to 800 equ FW_HEAVY$ to 900 /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // CHARSET equates equ ANSI_CHARSET$ to 0 equ DEFAULT_CHARSET$ to 1 equ SYMBOL_CHARSET$ to 2 /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // FONT stock objects ... equ OEM_FIXED_FONT$ to 10 equ ANSI_FIXED_FONT$ to 11 equ ANSI_VAR_FONT$ to 12 equ SYSTEM_FONT$ to 13 equ DEVICE_DEFAULT_FONT$ to 14 equ DEFAULT_PALETTE$ to 15 equ SYSTEM_FIXED_FONT$ to 0x10 equ DEFAULT_GUI_FONT$ to 17 /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #endif //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////