From d0a1ae5bc9ab03132457c8c73ae723e1503952ca Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 12 Apr 2015 12:38:25 -0400 Subject: Made controls transparent to tab backgrounds on Windows. It doesn't quite work right... --- new/init_windows.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'new/init_windows.c') diff --git a/new/init_windows.c b/new/init_windows.c index 7ebe4e2..d0390be 100644 --- a/new/init_windows.c +++ b/new/init_windows.c @@ -6,6 +6,8 @@ int nCmdShow; HFONT hMessageFont; +HBRUSH hollowBrush; + struct uiInitError { char *msg; char failbuf[256]; @@ -97,6 +99,10 @@ const char *uiInit(uiInitOptions *o) if (ce != NULL) return loadLastError(ce); + hollowBrush = (HBRUSH) GetStockObject(HOLLOW_BRUSH); + if (hollowBrush == NULL) + return loadLastError("getting hollow brush"); + return NULL; } -- cgit v1.2.3