Parents: public CL_GObject, public CL_GRect
Description
/
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)
See Also
None
Back to index
|