summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Node.xml8
-rw-r--r--doc/classes/SubViewportContainer.xml1
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>