From d56bd75ee5bc28daddb429b1fb850854970bc5f5 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 16 Apr 2020 11:24:43 +0200 Subject: font handling change: allow controls to inherit fonts also do it automatically when adding widget to layout, no more calling applyfonts manually --- alf/alfpriv.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'alf/alfpriv.h') 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); -- cgit v1.2.3