- Timestamp:
- May 25, 2008, 1:11:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/orxonox/console/InGameConsole.h
r1322 r1416 48 48 49 49 void setConfigValues(); 50 51 virtual void linesChanged();52 virtual void onlyLastLineChanged();53 virtual void lineAdded();54 virtual void inputChanged();55 virtual void cursorChanged();56 virtual void exit();57 58 50 void tick(float dt); 59 51 60 52 void activate(); 61 53 void deactivate(); 54 void resize(); 62 55 63 56 static void openConsole(); … … 69 62 ~InGameConsole(); 70 63 64 virtual void linesChanged(); 65 virtual void onlyLastLineChanged(); 66 virtual void lineAdded(); 67 virtual void inputChanged(); 68 virtual void cursorChanged(); 69 virtual void exit(); 70 71 71 void init(); 72 void resize(); 73 void print(const std::string& text, int index); 72 void shiftLines(); 73 void colourLine(int colourcode, int index); 74 void print(const std::string& text, int index, bool alwaysShift = false); 74 75 static Ogre::UTFString convert2UTF(std::string s); 75 76 … … 80 81 int windowW_; 81 82 int windowH_; 83 int desiredTextWidth_; 84 unsigned int maxCharsPerLine_; 85 unsigned int numLinesShifted_; 82 86 int scroll_; 83 87 float scrollTimer_; 84 88 float cursor_; 89 unsigned int inputWindowStart_; 85 90 char cursorSymbol_; 86 91 bool active_;
Note: See TracChangeset
for help on using the changeset viewer.