Isle
|
The main dialog window for the LEGO Island configuration program (config.exe). More...
#include <MainDlg.h>
Public Types | |
enum | { IDD = IDD_MAIN } |
Public Member Functions | |
CMainDialog (CWnd *pParent) | |
Construct a new CMainDialog object. More... | |
Protected Member Functions | |
void | DoDataExchange (CDataExchange *pDX) override |
DDX (Dialog Data Exchange) for MFC controls. More... | |
void | UpdateInterface () |
Refreshes the dialog interface according to current configuration settings. More... | |
void | SwitchToAdvanced (BOOL p_advanced) |
Switches UI layout between basic and advanced configuration. More... | |
BOOL | OnInitDialog () override |
Initialize dialog upon creation. More... | |
void | OnSysCommand (UINT nID, LPARAM lParam) |
MFC handler for system commands (such as About box invocation). More... | |
void | OnPaint () |
Handles dialog paint (redraw). More... | |
HCURSOR | OnQueryDragIcon () |
Returns handle to drag icon when dragging minimized window. More... | |
void | OnList3DevicesSelectionChanged () |
Handles selection changes in the list of 3D devices. More... | |
void | OnCancel () |
Handles dialog cancellation and executes clean-up (if needed). More... | |
void | OnDestroy () |
Handles destruction/closing of the dialog window (WM_DESTROY handler). More... | |
void | OnButtonCancel () |
Processes 'Cancel' button press (IDABORT), optionally writes settings before exit. More... | |
void | OnCheckbox3DSound () |
Handler for '3D sound' checkbox toggle. More... | |
void | OnCheckbox3DVideoMemory () |
Handler for '3D video memory' checkbox toggle. More... | |
void | OnRadiobuttonPalette16bit () |
Handler for '16-bit palette' radio button. More... | |
void | OnRadiobuttonPalette256 () |
Handler for '256-color palette' radio button. More... | |
void | OnCheckboxFlipVideoMemPages () |
Handler for 'Flip video memory pages' checkbox. More... | |
void | OnRadiobuttonModelLowQuality () |
Handler for 'Low quality model' radio button. More... | |
void | OnRadiobuttonModelHighQuality () |
Handler for 'High quality model' radio button. More... | |
void | OnRadiobuttonTextureLowQuality () |
Handler for 'Low quality texture' radio button. More... | |
void | OnRadiobuttonTextureHighQuality () |
Handler for 'High quality texture' radio button. More... | |
void | OnCheckboxJoystick () |
Handler for 'Joystick' checkbox toggle. More... | |
void | OnButtonAdvanced () |
Handler for 'Advanced' button. More... | |
void | OnCheckboxDrawCursor () |
Handler for 'Draw cursor' checkbox toggle. More... | |
void | OnCheckboxMusic () |
Handler for 'Music' checkbox toggle. More... | |
Protected Attributes | |
undefined | m_unk0x60 [4] |
Internal/unknown member. Purpose unclear, contains 4 bytes of undefined data. [AI] [AI_SUGGESTED_NAME: m_paddingOrUnknown]. More... | |
HCURSOR | m_icon |
Handle to the dialog's icon (used for window/taskbar and drag). [AI]. More... | |
BOOL | m_modified |
Whether any configuration setting has been modified and needs to be saved. [AI]. More... | |
BOOL | m_advanced |
Whether the dialog is in advanced mode. [AI]. More... | |
The main dialog window for the LEGO Island configuration program (config.exe).
[AI]
CMainDialog is the primary UI dialog for configuring graphics, sound, input and other options, representing the main property sheet of the configuration tool. Inherits from MFC's CDialog. [AI]
anonymous enum |
CMainDialog::CMainDialog | ( | CWnd * | pParent | ) |
Construct a new CMainDialog object.
[AI]
pParent | Parent window pointer for dialog initialization. [AI] |
Definition at line 13 of file MainDlg.cpp.
|
overrideprotected |
DDX (Dialog Data Exchange) for MFC controls.
[AI]
Called by MFC to transfer data between UI controls and member variables. [AI]
pDX | Data exchange context for controls. [AI] |
Definition at line 20 of file MainDlg.cpp.
|
protected |
Handler for 'Advanced' button.
Toggles the dialog between basic and advanced settings views. [AI]
Definition at line 304 of file MainDlg.cpp.
|
protected |
Processes 'Cancel' button press (IDABORT), optionally writes settings before exit.
[AI]
Definition at line 163 of file MainDlg.cpp.
|
protected |
Handles dialog cancellation and executes clean-up (if needed).
[AI]
Definition at line 151 of file MainDlg.cpp.
|
protected |
Handler for '3D sound' checkbox toggle.
Enables/disables 3D sound. [AI]
Definition at line 224 of file MainDlg.cpp.
|
protected |
Handler for '3D video memory' checkbox toggle.
Enables/disables 3D acceleration in VRAM. [AI]
Definition at line 232 of file MainDlg.cpp.
|
protected |
Handler for 'Draw cursor' checkbox toggle.
Enables/disables drawing hardware cursor. [AI]
Definition at line 333 of file MainDlg.cpp.
|
protected |
Handler for 'Flip video memory pages' checkbox.
Enables page flipping in VRAM. [AI]
Definition at line 256 of file MainDlg.cpp.
|
protected |
Handler for 'Joystick' checkbox toggle.
Enables or disables joystick as input device. [AI]
Definition at line 296 of file MainDlg.cpp.
|
protected |
Handler for 'Music' checkbox toggle.
Enables/disables in-game music. [AI]
Definition at line 341 of file MainDlg.cpp.
|
protected |
Handles destruction/closing of the dialog window (WM_DESTROY handler).
[AI]
Definition at line 157 of file MainDlg.cpp.
|
overrideprotected |
Initialize dialog upon creation.
[AI]
Definition at line 47 of file MainDlg.cpp.
|
protected |
Handles selection changes in the list of 3D devices.
[AI]
Updates currently selected 3D device and enables/disables relevant controls. [AI]
Definition at line 132 of file MainDlg.cpp.
|
protected |
Handles dialog paint (redraw).
Shows icon if minimized. [AI]
Definition at line 106 of file MainDlg.cpp.
|
protected |
Returns handle to drag icon when dragging minimized window.
[AI]
Definition at line 126 of file MainDlg.cpp.
|
protected |
Handler for 'High quality model' radio button.
Selects high polygon/LOD model mode. [AI]
Definition at line 272 of file MainDlg.cpp.
|
protected |
Handler for 'Low quality model' radio button.
Selects low polygon/LOD model mode. [AI]
Definition at line 264 of file MainDlg.cpp.
|
protected |
Handler for '16-bit palette' radio button.
Selects 16-bit display mode. [AI]
Definition at line 240 of file MainDlg.cpp.
|
protected |
Handler for '256-color palette' radio button.
Selects 256-color (8-bit) display mode. [AI]
Definition at line 248 of file MainDlg.cpp.
|
protected |
Handler for 'High quality texture' radio button.
Selects highest quality textures. [AI]
Definition at line 288 of file MainDlg.cpp.
|
protected |
Handler for 'Low quality texture' radio button.
Selects reduced quality textures. [AI]
Definition at line 280 of file MainDlg.cpp.
|
protected |
MFC handler for system commands (such as About box invocation).
[AI]
nID | Command identifier. [AI] |
lParam | Command parameter. [AI] |
Definition at line 94 of file MainDlg.cpp.
|
protected |
Switches UI layout between basic and advanced configuration.
[AI]
p_advanced | If TRUE, shows advanced options; otherwise shows basic view. [AI] |
Definition at line 310 of file MainDlg.cpp.
|
protected |
Refreshes the dialog interface according to current configuration settings.
[AI]
Updates checkboxes, radio buttons and enables/disables controls depending on current state. [AI]
Definition at line 172 of file MainDlg.cpp.
|
protected |
|
protected |
|
protected |
|
protected |