summaryrefslogtreecommitdiff
path: root/servers/display_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/display_server.h')
-rw-r--r--servers/display_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/display_server.h b/servers/display_server.h
index f05aa1f59a..c108281aff 100644
--- a/servers/display_server.h
+++ b/servers/display_server.h
@@ -175,6 +175,9 @@ public:
return scale;
}
virtual bool screen_is_touchscreen(int p_screen = SCREEN_OF_MAIN_WINDOW) const;
+
+ // Keep the ScreenOrientation enum values in sync with the `display/window/handheld/orientation`
+ // project setting hint.
enum ScreenOrientation {
SCREEN_LANDSCAPE,
SCREEN_PORTRAIT,