summaryrefslogtreecommitdiff
path: root/alf/alf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alf.cpp')
-rw-r--r--alf/alf.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp
index 311c65b..3bf9ae7 100644
--- a/alf/alf.cpp
+++ b/alf/alf.cpp
@@ -439,3 +439,21 @@ ALF_ColorToGdi(ALFColor color)
return (COLORREF)color;
}
}
+
+void
+ALF_InvalidateBackground(HWND win)
+{
+ SendMessage(win, ALF_WM_BACKGROUNDCHANGE, 0, 0);
+}
+
+void
+ALF_SetBackgroundColor(HWND win, ALFColor color)
+{
+ SendMessage(win, ALF_WM_SETBGCOLOR, 0, (LPARAM)color);
+}
+
+ALFColor
+ALF_GetBackgroundColor(HWND win)
+{
+ return (ALFColor)SendMessage(win, ALF_WM_GETBGCOLOR, 0, 0);
+}