Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5246 in orxonox.OLD for trunk/src/lib/shell/shell.h


Ignore:
Timestamp:
Sep 24, 2005, 9:20:49 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: minimalized the ShellBuffer

File:
1 edited

Legend:

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

    r5245 r5246  
    3030 *
    3131 * Furthermore the Shell should enable us, to input some simple commands
    32  * Each Class can tell check itself in to the Shell, and listen for commands.
     32 * Each Class can check itself in to the Shell, and listen for commands.
    3333 *
    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 !!
    3541 */
    3642class Shell : public Element2D, public EventListener {
     
    5157    void setBufferDisplaySize(unsigned int bufferDisplaySize);
    5258    void printToDisplayBuffer(const char* text);
     59    void moveDisplayBuffer(int lineCount);
     60
    5361    void flush();
    5462
     
    7381
    7482  private:
    75 
    7683    // 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.
    7986    unsigned int             lineSpacing;            //!< The Spacing between lines.
    8087    unsigned int             textSize;               //!< The size of the text.
     
    8491    ShellInput*              shellInput;             //!< The inputLine of the Shell.
    8592    // 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.
    8896};
    8997
Note: See TracChangeset for help on using the changeset viewer.