Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CUI_Control Class Reference

A higher-level frame. More...

#include <CUI_Control.h>

Inheritance diagram for CUI_Control:

CUI_Frame CUI_ComboBox CUI_Console CUI_ListBox CUI_MessageBox CUI_RadioGroup CUI_ScrollableFrame CUI_ScrollableTextBox CUI_TextField List of all members.

Public Member Functions

 CUI_Control (CUI_UI *ui=NULL, float x=0, float y=0, float x2=1, float y2=1, CUI_Frame *parent=NULL, IUI_Shader *shader=NULL, IUI_Shader *cursor=NULL, CUI_CoordSys *coordsys=NULL)
 constructor

 ~CUI_Control ()
 destructor - does nothing, so not virtual

virtual bool AddClickableToList (void *voidlist)
 add frames with a certain flag(s) to a list

virtual bool SetFont (IUI_Font *font)
 Set the default font for this control.

virtual bool IsControl ()
 this frame is a control

virtual bool IsClickable ()
 this frame is clickable


Protected Member Functions

virtual bool AddChild (CUI_Frame *frame)
 Adding children becomes protected.

virtual bool DeleteChild (CUI_Frame *frame)
 Deleting children becomes protected.

virtual bool SetCoordSys (CUI_CoordSys *coordsys)
 Setting coordinate system becomes protected.

virtual bool SetBorder (IUI_Border *border)
 Setting border becomes protected.


Protected Attributes

IUI_Fontm_font
 The font to use for this control.


Detailed Description

A higher-level frame.

Automatically creates and handles its children.

Base class for controls, CUI_Control has no real functionality by itself. It merely protects a few methods that should not be publically visible for controls.


Member Function Documentation

bool CUI_Control::AddClickableToList void *  voidlist  )  [virtual]
 

add frames with a certain flag(s) to a list

Controls do not add their children to this list

Reimplemented from CUI_Frame.


The documentation for this class was generated from the following files:
Generated on Mon Sep 29 23:07:03 2003 for glGUI by doxygen 1.3.4