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

Member Function Documentation

void Reset ( )
inline
482  {
483  // MAXScript preference defaults
484  loadStartupScripts = TRUE;
485  loadSaveSceneScripts = TRUE;
487  font = _M("Courier New");
488  fontSize = 9;
489  initialHeapSize = 15.0;
490  autoOpenListener = FALSE;
491  enableMacroRecorder = FALSE;
492  showCommandPanelSwitch = FALSE;
493  showToolSelections = FALSE;
494  showMenuSelections = FALSE;
495  absoluteSceneNames = FALSE;
496  absoluteSubObjects = FALSE;
497  absoluteTransforms = FALSE;
498  useFastNodeNameLookup = TRUE;
499  showGCStatus = FALSE;
500  showEditorPath = TRUE;
501  useMultiThreadedUsedMacroscriptCompile = FALSE; // not currently enabled because of gc issues
504  }
int loadSavePersistentGlobals
Definition: maxscript.h:460
int loadSaveSceneScripts
Definition: maxscript.h:459
int showMenuSelections
Definition: maxscript.h:468
int logUsedMacroscriptCompiles
Definition: maxscript.h:476
int showEditorPath
Definition: maxscript.h:474
int autoOpenListener
Definition: maxscript.h:463
MSTR font
Definition: maxscript.h:461
int preValidateResourceValues
Definition: maxscript.h:477
int showGCStatus
Definition: maxscript.h:473
int enableMacroRecorder
Definition: maxscript.h:465
int absoluteSceneNames
Definition: maxscript.h:469
int loadStartupScripts
Definition: maxscript.h:458
int absoluteSubObjects
Definition: maxscript.h:470
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67
int showToolSelections
Definition: maxscript.h:467
int useMultiThreadedUsedMacroscriptCompile
Definition: maxscript.h:475
int useFastNodeNameLookup
Definition: maxscript.h:472
int fontSize
Definition: maxscript.h:462
float initialHeapSize
Definition: maxscript.h:464
int showCommandPanelSwitch
Definition: maxscript.h:466
int absoluteTransforms
Definition: maxscript.h:471
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