class Stk_Gui_Button: public Stk_Gui_Widget

This is the basis of button

Inheritance:


Public Methods

[more] Stk_Gui_Button(const Stk_Gui_Rect &)
Default constructor
[more]virtual ~Stk_Gui_Button()
Destructor
[more]void Draw()
Draw function
[more]void MessageReceived(Stk_Message *msg)
Message Received
[more]virtual void DrawButton()
DrawButton function: You must surcharge it
[more]virtual void Click()
Click function: Event function


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 StkPostMessage(Stk_Message *)

Protected Fields

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


Documentation

This is the basis of button
o Stk_Gui_Button(const Stk_Gui_Rect &)
Default constructor

ovirtual ~Stk_Gui_Button()
Destructor

ovoid Draw()
Draw function

ovoid MessageReceived(Stk_Message *msg)
Message Received

ovirtual void DrawButton()
DrawButton function: You must surcharge it

ovirtual void Click()
Click function: Event function


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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