The Dialog class is the class for dialog windows. In these windows, you can set up a graphical user interface for your game.
Performs the dialog's actions. Initalizes, the controls, selects the control, and checks itself. If pItem is specified, that control will be the default
selected control. Otherwise, the first preset selected one is selected. It returns TRUE is the event is claimed, FALSE if otherwise.
Opens the window with theType as it's type and thePriority as it's priority. See kernel NewWindow()
for more information.
Draws the dialog's controls.
If the busy property is FALSE, it disposes of itself. Otherwise, it sets the busy property to FALSE.
Selects the next control in the dialog (ie. when the user presses the tab key).
Selects the previous control in the dialog.
Moves the control theX pixels horizontally, and theY pixels vertically.
Moves the control to the newX and newY positions.
Sets the dialog to the center of the screen (or it's parent window).
Sets the dialog's size based on the controls in it.
Handles the dialogs input. It returns a pointer to the object (control) selected. If none is selected, it returns NULL.
Checks and sets the lastSeconds and seconds properties. It then cues the Dialog if seconds is 0.