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