diff options
Diffstat (limited to 'servers/display_server.h')
-rw-r--r-- | servers/display_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/display_server.h b/servers/display_server.h index aa30b25b65..fa37a694e6 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -124,6 +124,7 @@ public: FEATURE_CLIPBOARD_PRIMARY, FEATURE_TEXT_TO_SPEECH, FEATURE_EXTEND_TO_TITLE, + FEATURE_SCREEN_CAPTURE, }; virtual bool has_feature(Feature p_feature) const = 0; @@ -275,6 +276,7 @@ public: return scale; } virtual float screen_get_refresh_rate(int p_screen = SCREEN_OF_MAIN_WINDOW) const = 0; + virtual Color screen_get_pixel(const Point2i &p_position) const { return Color(); }; virtual bool is_touchscreen_available() const; // Keep the ScreenOrientation enum values in sync with the `display/window/handheld/orientation` |