class Stk_Gui_Container: public Stk_Gui_Widget

This is a container.

Inheritance:


Public Fields

[more]Stk_Gui_Widget* widget
widget attached

Public Methods

[more] Stk_Gui_Container(const Stk_Gui_Rect &)
Constructor
[more]virtual ~Stk_Gui_Container()
Destructor
[more]virtual void Draw()
Draw
[more]virtual void Resize(const Stk_Gui_Rect &)
Resize it & its widget attached
[more]virtual void Attach(Stk_Gui_Widget *)
add a widget (Warning: This class contains one element)
When we attach a widget, it takes the size of the container
[more]virtual void Unfasten()
remove the widget


Inherited from Stk_Gui_Widget:


Inherited from Stk_Gui_Rect:

Public Methods

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 container. It could contain only one element.
o Stk_Gui_Container(const Stk_Gui_Rect &)
Constructor

ovirtual ~Stk_Gui_Container()
Destructor

ovirtual void Draw()
Draw

ovirtual void Resize(const Stk_Gui_Rect &)
Resize it & its widget attached

ovirtual void Attach(Stk_Gui_Widget *)
add a widget (Warning: This class contains one element)
When we attach a widget, it takes the size of the container

ovirtual void Unfasten()
remove the widget

oStk_Gui_Widget* widget
widget attached


Direct child classes:
Stk_Gui_Window

Alphabetic index HTML hierarchy of classes or Java



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