diff options
Diffstat (limited to 'alf/alf.cpp')
| -rw-r--r-- | alf/alf.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp index a23bdf0..deffd1a 100644 --- a/alf/alf.cpp +++ b/alf/alf.cpp @@ -462,3 +462,15 @@ ALF_BackgroundColor(HWND win) { return (ALFColor)SendMessage(win, ALF_WM_GETBGCOLOR, 0, 0); } + +ALFColor +ALF_TextColor(HWND win) +{ + return (ALFColor)SendMessage(win, ALF_WM_GETTEXTCOLOR, 0, 0); +} + +void +ALF_SetTextColor(HWND win, ALFColor color) +{ + SendMessage(win, ALF_WM_SETTEXTCOLOR, 0, (LPARAM)color); +} |
