|
LightWrap++
AC++wrapperfortheLightWave3DSDK
|
Wrapper for a LWXPanel. More...
#include <xpanel.h>
Inheritance diagram for lwpp::XPanel:
Collaboration diagram for lwpp::XPanel:Public Member Functions | |
| XPanel (LWXPanelID panID=0, bool auto_close=false) | |
| Initialize the class from a created panel. | |
| XPanel (int type, LWXPanelControl *ctrlDesc, bool auto_close=true) | |
| Initialize the class by creating a panel. | |
| ~XPanel () | |
| void | Create (int type, LWXPanelControl *ctrlDesc=NULL, bool auto_close=true) |
| void | Describe (LWXPanelDataDesc *ddesc, LWXPanelGetFunc *getf=0, LWXPanelSetFunc *setf=0) |
| void | Destroy () |
| void | DestroyOnExit (bool doIt) |
| void | getForm (unsigned int id, void *&d) |
| void | getForm (unsigned int id, char *&d) |
| void | getForm (unsigned int id, std::string &d) |
| void | getForm (unsigned int id, int &d) |
| void | getForm (unsigned int id, unsigned int &d) |
| void | getForm (unsigned int id, bool &d) |
| void | getForm (unsigned int id, float &d) |
| void | getForm (unsigned int id, double &d) |
| LWXPanelID | getID () const |
| void * | getUserData (unsigned int id=0) |
| template<typename T > | |
| T | getUserData (unsigned int id=0) |
| void | Hint (LWXPanelHint *hint, unsigned int ctl=0) |
| bool | isValid () |
| int | Open () |
| int | Post () |
| void | setAutoDestroy (bool close) |
| void | setForm (unsigned long id, void *data) |
| void | setForm (unsigned long id, bool data) |
| void | setForm (unsigned long id, int data) |
| void | setForm (unsigned long id, unsigned int data) |
| void | setForm (unsigned long id, float data) |
| void | setForm (unsigned long id, double data) |
| void | setForm (unsigned long id, char *data) |
| void | setForm (unsigned long id, const char *data) |
| void | setForm (unsigned long id, std::string data) |
| void | setID (LWXPanelID id) |
| void | setUserData (void *data, unsigned int id=0) |
| void | ViewInst (void *inst) |
| void | ViewRefresh () |
Static Public Member Functions | |
| static LWXPDrawFuncs * | getDrawFuncs () |
| static int | getVersion () |
| static void | ViewRefresh (LWXPanelID panel) |
Protected Member Functions | |
| bool | _acquireGlobal () |
| virtual bool | available () const |
| Check if the global is available. | |
| void | Destroy (LWXPanelID lwxpanel) |
| void * | formGet (unsigned int id) |
| void | formSet (unsigned int id, void *data) |
| virtual LWXPanelFuncs * | getGlobal () |
| Get the pointer to the global. | |
| LWXPanelFuncs * | operator-> () |
| Get the pointer to the global. | |
Static Protected Member Functions | |
| static LWXPanelID | Create (int type, LWXPanelControl *ctrlDesc=0) |
| static void | Describe (LWXPanelID lwxpanel, LWXPanelDataDesc *ddesc, LWXPanelGetFunc *getf=0, LWXPanelSetFunc *setf=0) |
| static void * | formGet (LWXPanelID lwxpanel, unsigned long id) |
| static void | formSet (LWXPanelID lwxpanel, unsigned long id, void *data) |
| static float | getFormFloat (LWXPanelID lwxpanel, unsigned long id) |
| static int | getFormInt (LWXPanelID lwxpanel, unsigned long id) |
| static char * | getFormString (LWXPanelID lwxpanel, unsigned long id) |
| static void * | getUserData (LWXPanelID lwxpanel, unsigned long id=0) |
| Get user data. | |
| static void | Hint (LWXPanelID lwxpanel, LWXPanelHint *hint, unsigned long ctl=0) |
| static int | Open (LWXPanelID lwxpanel) |
| static int | Post (LWXPanelID lwxpanel) |
| static void | setForm (LWXPanelID lwxpanel, unsigned long id, long data) |
| static void | setForm (LWXPanelID lwxpanel, unsigned long id, float data) |
| static void | setForm (LWXPanelID lwxpanel, unsigned long id, char *data) |
| static void | setForm (LWXPanelID lwxpanel, unsigned long id, const char *data) |
| static void | setUserData (LWXPanelID lwxpanel, void *data, unsigned long id=0) |
| Set user data. | |
| static void | ViewInst (LWXPanelID lwxpanel, void *inst) |
Static Protected Attributes | |
| static LWXPanelFuncs * | globPtr |
| Pointer to the global functions. | |
Wrapper for a LWXPanel.
|
inline |
Initialize the class from a created panel.
|
inline |
Initialize the class by creating a panel.
|
inline |
|
inlineprotectedinherited |
|
inlinevirtualinherited |
Check if the global is available.
|
inlinestaticinherited |
|
inline |
|
inlinestaticinherited |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
|
inlinestaticinherited |
|
inlineprotected |
|
inlinestaticinherited |
|
inlineprotected |
|
inlinestatic |
Reimplemented from lwpp::XPanelFuncs.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinevirtualinherited |
Get the pointer to the global.
|
inline |
|
inlinestaticinherited |
Get user data.
| lwxpanel | LWXPanelID |
| id | ID of the control or 0 for the panel |
|
inline |
|
inline |
|
inlinestatic |
Reimplemented from lwpp::XPanelFuncs.
|
inlinestaticinherited |
|
inline |
|
inline |
|
inlinestaticinherited |
|
inline |
|
inlineinherited |
Get the pointer to the global.
|
inlinestaticinherited |
|
inline |
|
inline |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticinherited |
Set user data.
| lwxpanel | LWXPanelID |
| *data | The user data |
| id | ID of the control or 0 for the panel |
|
inline |
|
inlinestaticinherited |
|
inline |
|
inline |
|
inlinestatic |
Reimplemented from lwpp::XPanelFuncs.
|
staticprotectedinherited |
Pointer to the global functions.