2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
9 #ifndef LAUNCHERSETUP_H
10 #define LAUNCHERSETUP_H
13 #include "wx/wxprec.h"
19 #include "wx/notebook.h"
22 class LauncherSetup : public wxDialog
25 void initTab_Video(wxNotebook* parent);
26 void initTab_Audio(wxNotebook* parent);
27 void initTab_Joystick(wxNotebook* parent);
28 void initTab_Speed(wxNotebook* parent);
29 void initTab_Network(wxNotebook* parent);
30 void initTab_PXO(wxNotebook* parent);
34 void saveTab_Joystick();
36 void saveTab_Network();
41 wxDECLARE_EVENT_TABLE();
48 wxComboBox* m_Video_Renderer;
49 wxCheckBox* m_Video_Fullscreen;
50 wxCheckBox* m_Video_MSAA;
51 wxChoice* m_Video_MSAASamples;
52 wxCheckBox* m_Video_ShowFPS;
54 wxComboBox* m_Audio_PlaybackDevice;
55 wxComboBox* m_Audio_CaptureDevice;
56 wxCheckBox* m_Audio_EFX;
57 wxCheckBox* m_Audio_LauncherSounds;
59 wxComboBox* m_Joystick_Device;
60 wxCheckBox* m_Joystick_FF;
61 wxCheckBox* m_Joystick_Directional;
63 wxComboBox* m_Speed_DefaultDetail;
65 wxRadioBox* m_Network_Connection;
66 wxRadioBox* m_Network_Speed;
67 wxTextCtrl* m_PXO_Login;
68 wxTextCtrl* m_PXO_Password;
69 wxCheckBox* m_SkipVerify;
70 wxCheckBox* m_PXOBanners;
71 wxTextCtrl* m_Network_Port;
72 unsigned short m_port_validate;
74 void onOk(wxCommandEvent& event);
75 void onToggleMSAA(wxCommandEvent& event);
79 LauncherSetup( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Setup"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
86 #endif // LAUNCHERSETUP_H