summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-10 18:39:27 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-10 18:39:27 +0100
commit09e923d965a86a944dad7d77b336721386f6bf63 (patch)
tree1000abf99b16bb6d70d8d88f1cd26096b634b027 /plugingui/nativewindow_win32.h
parent53fa1c76c27726670f2724793d867d817c029709 (diff)
Return a list of events form native window instead of one event at a time.
Diffstat (limited to 'plugingui/nativewindow_win32.h')
-rw-r--r--plugingui/nativewindow_win32.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugingui/nativewindow_win32.h b/plugingui/nativewindow_win32.h
index 8282c6f..1ed072c 100644
--- a/plugingui/nativewindow_win32.h
+++ b/plugingui/nativewindow_win32.h
@@ -55,10 +55,7 @@ public:
void handleBuffer() override;
void redraw() override;
void grabMouse(bool grab) override;
-
- bool hasEvent() override;
- std::shared_ptr<Event> getNextEvent() override;
- std::shared_ptr<Event> peekNextEvent() override;
+ std::queue<std::shared_ptr<Event>> getEvents() override;
private:
static LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);