#include <CUI_Control.h>
Inheritance diagram for CUI_Control:

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_Font * | m_font |
| The font to use for this control. | |
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.
|
|
add frames with a certain flag(s) to a list Controls do not add their children to this list Reimplemented from CUI_Frame. |
1.3.4