summaryrefslogtreecommitdiff
path: root/new/init_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-12 12:38:25 -0400
committerPietro Gagliardi <[email protected]>2015-04-12 12:38:25 -0400
commitd0a1ae5bc9ab03132457c8c73ae723e1503952ca (patch)
tree56c0f2dac628cc6c900472ff943581b2b68f7d7f /new/init_windows.c
parent0ee55d2d2da1a47fb4bbe5f62144e823d07efcd1 (diff)
Made controls transparent to tab backgrounds on Windows. It doesn't quite work right...
Diffstat (limited to 'new/init_windows.c')
-rw-r--r--new/init_windows.c6
1 files changed, 6 insertions, 0 deletions
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;
}