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.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'plugingui/globalcontext.h') diff --git a/plugingui/globalcontext.h b/plugingui/globalcontext.h index 2aa083b..77e3c37 100644 --- a/plugingui/globalcontext.h +++ b/plugingui/globalcontext.h @@ -29,14 +29,20 @@ #ifdef X11 #include +#include #endif/*X11*/ #ifdef WIN32 +//#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include +typedef HWND WNDID; +namespace GUI { class EventHandler; }; #endif/*WIN32*/ #include +namespace GUI { + class Widget; class GlobalContext { @@ -44,12 +50,18 @@ public: GlobalContext(); ~GlobalContext(); - Widget *keyboardFocus; - #ifdef X11 Display *display; - std::map widgets; + Atom wmDeleteMessage; #endif/*X11*/ + +#ifdef WIN32 + WNDID m_hwnd; + char *m_className; + EventHandler *eventhandler; +#endif/*WIN32*/ +}; + }; #endif/*__DRUMGIZMO_GLOBALCONTEXT_H__*/ -- cgit v1.2.3