![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
ToolPanel* panelConfigInit (); void panelConfigSet_refreshPeriod (RenderingWindow *window, float val); void panelConfigSet_tabView (gboolean viewed); void panelConfigSet_automaticRefresh (RenderingWindow *window, int bool);
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. |
void panelConfigSet_refreshPeriod (RenderingWindow *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.
|
the RenderingWindow to associated the auto refresh ; |
|
a floating point value in milliseconds. |
void panelConfigSet_tabView (gboolean viewed);
The note can show its tabs or not. Change this with that method.
|
a boolean value. |
void panelConfigSet_automaticRefresh (RenderingWindow *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.
|
the RenderingWindow to associated the auto refresh ; |
|
a boolean value. |