class Stk_Gui_Window: public Stk_Gui_Container

This is the root of STK widget hiearchy.

Inheritance:


Public Methods

[more] Stk_Gui_Window(Stk_Handler *handler, const Stk_Gui_Rect &)
Constructor (width & height)
[more] ~Stk_Gui_Window()
Destructor: all the hiearchie is destroyed
[more]virtual void Draw()
Draw
[more]virtual void MessageReceived(Stk_Message *msg)
Message received
[more]void ShowCursor()
Show Cursor
[more]void HideCursor()
Hide Cursor

Private Fields

[more]Stk_Gui_GContext* gc
the graphical context connected with this window
[more]int cursor
state of cursor
[more]int cur_x
position x of cursor
[more]int cur_y
position y of cursor


Inherited from Stk_Gui_Container:

Public Fields

oStk_Gui_Widget* widget

Public Methods

ovirtual void Resize(const Stk_Gui_Rect &)
ovirtual void Attach(Stk_Gui_Widget *)
ovirtual void Unfasten()


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

Protected Fields

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


Documentation

This is the root of STK widget hiearchy. You must create it before doing anything else.
o Stk_Gui_Window(Stk_Handler *handler, const Stk_Gui_Rect &)
Constructor (width & height)

o ~Stk_Gui_Window()
Destructor: all the hiearchie is destroyed

ovirtual void Draw()
Draw

ovirtual void MessageReceived(Stk_Message *msg)
Message received

ovoid ShowCursor()
Show Cursor

ovoid HideCursor()
Hide Cursor

oStk_Gui_GContext* gc
the graphical context connected with this window

oint cursor
state of cursor

oint cur_x
position x of cursor

oint cur_y
position y of cursor


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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