aboutsummaryrefslogtreecommitdiff
path: root/queen/input.h
diff options
context:
space:
mode:
authorGregory Montoir2003-12-26 14:49:49 +0000
committerGregory Montoir2003-12-26 14:49:49 +0000
commite05e079116cd9d63ebd06688a67264abe1aadb9b (patch)
tree3261b0ff49eef3a56f5a186b6e012b6052689d34 /queen/input.h
parent802ebb584fdaaa6ac4315f8f12c2b2ddb9b81bf5 (diff)
downloadscummvm-rg350-e05e079116cd9d63ebd06688a67264abe1aadb9b.tar.gz
scummvm-rg350-e05e079116cd9d63ebd06688a67264abe1aadb9b.tar.bz2
scummvm-rg350-e05e079116cd9d63ebd06688a67264abe1aadb9b.zip
enable original screen blankers
svn-id: r11944
Diffstat (limited to 'queen/input.h')
-rw-r--r--queen/input.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/queen/input.h b/queen/input.h
index 5936efd11c..91ef573036 100644
--- a/queen/input.h
+++ b/queen/input.h
@@ -34,7 +34,8 @@ class Input {
//! Adjust here to change delays!
enum {
DELAY_SHORT = 10,
- DELAY_NORMAL = 100
+ DELAY_NORMAL = 100,
+ DELAY_SCREEN_BLANKER = 5 * 60 * 1000
};
enum {
@@ -87,6 +88,8 @@ class Input {
int mouseButton() const { return _mouseButton; }
void clearMouseButton() { _mouseButton = 0; }
+ uint32 idleTime() const { return _idleTime; }
+
private:
enum KeyCode {
@@ -155,6 +158,8 @@ class Input {
//! Set by delay();
int _mouseButton;
+ uint32 _idleTime;
+
//! Command keys for current language
const char *_currentCommandKeys;