Changeset 5111 in orxonox.OLD for trunk/src/util/shell.h
- Timestamp:
- Aug 23, 2005, 11:13:56 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.h
r5107 r5111 36 36 37 37 38 void activate(); 39 void deactivate(); 38 void setBufferSize(unsigned int bufferSize) { this->bufferSize = bufferSize; }; 40 39 41 void setTextSize(unsigned int textSize, unsigned int lineSpacing = 1); 42 void rebuildText(); 40 void setBufferDisplaySize(unsigned int bufferDisplaySize); 43 41 44 42 // BUFFER // 45 void setBufferSize(unsigned int bufferSize) { this->bufferSize = bufferSize; };46 void setBufferDisplaySize(unsigned int bufferDisplaySize);47 43 void flushBuffers(); 48 44 static bool addBufferLineStatic(const char* line, ...); … … 71 67 private: 72 68 bool autoComplete(); 73 bool classComplete(const char* classBegin);74 bool objectComplete(const char* objectBegin, long classID);75 bool functionComplete(const char* functionBegin);76 77 bool generalComplete(const tList<const char>* stringList, const char* begin, const char* displayAs = "%s", const char* addBack = NULL, const char* addFront = NULL);78 79 const tList<const char>* Shell::createCompleteList(const tList<const char>* inputList, const char* classNameBegin);80 const tList<const char>* Shell::createCompleteList(const tList<BaseObject>* inputList, const char* classNameBegin);81 69 82 70 … … 100 88 unsigned int textSize; //!< The size of the text. 101 89 unsigned int lineSpacing; //!< The Spacing between lines. 102 unsigned int shellHeight; //!< The hight of the Shell in Pixels103 bool bActive; //!< if the shell is active;104 90 105 91 char bufferArray[10000]; //!< a BUFFER for fast writing 106 107 // completion108 tList<const char>* completionList; //!< A list of completions, that are io.109 92 }; 110 93
Note: See TracChangeset
for help on using the changeset viewer.