summaryrefslogtreecommitdiff
path: root/plugingui/globalcontext.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:08:12 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:08:12 +0100
commitaf9c9091ed69394171485aa4c4814504f86f2004 (patch)
tree070b911dc8faed486c8e8829f0f41aec7d5b4350 /plugingui/globalcontext.cc
parent5e4cb10f72ef69d73fbd2c1bc42465c9111a4c41 (diff)
Simple image blit. New slider class. New filenamelineedit. New pixelbuffer used for drawing everything but the root window - with alpha blending...
Diffstat (limited to 'plugingui/globalcontext.cc')
-rw-r--r--plugingui/globalcontext.cc10
1 files changed, 6 insertions, 4 deletions
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);