diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-23 08:52:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 08:52:13 +0200 |
commit | 62c3e72b6f3e6fb628ffcb2d062dcbb5de304867 (patch) | |
tree | dccdf3ce6517b6a7ac72ba845ac747b92f06a302 /servers/display_server.h | |
parent | 4fbfd10dccc297295e80407fb411de2506cb9838 (diff) | |
parent | 8be27dc59e3e330e10079ba8cbc999c80cab0ddc (diff) |
Merge pull request #63959 from KoBeWi/typo_arrray
Replace Array return types with TypedArray (part 1)
Diffstat (limited to 'servers/display_server.h')
-rw-r--r-- | servers/display_server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/display_server.h b/servers/display_server.h index a5c42617af..4e52c58633 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -198,7 +198,7 @@ private: public: virtual bool tts_is_speaking() const; virtual bool tts_is_paused() const; - virtual Array tts_get_voices() const; + virtual TypedArray<Dictionary> tts_get_voices() const; virtual PackedStringArray tts_get_voices_for_language(const String &p_language) const; virtual void tts_speak(const String &p_text, const String &p_voice, int p_volume = 50, float p_pitch = 1.f, float p_rate = 1.f, int p_utterance_id = 0, bool p_interrupt = false); @@ -230,7 +230,7 @@ public: virtual void clipboard_set_primary(const String &p_text); virtual String clipboard_get_primary() const; - virtual Array get_display_cutouts() const { return Array(); } + virtual TypedArray<Rect2> get_display_cutouts() const { return TypedArray<Rect2>(); } virtual Rect2i get_display_safe_area() const { return screen_get_usable_rect(); } enum { |