| 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 | #include "text.h" | 
|---|
| 13 | #include <vector> | 
|---|
| 14 |  | 
|---|
| 15 | // FORWARD DECLARATION | 
|---|
| 16 | class Text; | 
|---|
| 17 | namespace OrxGui | 
|---|
| 18 | { | 
|---|
| 19 |  | 
|---|
| 20 | //! This is part of the openglGUI class | 
|---|
| 21 | /** | 
|---|
| 22 | * | 
|---|
| 23 | */ | 
|---|
| 24 | class GLGuiTextfield : public GLGuiWidget | 
|---|
| 25 | { | 
|---|
| 26 |  | 
|---|
| 27 | public: | 
|---|
| 28 | GLGuiTextfield(); | 
|---|
| 29 | virtual ~GLGuiTextfield(); | 
|---|
| 30 |  | 
|---|
| 31 | void init(); | 
|---|
| 32 |  | 
|---|
| 33 | void process(const Event& event); | 
|---|
| 34 |  | 
|---|
| 35 | virtual void draw() const; | 
|---|
| 36 |  | 
|---|
| 37 | private: | 
|---|
| 38 | std::vector<Text>        textLines; | 
|---|
| 39 |  | 
|---|
| 40 | }; | 
|---|
| 41 | } | 
|---|
| 42 | #endif /* _GLGUI__H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.