CL_GWidget3
Overview
/
Inherited from public CL_GObject, public CL_GRect
Class members
CL_GWidget()
CL_GWidget(-
CL_GWidget* parent, int x, int y, int w, int h)
- virtual
~CL_GWidget()
- void
setBackground( -
const CL_Surface* backgrnd, bool tileIt = true)
- void
setColor( -
float r, float g, float b, float a)
- void
setAlpha( -
unsigned char)
- virtual void
update()
- void
show()
- void
hide()
- void
close()
- void
enable()
- void
disable()
- virtual void
resize( -
int w, int h)
DEF_SLOT_1(-
forceUpdate, int)
DEF_SLOT_1(-
close, int)
DEF_SLOT_1(-
hide, int)
DEF_SLOT_1(-
show, int)
- void
blit()
- bool
handleEvent( -
const CL_GEvent*)
- virtual bool
processEvent( -
const CL_GEvent*)
- bool
needsUpdate()
- bool
isHidden()
- bool
isClosed()
- bool
isEnabled()
- CL_Surface*
insertChild( -
CL_GWidget* child)
- void
removeChild( -
CL_GWidget* child)
- CL_GRect
getRect()
- CL_GRect
globalCoord( -
CL_GRect)
- CL_GRect
localCoord( -
CL_GRect)
- void
addUpdateRects( -
std::list<CL_GRect> &updateRects)
Members with descriptions
CL_GWidget()-
Description:
/
CL_GWidget(-
CL_GWidget* parent, int x, int y, int w, int h)
Description:
/
- virtual
~CL_GWidget() -
Description:
/
- void
setBackground( -
const CL_Surface* backgrnd, bool tileIt = true)
Description:
/setting background color. void setColor(const UColor &color);
- void
setColor( -
float r, float g, float b, float a)
Description:
/
- void
setAlpha( -
unsigned char)
Description:
/screen update
- virtual void
update() -
Description:
/show up this widget and it´s childs.
- void
show() -
Description:
/hide this widget and it´s childs.
- void
hide() -
Description:
/close this widget and it´s childs.
- void
close() -
Description:
/enable this widget tree
- void
enable() -
Description:
- void
disable() -
Description:
- virtual void
resize( -
int w, int h)
Description:
/
DEF_SLOT_1(-
forceUpdate, int)
Description:
/
DEF_SLOT_1(-
close, int)
Description:
/
DEF_SLOT_1(-
hide, int)
Description:
/
DEF_SLOT_1(-
show, int)
Description:
- void
blit() -
Description:
/
- bool
handleEvent( -
const CL_GEvent*)
Description:
/
- virtual bool
processEvent( -
const CL_GEvent*)
Description:
- bool
needsUpdate() -
Description:
/
- bool
isHidden() -
Description:
/
- bool
isClosed() -
Description:
/
- bool
isEnabled() -
Description:
- CL_Surface*
insertChild( -
CL_GWidget* child)
Description:
/
- void
removeChild( -
CL_GWidget* child)
Description:
- CL_GRect
getRect() -
Description:
- CL_GRect
globalCoord( -
CL_GRect)
Description:
- CL_GRect
localCoord( -
CL_GRect)
Description:
/
- void
addUpdateRects( -
std::list<CL_GRect> &updateRects)
Description: