summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/nativewindow_pugl.h')
-rw-r--r--plugingui/nativewindow_pugl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugingui/nativewindow_pugl.h b/plugingui/nativewindow_pugl.h
index 2c9fbc7..13ca1e7 100644
--- a/plugingui/nativewindow_pugl.h
+++ b/plugingui/nativewindow_pugl.h
@@ -38,7 +38,7 @@ class Window;
class NativeWindowPugl : public NativeWindow {
public:
- NativeWindowPugl(Window *window);
+ NativeWindowPugl(void* native_window, Window& window);
~NativeWindowPugl();
void init();
@@ -57,7 +57,8 @@ public:
Event *peekNextEvent();
private:
- Window* window{nullptr};
+ Window& window;
+ void* native_window{nullptr};
PuglView* view{nullptr};
std::list<Event*> eventq;