diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-02-15 22:14:39 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-02-15 22:41:30 +0100 |
commit | 415042ac89d1c9c7f8ca97fa83fc1165350a01da (patch) | |
tree | 1c124ac9ecea76c415bfe2c4f9aa7a4ed3feb27e /doc/classes | |
parent | 98b97d34df7f3ab2cafc3847358c231c3d357b40 (diff) |
Connect notifications from Container to Viewport
mouse enter+exit
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Node.xml | 8 | ||||
-rw-r--r-- | doc/classes/SubViewportContainer.xml | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 5ae50f86d4..962ad00a56 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -853,6 +853,14 @@ </constant> <constant name="NOTIFICATION_WM_SIZE_CHANGED" value="1008"> </constant> + <constant name="NOTIFICATION_WM_DPI_CHANGE" value="1009"> + </constant> + <constant name="NOTIFICATION_VP_MOUSE_ENTER" value="1010"> + Notification received when the mouse enters the viewport. + </constant> + <constant name="NOTIFICATION_VP_MOUSE_EXIT" value="1011"> + Notification received when the mouse leaves the viewport. + </constant> <constant name="NOTIFICATION_OS_MEMORY_WARNING" value="2009"> Notification received from the OS when the application is exceeding its allocated memory. Specific to the iOS platform. diff --git a/doc/classes/SubViewportContainer.xml b/doc/classes/SubViewportContainer.xml index bd48f2b6db..050186a883 100644 --- a/doc/classes/SubViewportContainer.xml +++ b/doc/classes/SubViewportContainer.xml @@ -6,6 +6,7 @@ <description> A [Container] node that holds a [SubViewport], automatically setting its size. [b]Note:[/b] Changing a SubViewportContainer's [member Control.rect_scale] will cause its contents to appear distorted. To change its visual size without causing distortion, adjust the node's margins instead (if it's not already in a container). + [b]Note:[/b] The SubViewportContainer forwards mouse-enter and mouse-exit notifications to its sub-viewports. </description> <tutorials> </tutorials> |