00001 #if !defined(AFX_CLIENTPAGE_H__AA0B6BBA_3FED_4A49_AB87_E43681192FB9__INCLUDED_) 00002 #define AFX_CLIENTPAGE_H__AA0B6BBA_3FED_4A49_AB87_E43681192FB9__INCLUDED_ 00003 00004 #if _MSC_VER > 1000 00005 #pragma once 00006 #endif // _MSC_VER > 1000 00007 // ClientPage.h : header file 00008 // 00009 #include "Common/Ini.h" 00010 #include "Common/LocalizedString.h" 00011 #include "afxwin.h" 00012 00014 // CClientPage dialog 00015 00016 class CClientPage : public CDialog 00017 { 00018 DECLARE_DYNCREATE(CClientPage) 00019 00020 // Construction 00021 public: 00022 CClientPage(); 00023 CClientPage( KFile& File ); 00024 ~CClientPage(); 00025 00026 void Load(); 00027 void Save(); 00028 void RefreshModList(); 00029 // Dialog Data 00030 //{{AFX_DATA(CClientPage) 00031 enum { IDD = IDD_PAGE_CLIENT }; 00032 CButton m_RadioTexture32; 00033 CButton m_RadioOpenGL; 00034 CButton m_RadioTexture16; 00035 CSpinButtonCtrl m_SpinMipMapLOD; 00036 CButton m_RadioDirect3D; 00037 CComboBox m_ComboMode; 00038 CComboBox m_ComboDevice; 00039 CButton m_CheckFullScreen; 00040 CString m_Name; 00041 float m_MipMapLOD; 00042 CComboBox m_ComboMod; 00043 CButton m_FrenchRadio; 00044 CButton m_EnglishRadio; 00045 CButton m_SpanishRadio; 00046 CButton m_ItalianRadio; 00047 CButton m_GermanRadio; 00048 //}}AFX_DATA 00049 00050 00051 // Overrides 00052 // ClassWizard generate virtual function overrides 00053 //{{AFX_VIRTUAL(CClientPage) 00054 protected: 00055 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00056 //}}AFX_VIRTUAL 00057 00058 // Implementation 00059 protected: 00060 KIni* m_pIni; 00061 // Generated message map functions 00062 //{{AFX_MSG(CClientPage) 00063 virtual BOOL OnInitDialog(); 00064 afx_msg void OnButtonRun(); 00065 //}}AFX_MSG 00066 DECLARE_MESSAGE_MAP() 00067 00068 public: 00069 CString m_LobbyRequestHost; 00070 UINT m_LobbyRequestPort; 00071 }; 00072 00073 //{{AFX_INSERT_LOCATION}} 00074 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00075 00076 #endif // !defined(AFX_CLIENTPAGE_H__AA0B6BBA_3FED_4A49_AB87_E43681192FB9__INCLUDED_)
1.5.1-p1