settingsUI object | misc.t[2350]

The settings user interface. This is a subclass of the Settings Manager that adds a command-line user interface, particularly to allow the user to view, save, and load the default settings.

Our user interface consists mainly of a pair of special commands: SAVE DEFAULTS and RESTORE DEFAULTS. The SAVE DEFAULTS command tells the library to write out all of the current settings (at least, all of those that participate in this framework) to a file. RESTORE DEFAULTS explicitly reads that same file and puts the stored settings into effect. Finally, we'll also read the file and activate its stored settings when we start (or RESTART) the game.

`settingsUI : settingsManager`

Superclass Tree (in declaration order)

`settingsUI`
`settingsManager`
`object`

Summary of Properties

``

``

(none)

Summary of Methods

`restoreSettingsMsg saveSettingsMsg showAll`

Inherited from `settingsManager` :
`restoreSettings retrieveSettings saveSettings storeSettings`

Properties

(none)

Methods

`restoreSettingsMsg ( )` | `misc.t[2401]`

Restore settings, and display an acknowledgment or error message, as appropriate.

`saveSettingsMsg ( )` | `misc.t[2379]`

Save settings, and display an acknowledgment message (or an error message, if necessary) for the user's edification.

`showAll ( )` | `misc.t[2352]`

display all of the current settings

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3