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
440 { Reset(); }
void Reset()
Definition: maxscript.h:442
virtual ~MAXScriptPrefs ( )
inlinevirtual
441 { }

Member Function Documentation

void Reset ( )
inline
443  {
444  // MAXScript preference defaults
445  loadStartupScripts = TRUE;
446  loadSaveSceneScripts = TRUE;
448  font = _M("Courier New");
449  fontSize = 9;
450  initialHeapSize = 15.0;
451  autoOpenListener = FALSE;
452  enableMacroRecorder = FALSE;
453  showCommandPanelSwitch = FALSE;
454  showToolSelections = FALSE;
455  showMenuSelections = FALSE;
456  absoluteSceneNames = FALSE;
457  absoluteSubObjects = FALSE;
458  absoluteTransforms = FALSE;
459  useFastNodeNameLookup = TRUE;
460  showGCStatus = FALSE;
461  showEditorPath = TRUE;
462  useMultiThreadedUsedMacroscriptCompile = FALSE; // not currently enabled because of gc issues
465  }
int loadSavePersistentGlobals
Definition: maxscript.h:421
int loadSaveSceneScripts
Definition: maxscript.h:420
int showMenuSelections
Definition: maxscript.h:429
int logUsedMacroscriptCompiles
Definition: maxscript.h:437
int showEditorPath
Definition: maxscript.h:435
int autoOpenListener
Definition: maxscript.h:424
MSTR font
Definition: maxscript.h:422
int preValidateResourceValues
Definition: maxscript.h:438
int showGCStatus
Definition: maxscript.h:434
int enableMacroRecorder
Definition: maxscript.h:426
int absoluteSceneNames
Definition: maxscript.h:430
int loadStartupScripts
Definition: maxscript.h:419
int absoluteSubObjects
Definition: maxscript.h:431
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:69
int showToolSelections
Definition: maxscript.h:428
int useMultiThreadedUsedMacroscriptCompile
Definition: maxscript.h:436
int useFastNodeNameLookup
Definition: maxscript.h:433
int fontSize
Definition: maxscript.h:423
float initialHeapSize
Definition: maxscript.h:425
int showCommandPanelSwitch
Definition: maxscript.h:427
int absoluteTransforms
Definition: maxscript.h:432
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