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]
{ Reset(); }
virtual ~MAXScriptPrefs ( ) [inline, virtual]
{ }

Member Function Documentation

void Reset ( ) [inline]
        {
                // MAXScript preference defaults
                loadStartupScripts =            TRUE;
                loadSaveSceneScripts =          TRUE;
                loadSavePersistentGlobals = TRUE;
                font =                                          _M("Courier New");
                fontSize =                                      9;
                initialHeapSize =                       15.0;
                autoOpenListener =                      FALSE;
                enableMacroRecorder =           FALSE;
                showCommandPanelSwitch =        FALSE;
                showToolSelections =            FALSE;
                showMenuSelections =            FALSE;
                absoluteSceneNames =            FALSE;
                absoluteSubObjects =            FALSE;
                absoluteTransforms =            FALSE;
                useFastNodeNameLookup =         TRUE;
                showGCStatus =                          FALSE;
                showEditorPath =                        TRUE;
                useMultiThreadedUsedMacroscriptCompile =        FALSE; // not currently enabled because of gc issues
                logUsedMacroscriptCompiles =                            FALSE;
                preValidateResourceValues =                                     FALSE;
        }
virtual void LoadMAXScriptPreferences ( ) [virtual]
virtual void SaveMAXScriptPreferences ( ) [virtual]

Member Data Documentation