class Stk_Gui_Text: public Stk_Gui_Widget

This is a widget to draw some string

Inheritance:


Public Methods

[more] Stk_Gui_Text(char *txt, char mode)
Constructor with default font (very slow)
[more] Stk_Gui_Text(Stk_Font *, char *txt, char mode)
Constructor
[more] ~Stk_Gui_Text()
Destructor
[more]virtual void Draw()
Draw Text
[more]void SetFontSize(float)
Set Font Size
[more]float GetFontSize()
Get Font Size

Private Fields

[more]char mode
Mode ( Right:0 Left:1 Center:2 )


Inherited from Stk_Gui_Widget:

Public Methods

ovirtual void Attach(Stk_Handler *father)
ovirtual void Unfasten()


Inherited from Stk_Gui_Rect:

Public Methods

ovirtual void Resize(const Stk_Gui_Rect &)
ovirtual void Resize(float xa, float ya, float size_xa, float size_za)
ofloat GetX() const
ofloat GetY() const
ofloat GetWidth() const
ofloat GetHeight() const

Private Fields

ofloat x
ofloat y
ofloat width
ofloat height


Inherited from Stk_Handler:

Public Methods

ovoid AddHandler(Stk_Handler *)
ovoid RemHandler(Stk_Handler *)
ovirtual void Dispatch(Stk_Message *)
ovirtual void MessageReceived(Stk_Message *)
ovirtual void StkPostMessage(Stk_Message *)

Protected Fields

olist<Stk_Handler *> handlers
oStk_Looper* looper
oStk_Handler* father


Documentation

This is a widget to draw some string
o Stk_Gui_Text(char *txt, char mode)
Constructor with default font (very slow)

o Stk_Gui_Text(Stk_Font *, char *txt, char mode)
Constructor

o ~Stk_Gui_Text()
Destructor

ovirtual void Draw()
Draw Text

ovoid SetFontSize(float)
Set Font Size

ofloat GetFontSize()
Get Font Size

ochar mode
Mode ( Right:0 Left:1 Center:2 )


Direct child classes:
Stk_Gui_EditLine

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.