summaryrefslogtreecommitdiff
path: root/plugingui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/window.h')
-rw-r--r--plugingui/window.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/plugingui/window.h b/plugingui/window.h
index e1e49c7..8e61603 100644
--- a/plugingui/window.h
+++ b/plugingui/window.h
@@ -32,6 +32,7 @@
#include "globalcontext.h"
#include "pixelbuffer.h"
+#include "nativewindow.h"
namespace GUI {
@@ -51,6 +52,8 @@ public:
size_t width();
size_t height();
+ void setCaption(std::string caption);
+
void addChild(Widget *widget);
void repaintEvent(GUI::RepaintEvent *e);
@@ -73,20 +76,15 @@ public:
GlobalContext *gctx;
PixelBuffer wpixbuf;
-
-protected:
void updateBuffer();
+protected:
size_t refcount;
Widget *_keyboardFocus;
Widget *_buttonDownFocus;
-#ifdef X11
- ::Window xwindow;
- GC gc;
- XImage *buffer;
-#endif/*X11*/
+ NativeWindow *native;
};