source:
orxonox.OLD/trunk/src/lib/gui/gl/glgui_text.h
@
8337
Last change on this file since 8337 was 8145, checked in by bensch, 19 years ago | |
---|---|
File size: 504 bytes |
Rev | Line | |
---|---|---|
[4838] | 1 | /*! |
[5365] | 2 | * @file glgui_text.h |
3 | * The gl_TEXT widget of th openglGUI | |
[5360] | 4 | * |
5 | */ | |
[1853] | 6 | |
[5365] | 7 | #ifndef _GLGUI_TEXT_H |
8 | #define _GLGUI_TEXT_H | |
[1853] | 9 | |
[5365] | 10 | #include "glgui_widget.h" |
[1853] | 11 | |
[4838] | 12 | // FORWARD DECLARATION |
[5365] | 13 | class Text; |
[7779] | 14 | namespace OrxGui |
15 | { | |
[3543] | 16 | |
[7779] | 17 | //! This is part of the openglGUI class |
18 | /** | |
19 | * | |
20 | */ | |
21 | class GLGuiText : public GLWidget | |
22 | { | |
[3543] | 23 | |
[7779] | 24 | public: |
25 | GLGuiText(); | |
26 | virtual ~GLGuiText(); | |
[2036] | 27 | |
[8035] | 28 | void setText(); |
[1853] | 29 | |
[7779] | 30 | virtual void draw(); |
[1853] | 31 | |
[7779] | 32 | private: |
[8035] | 33 | void init(); |
34 | ||
35 | ||
36 | private: | |
[7779] | 37 | Text* text; |
38 | }; | |
39 | } | |
[1853] | 40 | |
[5365] | 41 | #endif /* _GLGUI_TEXT_H */ |
Note: See TracBrowser
for help on using the repository browser.