![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
ToolPanel* panelElementsInit (); void (*panelElements_changeFunc) (GList *eleList); void panelElements_setInterfaceMethods (RenderingMethod *method, panelElements_changeFunc change, createGtkWidgetFunc create);
ToolPanel* panelElementsInit ();
Should be used in the list declared in externalModules.h to be loaded by V_Sim on start-up. This routine will create the ToolPanel where the element stuff can be done, such as choosing a colour, setting the radius of spheres...
Returns : |
a newly created ToolPanel object. |
void (*panelElements_changeFunc) (GList *eleList);
Methods from this interface are called whenever the currently selected elements are changed.
|
a list of all VisuElements that are selected. |
void panelElements_setInterfaceMethods (RenderingMethod *method, panelElements_changeFunc change, createGtkWidgetFunc create);
This method allows to initiate the methods to deal with the rendering specific interfaces.
|
a pointer on the method this interface is associated to ; |
|
the method to be called whenever the element selection is cahnged ; |
|
the method to be called when the interface must be built. |