Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

GUIContainer Class Reference

#include <guicontainer.h>

Inheritance diagram for GUIContainer:

GUIMain UI List of all members.

Public Member Functions

 GUIContainer (const int &rciX, const int &rciY, const uint &rcuiW, const uint &rcuiH)
const uint Add (GUIMain *const pguimain)
const uint GetNumber () const
void GetWinWH (int &riWinW, int &riWinH) const
const uint GetClick () const
void Set (const uint &rcuiIndex, const OC_UBYTE &rcubAttribute) const
void Set (const OC_UBYTE &rcubAttribute)
void ResetAttribute (const OC_UBYTE &rcubAttr) const
void Display () const
void uiKeyboard (const SDL_KeyboardEvent &rcsSDLKeyboardEvent)
void uiMouseMotion (const SDL_MouseMotionEvent &rcsSDLMouseMotionEvent)
void uiMouseButton (const SDL_MouseButtonEvent &rcsSDLMouseButtonEvent)
void uiExpose (const SDL_ExposeEvent &rcsSDLExposeEvent)
void uiResize (const SDL_ResizeEvent &rcsSDLResizeEvent)

Private Attributes

uint uiWinWidth
uint uiWinHeight
std::vector< GUIMain * > vectorpguimain

Static Private Attributes

static GLuint _uiTexture = 0
static uint _uiNumberContainer = 0

Detailed Description

Contains all stuff derived from GUIMain class

Definition at line 33 of file guicontainer.h.


Member Function Documentation

const uint GUIContainer::GetNumber  )  const
 

Returns:
the number of controls added so far

Definition at line 98 of file guicontainer.cpp.

void GUIContainer::Set const uint &  rcuiIndex,
const OC_UBYTE &  rcubAttribute
const
 

Set the attribute of a contained GUIMain object. This declaration hides the prototype of Set inherited from the GUIMain class

Definition at line 141 of file guicontainer.cpp.


The documentation for this class was generated from the following files:
Generated on Sat Nov 11 10:21:11 2006 for OpenCity by  doxygen 1.4.2