| 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 | namespace OrxGui | 
|---|
| 15 | { | 
|---|
| 16 |  | 
|---|
| 17 | //! This is part of the openglGUI class | 
|---|
| 18 | /** | 
|---|
| 19 | * | 
|---|
| 20 | */ | 
|---|
| 21 | class GLGuiText : public GLWidget | 
|---|
| 22 | { | 
|---|
| 23 |  | 
|---|
| 24 | public: | 
|---|
| 25 | GLGuiText(); | 
|---|
| 26 | virtual ~GLGuiText(); | 
|---|
| 27 |  | 
|---|
| 28 | void setText(); | 
|---|
| 29 |  | 
|---|
| 30 | virtual void draw(); | 
|---|
| 31 |  | 
|---|
| 32 | private: | 
|---|
| 33 | void init(); | 
|---|
| 34 |  | 
|---|
| 35 |  | 
|---|
| 36 | private: | 
|---|
| 37 | Text*             text; | 
|---|
| 38 | }; | 
|---|
| 39 | } | 
|---|
| 40 |  | 
|---|
| 41 | #endif /* _GLGUI_TEXT_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.