Changeset 5246 in orxonox.OLD for trunk/src/lib/shell/shell.h
- Timestamp:
- Sep 24, 2005, 9:20:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell.h
r5245 r5246 30 30 * 31 31 * Furthermore the Shell should enable us, to input some simple commands 32 * Each Class can tellcheck itself in to the Shell, and listen for commands.32 * Each Class can check itself in to the Shell, and listen for commands. 33 33 * 34 * @todo implement what is written above :/ 34 * more info: @see ShellCommand 35 * @see shell_command.h 36 * @see shell_buffer.h 37 * @see shell_input.h 38 * 39 * !! note in order to keep shellbuffer to a minimal (it is included with 40 * !! debug.h) Display of it inside the Shell is located here !! 35 41 */ 36 42 class Shell : public Element2D, public EventListener { … … 51 57 void setBufferDisplaySize(unsigned int bufferDisplaySize); 52 58 void printToDisplayBuffer(const char* text); 59 void moveDisplayBuffer(int lineCount); 60 53 61 void flush(); 54 62 … … 73 81 74 82 private: 75 76 83 // GENERAL 77 bool bActive; //!< if the shell is active;78 unsigned int shellHeight; //!< The hight of the Shell in Pixels 84 bool bActive; //!< If the shell is active. 85 unsigned int shellHeight; //!< The hight of the Shell in Pixels. 79 86 unsigned int lineSpacing; //!< The Spacing between lines. 80 87 unsigned int textSize; //!< The size of the text. … … 84 91 ShellInput* shellInput; //!< The inputLine of the Shell. 85 92 // BUFFER 86 unsigned int bufferDisplaySize; //!< The Size of the Display-buffer, in lines (not in characters) 87 Text** bufferText; //!< A list of stored bufferTexts for the display of the buffer 93 unsigned int bufferDisplaySize; //!< The Size of the Display-buffer, in lines (not in characters). 94 Text** bufferText; //!< A list of stored bufferTexts for the display of the buffer. 95 int bufferOffset; //!< how many lines from the bottom up we display the Buffer. 88 96 }; 89 97
Note: See TracChangeset
for help on using the changeset viewer.