git-svn-id: svn://db.shs.com.ru/pip@123 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -108,7 +108,7 @@ public:
|
||||
bool exitCaptured() const {return exit_enabled;}
|
||||
|
||||
//! Returns exit key, default 'Q'
|
||||
char exitKey() const {return exit_key;}
|
||||
int exitKey() const {return exit_key;}
|
||||
|
||||
void readKeyboard();
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
~PIScreen();
|
||||
|
||||
//! Directly call function from \a PIKbdListener
|
||||
void enableExitCapture(char key = 'Q') {listener->enableExitCapture(key);}
|
||||
void enableExitCapture(int key = 'Q') {listener->enableExitCapture(key);}
|
||||
|
||||
//! Directly call function from \a PIKbdListener
|
||||
void disableExitCapture() {listener->disableExitCapture();}
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
bool exitCaptured() const {return listener->exitCaptured();}
|
||||
|
||||
//! Directly call function from \a PIKbdListener
|
||||
char exitKey() const {return listener->exitKey();}
|
||||
int exitKey() const {return listener->exitKey();}
|
||||
|
||||
int windowWidth() const {return console.width;}
|
||||
int windowHeight() const {return console.height;}
|
||||
|
||||
Reference in New Issue
Block a user