diff options
| author | eska | 2016-12-04 02:41:50 +0100 |
|---|---|---|
| committer | eska | 2016-12-04 02:52:14 +0100 |
| commit | 17422f1f8673ed242771032fd5dc43df89a3b387 (patch) | |
| tree | 5adac762ec004c219ce72937d726b89aed116c92 /platform/javascript/os_javascript.h | |
| parent | 49e22aa83ff5523ab6e976f04cac067de21e4a5e (diff) | |
| download | godot-17422f1f8673ed242771032fd5dc43df89a3b387.tar.gz godot-17422f1f8673ed242771032fd5dc43df89a3b387.tar.zst godot-17422f1f8673ed242771032fd5dc43df89a3b387.zip | |
Diffstat (limited to 'platform/javascript/os_javascript.h')
| -rw-r--r-- | platform/javascript/os_javascript.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h index abcc47aca..48d028db1 100644 --- a/platform/javascript/os_javascript.h +++ b/platform/javascript/os_javascript.h @@ -80,7 +80,7 @@ private: const char* gl_extensions; InputDefault *input; - VideoMode default_videomode; + VideoMode video_mode; MainLoop * main_loop; GetDataDirFunc get_data_dir_func; @@ -135,7 +135,12 @@ public: virtual VideoMode get_video_mode(int p_screen=0) const; virtual void get_fullscreen_mode_list(List<VideoMode> *p_list,int p_screen=0) const; + virtual Size2 get_screen_size(int p_screen=0) const; + virtual Size2 get_window_size() const; + virtual void set_window_fullscreen(bool p_enable); + virtual bool is_window_fullscreen() const; + virtual String get_name(); virtual MainLoop *get_main_loop() const; @@ -153,7 +158,6 @@ public: virtual bool has_touchscreen_ui_hint() const; void set_opengl_extensions(const char* p_gl_extensions); - void set_display_size(Size2 p_size); void reload_gfx(); |
