CGameDialog Class Reference

#include <preferences.h>

Inheritance diagram for CGameDialog:
Inheritance graph
[legend]
Collaboration diagram for CGameDialog:
Collaboration graph
[legend]

Public Member Functions

 CGameDialog ()
virtual ~CGameDialog ()
void Init ()
void Reset ()
GtkWindowBuildDialog ()
void CreateGlobalFrame (PreferencesPage &page)

Data Fields

bool m_bForceLogConsole

Protected Attributes

int m_nComboSelect
 intermediate int value for combo in dialog box

Private Member Functions

CGameDescriptionGameDescriptionForComboItem ()

Detailed Description

standalone dialog for games selection, and more generally global settings

Definition at line 240 of file preferences.h.


Constructor & Destructor Documentation

CGameDialog::CGameDialog (  )  [inline]

Definition at line 262 of file preferences.h.

virtual CGameDialog::~CGameDialog (  )  [virtual]

Member Function Documentation

GtkWindow* CGameDialog::BuildDialog (  )  [virtual]

Dialog API this is only called when the dialog is built at startup for main engine select

Implements Dialog.

void CGameDialog::CreateGlobalFrame ( PreferencesPage page  ) 

construction of the dialog frame this is the part to be re-used in prefs dialog for the standalone dialog, we include this in a modal box for prefs, we hook the frame in the main notebook build the frame on-demand (only once)

CGameDescription* CGameDialog::GameDescriptionForComboItem (  )  [private]

uses m_nComboItem to find the right mGames

void CGameDialog::Init (  ) 
void CGameDialog::Reset (  ) 

reset the global settings by removing the file


Field Documentation

those settings are saved in the global prefs file I'm too lazy to wrap behind protected access, not sure this needs to be public NOTE: those are preference settings. if you change them it is likely that you would have to restart the editor for them to take effect

log console to radiant.log m_bForceLogConsole is an obscure forced latching situation

Definition at line 259 of file preferences.h.

int CGameDialog::m_nComboSelect [mutable, protected]

intermediate int value for combo in dialog box

Definition at line 244 of file preferences.h.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2