panelElements

panelElements

Synopsis

ToolPanel*          panelElementsInit                   ();
void                (*panelElements_changeFunc)         (GList *eleList);
void                panelElements_setInterfaceMethods   (RenderingMethod *method,
                                                         panelElements_changeFunc change,
                                                         createGtkWidgetFunc create);

Description

Details

panelElementsInit ()

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.

panelElements_changeFunc ()

void                (*panelElements_changeFunc)         (GList *eleList);

Methods from this interface are called whenever the currently selected elements are changed.

eleList :

a list of all VisuElements that are selected.

panelElements_setInterfaceMethods ()

void                panelElements_setInterfaceMethods   (RenderingMethod *method,
                                                         panelElements_changeFunc change,
                                                         createGtkWidgetFunc create);

This method allows to initiate the methods to deal with the rendering specific interfaces.

method :

a pointer on the method this interface is associated to ;

change :

the method to be called whenever the element selection is cahnged ;

create :

the method to be called when the interface must be built.