From edf13eb5a635112c5df0aa81f11c8004274f62cf Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Wed, 30 Nov 2022 10:28:16 +0200
Subject: Rename `window_get_real_size` to `window_get_size_with_decorations`,
add `window_get_position_with_decorations`.
---
doc/classes/DisplayServer.xml | 15 +++++++++++----
doc/classes/Window.xml | 8 +++++++-
2 files changed, 18 insertions(+), 5 deletions(-)
(limited to 'doc')
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml
index c59bfbfe4f..38b264d20f 100644
--- a/doc/classes/DisplayServer.xml
+++ b/doc/classes/DisplayServer.xml
@@ -1156,14 +1156,14 @@
- Returns the position of the given window to on the screen.
+ Returns the position of the client area of the given window on the screen.
-
+
- Returns the size of the window specified by [param window_id] (in pixels), including the borders drawn by the operating system. See also [method window_get_size].
+ Returns the position of the given window on the screen including the borders drawn by the operating system. See also [method window_get_position].
@@ -1177,7 +1177,14 @@
- Returns the size of the window specified by [param window_id] (in pixels), excluding the borders drawn by the operating system. This is also called the "client area". See also [method window_get_real_size], [method window_set_size] and [method window_get_position].
+ Returns the size of the window specified by [param window_id] (in pixels), excluding the borders drawn by the operating system. This is also called the "client area". See also [method window_get_size_with_decorations], [method window_set_size] and [method window_get_position].
+
+
+
+
+
+
+ Returns the size of the window specified by [param window_id] (in pixels), including the borders drawn by the operating system. See also [method window_get_size].
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml
index 8707ef003a..d736f103ab 100644
--- a/doc/classes/Window.xml
+++ b/doc/classes/Window.xml
@@ -41,7 +41,13 @@
Returns layout direction and text writing direction.
-
+
+
+
+ Returns the window's position including its border.
+
+
+
Returns the window's size including its border.
--
cgit v1.2.3