Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8973 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_text.h


Ignore:
Timestamp:
Jul 1, 2006, 11:37:42 AM (18 years ago)
Author:
bensch
Message:

trunk: gui: full functionality of Text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_text.h

    r8972 r8973  
    2525    virtual ~GLGuiText();
    2626
    27     void setText();
     27    void setText(const std::string& text);
     28    void append(const std::string& appendText);
     29    void appendCharacter(char character);
     30    void removeCharacters(unsigned int chars);
     31    void clear();
    2832
    29     virtual void draw();
     33    const std::string& text() const { return _text.text(); };
     34
     35
     36    virtual void draw() const;
     37
     38    DeclareSignal1(textChanged, const std::string&);
     39
     40  protected:
     41    virtual void updateFrontColor();
     42    virtual void hiding();
     43    virtual void showing();
     44    virtual void resize();
    3045
    3146  private:
    3247    void init();
     48    void changedText();
    3349
    3450
    3551  private:
    36     Text              text;
     52    Text              _text;
    3753  };
    3854}
Note: See TracChangeset for help on using the changeset viewer.