#include <ddguicolor.h>
Class diagram for ddgUIControl:
Public Members | |||
ddgUIControl (unsigned short x, unsigned short y) | |||
Constructor. | |||
bool | init ( void ) | ||
Every sub class initializer should call this 1st. | |||
bool | draw ( ddgContext *ctx ) | ||
Dummy draw method, MUI does the rendering for us. | |||
virtual bool | update ( unsigned int _id ) = 0 | ||
Update the ui due to some change. | |||
unsigned int | id (void) | ||
Get id for this control. | |||
Static Public Members | |||
unsigned int | genId (void) | ||
Get new id. | |||
ddgUIControl* | find (unsigned int id) | ||
Find the control associated with a given id. |