mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TextInput.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include "GlobalGL.h"
9 #include "TextureFont.h"
10 #include <string>
11 
13 class TextInput {
14 public:
15  TextInput( TextureFont *tf );
16  ~TextInput(void);
17  GLvoid back( GLvoid );
18  char * getText( GLvoid );
19  GLvoid newLetter( char letter );
20  GLvoid print( GLvoid );
21  GLvoid reset( GLvoid );
22 private:
23  TextureFont *m_tf;
24  char text[256];
25  int letterCount;
26 };