MAXScriptPrefs Class Reference

MAXScriptPrefs Class Reference

#include <maxscript.h>

Public Member Functions

 MAXScriptPrefs ()
 
virtual ~MAXScriptPrefs ()
 
void Reset ()
 
virtual void LoadMAXScriptPreferences ()
 
virtual void SaveMAXScriptPreferences ()
 

Public Attributes

int loadStartupScripts
 
int loadSaveSceneScripts
 
int loadSavePersistentGlobals
 
MSTR font
 
int fontSize
 
int autoOpenListener
 
float initialHeapSize
 
int enableMacroRecorder
 
int showCommandPanelSwitch
 
int showToolSelections
 
int showMenuSelections
 
int absoluteSceneNames
 
int absoluteSubObjects
 
int absoluteTransforms
 
int useFastNodeNameLookup
 
int showGCStatus
 
int showEditorPath
 
int useMultiThreadedUsedMacroscriptCompile
 
int logUsedMacroscriptCompiles
 
int preValidateResourceValues
 

Constructor & Destructor Documentation

MAXScriptPrefs ( )
inline
452 { Reset(); }
void Reset()
Definition: maxscript.h:454
virtual ~MAXScriptPrefs ( )
inlinevirtual
453 { }

Member Function Documentation

void Reset ( )
inline
455  {
456  // MAXScript preference defaults
457  loadStartupScripts = TRUE;
458  loadSaveSceneScripts = TRUE;
460  font = _M("Courier New");
461  fontSize = 9;
462  initialHeapSize = 15.0;
463  autoOpenListener = FALSE;
464  enableMacroRecorder = FALSE;
465  showCommandPanelSwitch = FALSE;
466  showToolSelections = FALSE;
467  showMenuSelections = FALSE;
468  absoluteSceneNames = FALSE;
469  absoluteSubObjects = FALSE;
470  absoluteTransforms = FALSE;
471  useFastNodeNameLookup = TRUE;
472  showGCStatus = FALSE;
473  showEditorPath = TRUE;
474  useMultiThreadedUsedMacroscriptCompile = FALSE; // not currently enabled because of gc issues
477  }
int loadSavePersistentGlobals
Definition: maxscript.h:433
int loadSaveSceneScripts
Definition: maxscript.h:432
int showMenuSelections
Definition: maxscript.h:441
int logUsedMacroscriptCompiles
Definition: maxscript.h:449
int showEditorPath
Definition: maxscript.h:447
int autoOpenListener
Definition: maxscript.h:436
MSTR font
Definition: maxscript.h:434
int preValidateResourceValues
Definition: maxscript.h:450
int showGCStatus
Definition: maxscript.h:446
int enableMacroRecorder
Definition: maxscript.h:438
int absoluteSceneNames
Definition: maxscript.h:442
int loadStartupScripts
Definition: maxscript.h:431
int absoluteSubObjects
Definition: maxscript.h:443
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
int showToolSelections
Definition: maxscript.h:440
int useMultiThreadedUsedMacroscriptCompile
Definition: maxscript.h:448
int useFastNodeNameLookup
Definition: maxscript.h:445
int fontSize
Definition: maxscript.h:435
float initialHeapSize
Definition: maxscript.h:437
int showCommandPanelSwitch
Definition: maxscript.h:439
int absoluteTransforms
Definition: maxscript.h:444
virtual void LoadMAXScriptPreferences ( )
virtual
virtual void SaveMAXScriptPreferences ( )
virtual

Member Data Documentation

int loadStartupScripts
int loadSaveSceneScripts
int loadSavePersistentGlobals
MSTR font
int fontSize
int autoOpenListener
float initialHeapSize
int enableMacroRecorder
int showCommandPanelSwitch
int showToolSelections
int showMenuSelections
int absoluteSceneNames
int absoluteSubObjects
int absoluteTransforms
int useFastNodeNameLookup
int showGCStatus
int showEditorPath
int useMultiThreadedUsedMacroscriptCompile
int logUsedMacroscriptCompiles
int preValidateResourceValues