#include <TextTexture.h>
Public Member Functions | |
| TextTexture () | |
| void | operator= (char *newText) | 
| void | SetText (char *newText) | 
| void | SetXYFormat (int x, int y) | 
| void | RefreshText () | 
| void | BindTexture (Face *face) | 
| BOOL | MajTexture () | 
Public Attributes | |
| MyString | text | 
| Texture * | texture | 
| COLORREF | background | 
| COLORREF | color | 
| int | xFormat | 
| int | yFormat | 
| Face * | faceText | 
Example:
#include "TextTexture.h" class TheControl: public Control , public TextTexture { Create() { //... init graphique Bind(faceNode->Elems(FACE_FRONT)); MajTexture(); } } void TextIt() { TheControl theControl; theControl="The text"; // change la texture }
Definition at line 49 of file TextTexture.h.
      
  | 
  
| 
 
 Definition at line 26 of file TextTexture.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 36 of file TextTexture.cpp. References faceText.  | 
  
      
  | 
  
| 
 
 Definition at line 65 of file TextTexture.cpp. References BOOL(), faceText, and Face::texture. Referenced by RefreshText().  | 
  
      
  | 
  
| 
 
 Definition at line 41 of file TextTexture.cpp. References SetText().  | 
  
      
  | 
  
| 
 
 Definition at line 52 of file TextTexture.cpp. References Texture::Delete(), Texture::FromText(), MajTexture(), xFormat, and yFormat. Referenced by SetText().  | 
  
      
  | 
  
| 
 
 Definition at line 46 of file TextTexture.cpp. References RefreshText(). Referenced by operator=().  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 64 of file TextTexture.h.  | 
  
      
  | 
  
| 
 
 Definition at line 54 of file TextTexture.h.  | 
  
      
  | 
  
| 
 
 Definition at line 55 of file TextTexture.h.  | 
  
      
  | 
  
| 
 
 Definition at line 58 of file TextTexture.h. Referenced by BindTexture(), MajTexture(), and TextTexture().  | 
  
      
  | 
  
| 
 
 Definition at line 52 of file TextTexture.h.  | 
  
      
  | 
  
| 
 
 Definition at line 53 of file TextTexture.h.  | 
  
      
  | 
  
| 
 
 Definition at line 56 of file TextTexture.h. Referenced by RefreshText(), SetXYFormat(), and TextTexture().  | 
  
      
  | 
  
| 
 
 Definition at line 57 of file TextTexture.h. Referenced by RefreshText(), SetXYFormat(), and TextTexture().  | 
  
 
1.3.6