summaryrefslogtreecommitdiffstats
path: root/gui/blanktimer.hpp
diff options
context:
space:
mode:
authorgordon1337 <gsysgordon@gmail.com>2013-06-08 14:17:07 +0200
committergordon1337 <gsysgordon@gmail.com>2013-06-08 14:17:07 +0200
commit0d9133d654805be31a7e21f4ccb74e9e0a44fd55 (patch)
tree0a1c0bae00b525fbbc1a3e50dad02d2e50330d47 /gui/blanktimer.hpp
parentConsole Render Bug caused by touch drag event (diff)
downloadandroid_bootable_recovery-0d9133d654805be31a7e21f4ccb74e9e0a44fd55.tar
android_bootable_recovery-0d9133d654805be31a7e21f4ccb74e9e0a44fd55.tar.gz
android_bootable_recovery-0d9133d654805be31a7e21f4ccb74e9e0a44fd55.tar.bz2
android_bootable_recovery-0d9133d654805be31a7e21f4ccb74e9e0a44fd55.tar.lz
android_bootable_recovery-0d9133d654805be31a7e21f4ccb74e9e0a44fd55.tar.xz
android_bootable_recovery-0d9133d654805be31a7e21f4ccb74e9e0a44fd55.tar.zst
android_bootable_recovery-0d9133d654805be31a7e21f4ccb74e9e0a44fd55.zip
Diffstat (limited to 'gui/blanktimer.hpp')
-rw-r--r--gui/blanktimer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/blanktimer.hpp b/gui/blanktimer.hpp
index 2d83c4dae..60d5b1b42 100644
--- a/gui/blanktimer.hpp
+++ b/gui/blanktimer.hpp
@@ -30,6 +30,7 @@ class blanktimer {
int setTimerThread(void);
void resetTimerAndUnblank(void);
void setTime(int newtime);
+ bool IsScreenOff();
private:
void setConBlank(int blank);
@@ -47,6 +48,7 @@ class blanktimer {
timespec btimer;
unsigned long long sleepTimer;
int orig_brightness;
+ bool screenoff;
};
extern blanktimer blankTimer;