Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2022-03-02 00:25:59 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2022-03-02 00:35:48 +0300
commitbfe37b7255e76b7c66e3f9cfd47bd0636ac142cf (patch)
tree2bcb56940efd532d7bcd8ac0b3fb67e466f4ffee /intern/ghost/GHOST_ISystem.h
parente1ec2d025142a35ce5a5302da0b9a71a279c61f2 (diff)
parent9bd586a01e6813a615eab05871803730603e2152 (diff)
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'intern/ghost/GHOST_ISystem.h')
-rw-r--r--intern/ghost/GHOST_ISystem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h
index 837ec25d0f8..a33879522f4 100644
--- a/intern/ghost/GHOST_ISystem.h
+++ b/intern/ghost/GHOST_ISystem.h
@@ -309,6 +309,14 @@ class GHOST_ISystem {
*/
virtual void useWindowFocus(const bool use_focus) = 0;
+ /**
+ * Get the Window under the cursor.
+ * \param x: The x-coordinate of the cursor.
+ * \param y: The y-coordinate of the cursor.
+ * @return The window under the cursor or nullptr if none.
+ */
+ virtual GHOST_IWindow *getWindowUnderCursor(int32_t x, int32_t y) = 0;
+
/***************************************************************************************
* Event management functionality
***************************************************************************************/