#include <StaticText.h>
Inheritance diagram for OglGui::StaticText:


Public Member Functions | |
| StaticText (int x, int y, int w, int h, strconst text, bool centered=true, bool shadowed=false) | |
| StaticText (Window *parent, int x, int y, int width, int height, strconst text, bool centered=true, bool shadowed=false) | |
| StaticText (Window *parent, int x, int y, int width, int height, strconst text, int hAlign, int vAlign=oglCenterAlign, bool shadowed=false) | |
| StaticText (Window *parent, int width, int height, strconst text, bool centered=true, bool shadowed=false) | |
| StaticText (Window *parent, int width, int height, strconst text, int hAlign, int vAlign=oglCenterAlign, bool shadowed=false) | |
| virtual void | AlignString (int offsetX=0, int offsetY=0) |
| virtual void | MouseFunc (INT msg, INT but, INT state, INT x, INT y) |
| virtual void | DisplayFunc () |
| virtual void | SetText (std::string text) |
| std::string | GetText () const |
| void | GetTextExtent (int &w, int &h) const |
| void | GetAlign (int &hAlign, int &vAlign) const |
| void | SetAlign (int hAlign, int vAlign=oglCenterAlign) |
| void | SetAlignOffsets (int hOff, int vOff) |
| void | SetCentered (bool val) |
| void | SetTextShadowed (bool mode=true) |
| void | SetShadowColor (ULONG shadCol) |
| ULONG | GetShadowColor () const |
Protected Attributes | |
| std::string | mText |
| int | mAlignH |
| int | mAlignOffH |
| int | mAlignV |
| int | mAlignOffV |
| bool | mTextShadowed |
| ULONG | mShadowColor |
Private Member Functions | |
| void | Init (strconst txt, int hAlign, int vAlign, bool shadowed) |
Definition at line 12 of file StaticText.h.
1.5.1