diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-04 00:54:30 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-04 00:54:30 +0000 |
commit | 840f9b8678f607aecc15d47bc77248c4ac8b8574 (patch) | |
tree | f90688ca7afabb8e4123e1a811dd168a86717a3c /src/client/console.h | |
parent | 43b994017a560a2fa97894ebfe121375d6614b6f (diff) |
tweaked console
client status with timer and fps
core connect/disconnect
Diffstat (limited to 'src/client/console.h')
-rw-r--r-- | src/client/console.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/console.h b/src/client/console.h index 7f98666..c0d485f 100644 --- a/src/client/console.h +++ b/src/client/console.h @@ -44,7 +44,8 @@ public: /// toggle the console on or off void toggle(); - bool visible; + /// true of the console is visible + inline bool visible() { return console_visible; } /// toggle handle keyboard input void handle_keyreleased(SDL_keysym* keysym); @@ -54,13 +55,13 @@ protected: std::stringstream buffer; /// console text data - std::deque<std::string> text; + std::deque<std::string> text; private: std::string input; + bool console_visible; }; } #endif // __INCLUDED_CLIENT_CONSOLE_H__ - |