summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-05-09 20:52:43 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-05-09 20:52:47 +0200
commit15faa626f7df7a3024dda5d11001347ed4573568 (patch)
treeaad5c44d8906caef72e76f767b6895c0a4682a46 /plugingui/nativewindow_win32.h
parent751f01eea8c40f70d412e691e6677d3daae54c7a (diff)
Add tooltip buttons to frames.
Diffstat (limited to 'plugingui/nativewindow_win32.h')
-rw-r--r--plugingui/nativewindow_win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/nativewindow_win32.h b/plugingui/nativewindow_win32.h
index 2945be6..d547dc0 100644
--- a/plugingui/nativewindow_win32.h
+++ b/plugingui/nativewindow_win32.h
@@ -66,6 +66,8 @@ private:
HWND parent_window;
Window& window;
WNDID m_hwnd = 0;
+ bool mouse_in_window{false};
+ std::pair<int, int> last_mouse_position{0, 0};
char* m_className = nullptr;
EventQueue event_queue;
};