Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2008, 1:11:51 AM (16 years ago)
Author:
landauf
Message:
  • fixed a bug in CommandExecutor
  • InGameConsole wraps now too long output lines and does something similar for the input line
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/orxonox/console/InGameConsole.h

    r1322 r1416  
    4848
    4949            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 
    5850            void tick(float dt);
    5951
    6052            void activate();
    6153            void deactivate();
     54            void resize();
    6255
    6356            static void openConsole();
     
    6962            ~InGameConsole();
    7063
     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
    7171            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);
    7475            static Ogre::UTFString convert2UTF(std::string s);
    7576
     
    8081            int windowW_;
    8182            int windowH_;
     83            int desiredTextWidth_;
     84            unsigned int maxCharsPerLine_;
     85            unsigned int numLinesShifted_;
    8286            int scroll_;
    8387            float scrollTimer_;
    8488            float cursor_;
     89            unsigned int inputWindowStart_;
    8590            char cursorSymbol_;
    8691            bool active_;
Note: See TracChangeset for help on using the changeset viewer.