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