You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add WINDOW_FLAG_MOUSE_PASSTHROUGH flag and enabled it for tooltips. Expose window_set_mouse_passthrough to Window.
This commit is contained in:
@@ -311,6 +311,7 @@ public:
|
||||
WINDOW_FLAG_NO_FOCUS,
|
||||
WINDOW_FLAG_POPUP,
|
||||
WINDOW_FLAG_EXTEND_TO_TITLE,
|
||||
WINDOW_FLAG_MOUSE_PASSTHROUGH,
|
||||
WINDOW_FLAG_MAX,
|
||||
};
|
||||
|
||||
@@ -323,6 +324,7 @@ public:
|
||||
WINDOW_FLAG_NO_FOCUS_BIT = (1 << WINDOW_FLAG_NO_FOCUS),
|
||||
WINDOW_FLAG_POPUP_BIT = (1 << WINDOW_FLAG_POPUP),
|
||||
WINDOW_FLAG_EXTEND_TO_TITLE_BIT = (1 << WINDOW_FLAG_EXTEND_TO_TITLE),
|
||||
WINDOW_FLAG_MOUSE_PASSTHROUGH_BIT = (1 << WINDOW_FLAG_MOUSE_PASSTHROUGH),
|
||||
};
|
||||
|
||||
virtual WindowID create_sub_window(WindowMode p_mode, VSyncMode p_vsync_mode, uint32_t p_flags, const Rect2i &p_rect = Rect2i());
|
||||
|
||||
Reference in New Issue
Block a user