diff options
| author | volzhs | 2015-11-27 23:40:04 +0900 |
|---|---|---|
| committer | volzhs | 2016-01-16 20:57:34 +0900 |
| commit | fb2bf78591672362adbb62ea15e7be4ac34a7dee (patch) | |
| tree | 98da1c62d4183bb0ca2f194f4650595cf386b3e1 /core/os/os.h | |
| parent | 3c6dd5749d445f082fc925a34cc0a26f8d342304 (diff) | |
| download | godot-fb2bf78591672362adbb62ea15e7be4ac34a7dee.tar.gz godot-fb2bf78591672362adbb62ea15e7be4ac34a7dee.tar.zst godot-fb2bf78591672362adbb62ea15e7be4ac34a7dee.zip | |
Diffstat (limited to 'core/os/os.h')
| -rw-r--r-- | core/os/os.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h index 83ea2c210..bc3fad302 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -46,6 +46,7 @@ class OS { String _custom_level; List<String> _cmdline; int ips; + bool _keep_screen_on; bool low_processor_usage_mode; bool _verbose_stdout; String _local_clipboard; @@ -180,7 +181,8 @@ public: virtual float get_frames_per_second() const { return _fps; }; - + virtual void set_keep_screen_on(bool p_enabled); + virtual bool is_keep_screen_on() const; virtual void set_low_processor_usage_mode(bool p_enabled); virtual bool is_in_low_processor_usage_mode() const; |
