diff options
Diffstat (limited to 'alf/alf.h')
| -rw-r--r-- | alf/alf.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -61,6 +61,8 @@ typedef struct { #define ALF_WM_SETLAYOUTPARAMS (ALF_WM__BASE + 14) #define ALF_WM_GETWIDGETATPOS (ALF_WM__BASE + 15) #define ALF_WM_PRETRANSLATEMSG (ALF_WM__BASE + 16) +#define ALF_WM_INVALIDATELAYOUT (ALF_WM__BASE + 17) +#define ALF_WM_VALIDATELAYOUT (ALF_WM__BASE + 18) #define ALF_WM_LBL_GETSTYLE (ALF_WM__BASE + 201) #define ALF_WM_LBL_SETSTYLE (ALF_WM__BASE + 202) @@ -155,15 +157,11 @@ HWND ALF_WidgetHwndById(HWND win, WORD id); void -ALF_RecalculateLayout(HWND win); +ALF_InvalidateLayout(HWND win); // Recalculates the window's DPI and all fonts and applies them to child widgets. // ALF does this automatically on a DPI or settings change so you shouldn't have -// to call ALF_UpdateFonts(). If you have added new widgets and want to set their -// fonts, call ALF_ApplyFonts() instead. -// -// Since widget sizes depend on the assigned font, you should probably -// call ALF_RecalculateLayout() afterwards. +// to call ALF_UpdateFonts(). void ALF_UpdateFonts(HWND win); |
