diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-21 16:27:40 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-21 16:27:40 +0200 |
| commit | 2765ee8bfc1fb0152ed2da324bdcb0a37f43c722 (patch) | |
| tree | 4ee5babb2e126e917fc4287d69610dd391bcd591 /alf/alf.h | |
| parent | e40c5381c1338ab0bf7e6d409180d95c8d8e458d (diff) | |
make ALF_SetBackgroundColor disable color inheritance
Diffstat (limited to 'alf/alf.h')
| -rw-r--r-- | alf/alf.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -206,11 +206,17 @@ ALF_InvalidateBackground(HWND win); void ALF_UpdateFonts(HWND win); +// Sets the background color of the given window +// Also, if the window is a child window, disables the ALF_LAYOUT_INHERITBGCOLOR flag +// Only the following widgets have background colors: +// - Top-Level window +// - Panel +// TODO fix label, button void ALF_SetBackgroundColor(HWND win, ALFColor color); ALFColor -ALF_GetBackgroundColor(HWND win); +ALF_BackgroundColor(HWND win); void ALF_ResizeWindow(HWND win, int cptWidth, int cptHeight); |
