Use Consolas font if it exists, special Japanese font if required
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7244 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3fd700e56c
commit
72dd0e4f72
7 changed files with 38 additions and 2 deletions
|
@ -127,6 +127,7 @@ inline HFONT CreateFontPt(HWND hWndDPI, int Height, WORD Weight, BYTE PitchAndFa
|
|||
{
|
||||
return CreateFont((INT_PTR) hWndDPI, CFF_DPIFROMHWND|CFF_DPIPT, Height, Weight, PitchAndFamily, CharSet, Face);
|
||||
}
|
||||
BOOL FontExists(LPCTSTR Face);
|
||||
BOOL FillRectColor(HDC hDC, const RECT &Rect, COLORREF Color);
|
||||
BOOL DrawHorzGradient(HDC hDC, LONG l, LONG t, LONG r, LONG b, COLORREF c1, COLORREF c2);
|
||||
inline long RectW(const RECT&r) { return r.right - r.left; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue