panelConfig

panelConfig — The tab where miscellaneous options are setup.

Synopsis

ToolPanel*          panelConfigInit                     ();
void                panelConfigSet_tabView              (gboolean viewed);
void                panelConfigSet_automaticRefresh     (VisuRenderingWindow *window,
                                                         int bool);
void                panelConfigSet_refreshPeriod        (VisuRenderingWindow *window,
                                                         float val);

Description

Details

panelConfigInit ()

ToolPanel*          panelConfigInit                     ();

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 configuration stuff can be done, such as the auto-reloading.

Returns :

a newly created ToolPanel object.

panelConfigSet_tabView ()

void                panelConfigSet_tabView              (gboolean viewed);

The note can show its tabs or not. Change this with that method.

viewed :

a boolean value.

panelConfigSet_automaticRefresh ()

void                panelConfigSet_automaticRefresh     (VisuRenderingWindow *window,
                                                         int bool);

V_Sim can poll the rendered file at periodic intervals to check if the file has been modified. If true, the file is reloaded. Turn this functionality on or off with this method. See panelConfigSet_refreshPeriod() to tune the period of the polling.

window :

the VisuRenderingWindow to associated the auto refresh ;

bool :

a boolean value.

panelConfigSet_refreshPeriod ()

void                panelConfigSet_refreshPeriod        (VisuRenderingWindow *window,
                                                         float val);

V_Sim can poll the rendered file at periodic intervals. Use this method to tune the period. See panelConfigSet_automaticRefresh() to enable this functionality.

window :

the VisuRenderingWindow to associated the auto refresh ;

val :

a floating point value in milliseconds.