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);
33 void saveTab_Joystick();
35 void saveTab_Network();
39 wxDECLARE_EVENT_TABLE();
46 wxComboBox* m_Video_Renderer;
47 wxCheckBox* m_Video_Fullscreen;
48 wxCheckBox* m_Video_MSAA;
49 wxChoice* m_Video_MSAASamples;
50 wxCheckBox* m_Video_ShowFPS;
52 wxComboBox* m_Audio_PlaybackDevice;
53 wxComboBox* m_Audio_CaptureDevice;
54 wxCheckBox* m_Audio_EFX;
55 wxCheckBox* m_Audio_LauncherSounds;
57 wxComboBox* m_Joystick_Device;
58 wxCheckBox* m_Joystick_FF;
59 wxCheckBox* m_Joystick_Directional;
61 wxComboBox* m_Speed_DefaultDetail;
63 wxRadioBox* m_Network_Connection;
64 wxRadioBox* m_Network_Speed;
65 wxTextCtrl* m_Network_Port;
66 unsigned short m_port_validate;
68 void onOk(wxCommandEvent& event);
69 void onToggleMSAA(wxCommandEvent& event);
73 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 );
80 #endif // LAUNCHERSETUP_H