summaryrefslogtreecommitdiff
path: root/alf/alf.h
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-21 16:27:40 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-21 16:27:40 +0200
commit2765ee8bfc1fb0152ed2da324bdcb0a37f43c722 (patch)
tree4ee5babb2e126e917fc4287d69610dd391bcd591 /alf/alf.h
parente40c5381c1338ab0bf7e6d409180d95c8d8e458d (diff)
make ALF_SetBackgroundColor disable color inheritance
Diffstat (limited to 'alf/alf.h')
-rw-r--r--alf/alf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/alf/alf.h b/alf/alf.h
index bd8ca0e..32e221c 100644
--- a/alf/alf.h
+++ b/alf/alf.h
@@ -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);