From af9c9091ed69394171485aa4c4814504f86f2004 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 23 Jan 2012 20:08:12 +0100 Subject: Simple image blit. New slider class. New filenamelineedit. New pixelbuffer used for drawing everything but the root window - with alpha blending... --- plugingui/globalcontext.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugingui/globalcontext.cc') diff --git a/plugingui/globalcontext.cc b/plugingui/globalcontext.cc index ce97959..0edcb74 100644 --- a/plugingui/globalcontext.cc +++ b/plugingui/globalcontext.cc @@ -26,16 +26,18 @@ */ #include "globalcontext.h" -GlobalContext::GlobalContext() +GUI::GlobalContext::GlobalContext() { - keyboardFocus = NULL; - #ifdef X11 display = XOpenDisplay(NULL); #endif/*X11*/ + +#ifdef WIN32 + eventhandler = NULL; +#endif/*WIN32*/ } -GlobalContext::~GlobalContext() +GUI::GlobalContext::~GlobalContext() { #ifdef X11 XCloseDisplay(display); -- cgit v1.2.3