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/bind/core_bind.h | |
| parent | 3c6dd5749d445f082fc925a34cc0a26f8d342304 (diff) | |
| download | godot-fb2bf78591672362adbb62ea15e7be4ac34a7dee.tar.gz godot-fb2bf78591672362adbb62ea15e7be4ac34a7dee.tar.zst godot-fb2bf78591672362adbb62ea15e7be4ac34a7dee.zip | |
Add ability to set "keep screen on" for android
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 62572d776..e03657f3a 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -262,6 +262,9 @@ public: void set_screen_orientation(ScreenOrientation p_orientation); ScreenOrientation get_screen_orientation() const; + void set_keep_screen_on(bool p_enabled); + bool is_keep_screen_on() const; + void set_time_scale(float p_scale); float get_time_scale(); |
