diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-06 11:39:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 11:39:18 +0100 |
commit | 845480497207839bef48997d152f00b60b6176a8 (patch) | |
tree | 8a4b65992148e55897e33c9b09c9664c2dda3e6b /core/bind/core_bind.h | |
parent | 7c3543380fe9ecd3d9a2d2dd3319e1c37e06820f (diff) | |
parent | 21a392341034169fff18db626e1c356545289af5 (diff) | |
download | redot-engine-845480497207839bef48997d152f00b60b6176a8.tar.gz |
Merge pull request #33967 from Calinou/add-os-is-window-focused
Add an `OS.is_window_focused()` getter
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r-- | core/bind/core_bind.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 46a5fdb5a4..7c5031cad4 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -198,6 +198,7 @@ public: virtual bool is_window_maximized() const; virtual void set_window_always_on_top(bool p_enabled); virtual bool is_window_always_on_top() const; + virtual bool is_window_focused() const; virtual void request_attention(); virtual void center_window(); virtual void move_window_to_foreground(); |