Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5111 in orxonox.OLD for trunk/src/util/shell.h


Ignore:
Timestamp:
Aug 23, 2005, 11:13:56 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: reverted the last steps, because they created a huge pack of seg-faults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/shell.h

    r5107 r5111  
    3636
    3737
    38     void activate();
    39     void deactivate();
     38    void setBufferSize(unsigned int bufferSize) { this->bufferSize = bufferSize; };
    4039
    41     void setTextSize(unsigned int textSize, unsigned int lineSpacing = 1);
    42     void rebuildText();
     40    void setBufferDisplaySize(unsigned int bufferDisplaySize);
    4341
    4442    // BUFFER //
    45     void setBufferSize(unsigned int bufferSize) { this->bufferSize = bufferSize; };
    46     void setBufferDisplaySize(unsigned int bufferDisplaySize);
    4743    void flushBuffers();
    4844    static bool addBufferLineStatic(const char* line, ...);
     
    7167  private:
    7268    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);
    8169
    8270
     
    10088    unsigned int           textSize;               //!< The size of the text.
    10189    unsigned int           lineSpacing;            //!< The Spacing between lines.
    102     unsigned int           shellHeight;            //!< The hight of the Shell in Pixels
    103     bool                   bActive;                //!< if the shell is active;
    10490
    10591    char                   bufferArray[10000];     //!< a BUFFER for fast writing
    106 
    107     // completion
    108     tList<const char>*    completionList;          //!< A list of completions, that are io.
    10992};
    11093
Note: See TracChangeset for help on using the changeset viewer.