- added BGFont that allows setting the background text font
- made Times New Roman default font for the background text because it should always have support for the locale's language git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3560 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0799b35cd6
commit
b11c65e0f8
9 changed files with 158 additions and 17 deletions
|
@ -479,6 +479,30 @@ typedef WORD LANGID;
|
|||
#ifndef TRANSPARENT
|
||||
# define TRANSPARENT 1
|
||||
#endif
|
||||
#ifndef LF_FACESIZE
|
||||
# define LF_FACESIZE 32
|
||||
#endif
|
||||
#ifndef FW_NORMAL
|
||||
# define FW_NORMAL 400
|
||||
#endif
|
||||
#ifndef FW_BOLD
|
||||
# define FW_BOLD 700
|
||||
#endif
|
||||
#ifndef DEFAULT_CHARSET
|
||||
# define DEFAULT_CHARSET 1
|
||||
#endif
|
||||
#ifndef OUT_DEFAULT_PRECIS
|
||||
# define OUT_DEFAULT_PRECIS 0
|
||||
#endif
|
||||
#ifndef CLIP_DEFAULT_PRECIS
|
||||
# define CLIP_DEFAULT_PRECIS 0
|
||||
#endif
|
||||
#ifndef DEFAULT_QUALITY
|
||||
# define DEFAULT_QUALITY 0
|
||||
#endif
|
||||
#ifndef DEFAULT_PITCH
|
||||
# define DEFAULT_PITCH 0
|
||||
#endif
|
||||
|
||||
// file ops
|
||||
|
||||
|
@ -546,6 +570,22 @@ typedef WORD LANGID;
|
|||
// structures
|
||||
|
||||
#ifndef _WIN32
|
||||
typedef struct _LOGFONT {
|
||||
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;
|
||||
CHAR lfFaceName[LF_FACESIZE];
|
||||
} LOGFONT;
|
||||
# pragma pack(2)
|
||||
typedef struct _IMAGE_DOS_HEADER {
|
||||
WORD e_magic;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue