ui::Frame Class Reference

Inheritance diagram for ui::Frame:

Inheritance graph
[legend]
Collaboration diagram for ui::Frame:

Collaboration graph
[legend]
List of all members.

Detailed Description

Frame. In all GUI's there can only be one Frame, which is the root container for all other objects. Frame also provides methods for events, painting and other stuff (see the individual members).


Public Member Functions

 Frame (int x, int y, int width, int height)
virtual ~Frame ()
void setMenuBar (MenuBar *menuBar)
MenuBargetMenuBar () const


Constructor & Destructor Documentation

ui::Frame::Frame int  x,
int  y,
int  width,
int  height
 

Frame basic constructor. Sets up a frame with the given dimensions.

Parameters:
x X location of the frame.
y Y location of the frame.
width Width of the frame.
height Height of the frame.

ui::Frame::~Frame  )  [virtual]
 

Frames destructor.


Member Function Documentation

void ui::Frame::setMenuBar MenuBar menuBar  ) 
 

Set the MenuBar for this frame. The menubar will be placed on the top of this frame.

MenuBar * ui::Frame::getMenuBar  )  const
 

Returns the MenuBar associated with this Frame.


Generated on Mon Jun 20 19:41:49 2005 for UI by doxygen 1.3.1 using KingsTools