|
Public Member Functions |
|
| XUIComponent (const char *_id, const char *_label, int x, int y, int w, int h) |
|
| XUIComponent (const XUIComponent &old) |
|
virtual void | AddComponent (XUIComponent *) |
|
virtual void | RemoveComponent (void) |
|
virtual ComponentContainer * | GetComponents () |
|
virtual int | GetComponentCount () |
|
void | SetId (const char *name) |
|
void | SetLabel (const char *name) |
|
void | SetSignalName (const char *name) |
|
const char * | GetId () const |
|
const char * | GetLabel () const |
|
const char * | GetSignalName () const |
|
virtual void | Save (TiXmlElement *doc) |
|
virtual void | Load (TiXmlElement *doc) |
|
bool | LoadColor (TiXmlElement *doc, const char *name, FGColor &color) |
|
void | SaveColor (TiXmlElement *doc, const char *name, FGColor &color) |
|
virtual XUIComponent * | Clone ()=0 |
|
virtual void | Show (XUIComponent *parent=0)=0 |
|
virtual bool | SetData (const char data[], int size) |
|
virtual bool | SetData (const int data) |
|
virtual bool | SetData (const double data) |
|
virtual bool | Selected () |
|
virtual FGWindow * | GetParent () |
Public Attributes |
|
FGRect | shape |
Static Public Attributes |
|
static const int | DEFAULT_VALUE = 0 |
Protected Attributes |
|
const char * | id |
|
const char * | label |
|
char | onclick [FGClosure::name_size] |