Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

OglGui::StaticText Class Reference

#include <StaticText.h>

Inheritance diagram for OglGui::StaticText:

Inheritance graph
[legend]
Collaboration diagram for OglGui::StaticText:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

Definition at line 12 of file StaticText.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:06:33 2010 for ImpalaSrc by  doxygen 1.5.1