| 
                Last change
                  on this file since 5403 was
                  5365,
                  checked in by bensch, 20 years ago
           | 
        
        
          | 
               
orxonox/trunk: more-gui-definition 
 
           | 
        
        | 
            File size:
            486 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /*! | 
|---|
| 2 |  * @file glgui_textfield.h | 
|---|
| 3 |  * The gl_ widget of th openglGUI | 
|---|
| 4 |  * | 
|---|
| 5 |  */ | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef _GLGUI_TEXTFIELD_H | 
|---|
| 8 | #define _GLGUI_TEXTFIELD_H | 
|---|
| 9 |  | 
|---|
| 10 | #include "glgui_widget.h" | 
|---|
| 11 |  | 
|---|
| 12 | // FORWARD DECLARATION | 
|---|
| 13 | class Text; | 
|---|
| 14 | template<class T> class tList; | 
|---|
| 15 |  | 
|---|
| 16 | //! This is part of the openglGUI class | 
|---|
| 17 | /** | 
|---|
| 18 |  * | 
|---|
| 19 |  */ | 
|---|
| 20 | class GLGuiTextfield : public GLGuiWidget { | 
|---|
| 21 |  | 
|---|
| 22 |  public: | 
|---|
| 23 |   GLGuiTextfield(); | 
|---|
| 24 |   virtual ~GLGuiTextfield(); | 
|---|
| 25 |  | 
|---|
| 26 |   void init(); | 
|---|
| 27 |  | 
|---|
| 28 |   virtual void draw(); | 
|---|
| 29 |  | 
|---|
| 30 |  private: | 
|---|
| 31 |   tList<Text>*      textLines; | 
|---|
| 32 |  | 
|---|
| 33 | }; | 
|---|
| 34 |  | 
|---|
| 35 | #endif /* _GLGUI__H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.