diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-16 11:24:43 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-16 11:24:43 +0200 |
| commit | d56bd75ee5bc28daddb429b1fb850854970bc5f5 (patch) | |
| tree | cb1061c483d50b3627d375062ad5195aefa9ed19 /alf/alfpriv.h | |
| parent | 090203fff7a05929816b49b19ea24959e2f518e5 (diff) | |
font handling change: allow controls to inherit fonts
also do it automatically when adding widget to layout, no more
calling applyfonts manually
Diffstat (limited to 'alf/alfpriv.h')
| -rw-r--r-- | alf/alfpriv.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/alf/alfpriv.h b/alf/alfpriv.h index 4bccebc..a38cd25 100644 --- a/alf/alfpriv.h +++ b/alf/alfpriv.h @@ -25,6 +25,7 @@ typedef struct { ALFLayout layout; WORD defid; HWND hwndFocus; + HFONT font; } ALFWindowPriv; extern TCHAR *_alf_comboClass; @@ -39,9 +40,6 @@ ALF_CentipointsToPxPriv(ALFWindowPriv *priv, int cptValue); void ALF_UpdateFontsPriv(HWND hwnd, ALFWindowPriv *priv); -void -ALF_ApplyFontsPriv(HWND win, ALFWindowPriv *priv); - BOOL ALF_PreTranslateMessagePriv(HWND win, ALFWindowPriv *priv, MSG *message); |
