diff options
| author | Juan Linietsky | 2015-03-22 15:10:50 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-03-22 15:10:50 -0300 |
| commit | 15bee515e63f8d9d93fc9aacd00f2b99e37cd58b (patch) | |
| tree | cee112be228c175c348b2749ee56487ea52dfb3c /core/bind/core_bind.h | |
| parent | eefcf93e55ce6d9f76c4765c9385f870ce621897 (diff) | |
| parent | f7621810a2f072a5d77563b6018023c575f355bf (diff) | |
| download | godot-15bee515e63f8d9d93fc9aacd00f2b99e37cd58b.tar.gz godot-15bee515e63f8d9d93fc9aacd00f2b99e37cd58b.tar.zst godot-15bee515e63f8d9d93fc9aacd00f2b99e37cd58b.zip | |
Merge pull request #1487 from hurikhan/x11-window-management
X11 window management
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 057ad90fe..1a80e3522 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -108,6 +108,26 @@ public: bool is_video_mode_resizable(int p_screen=0) const; Array get_fullscreen_mode_list(int p_screen=0) const; +#ifdef NEW_WM_API + virtual int get_screen_count() const; + virtual int get_screen() const; + virtual void set_screen(int p_screen); + virtual Point2 get_screen_position(int p_screen=0) const; + virtual Size2 get_screen_size(int p_screen=0) const; + virtual Point2 get_window_position() const; + virtual void set_window_position(const Point2& p_position); + virtual Size2 get_window_size() const; + virtual void set_window_size(const Size2& p_size); + virtual void set_fullscreen(bool p_enabled); + virtual bool is_fullscreen() const; + virtual void set_resizable(bool p_enabled); + virtual bool is_resizable() const; + virtual void set_minimized(bool p_enabled); + virtual bool is_minimized() const; + virtual void set_maximized(bool p_enabled); + virtual bool is_maximized() const; +#endif + Error native_video_play(String p_path, float p_volume, String p_audio_track, String p_subtitle_track); bool native_video_is_playing(); void native_video_pause(); |
