summaryrefslogtreecommitdiffstats
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-01-18 14:44:49 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-01-18 14:44:49 +0100
commit7e20c86ac71d27cc45e6a38feedc3037e8b0e8cd (patch)
tree037fae34110891cff0cdf6fc3c22457da25f2ea3 /core/bind/core_bind.h
parentc0b9634235ee67415506b5a75a6bd7bb5ef28f21 (diff)
parent4563a5909ae617e458ac4484bfd5229252c2bae8 (diff)
downloadredot-engine-7e20c86ac71d27cc45e6a38feedc3037e8b0e8cd.tar.gz
Merge pull request #3360 from volzhs/keep-screen-on-5
Add ability to set "keep screen on" for android & iOS. fixes #2428
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 62572d7761..e03657f3a0 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();