1 // Copyright (C) 2003 Dolphin Project.
3 // This program is free software: you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation, version 2.0.
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 // GNU General Public License 2.0 for more details.
12 // A copy of the GPL 2.0 should have been included with the program.
13 // If not, see http://www.gnu.org/licenses/
15 // Official SVN repository and contact information can be found at
16 // http://code.google.com/p/dolphin-emu/
18 #ifndef __DSP_LLE_CONFIGDIALOG_h__
19 #define __DSP_LLE_CONFIGDIALOG_h__
22 #include <wx/dialog.h>
23 #include <wx/button.h>
24 #include <wx/statbox.h>
25 #include "AudioCommon.h"
27 class DSPConfigDialogLLE
: public wxDialog
30 DSPConfigDialogLLE(wxWindow
*parent
,
31 wxWindowID id
= wxID_ANY
,
32 const wxString
&title
= wxT("Dolphin DSP-LLE Plugin Settings"),
33 const wxPoint
& pos
= wxDefaultPosition
,
34 const wxSize
& size
= wxDefaultSize
,
35 long style
= wxDEFAULT_DIALOG_STYLE
);
36 virtual ~DSPConfigDialogLLE();
37 void AddBackend(const char *backend
);
41 DECLARE_EVENT_TABLE();
43 wxSlider
*m_volumeSlider
;
44 wxStaticText
*m_volumeText
;
46 wxCheckBox
*m_buttonEnableDTKMusic
;
47 wxCheckBox
*m_buttonEnableThrottle
;
48 wxCheckBox
*m_buttonEnableJIT
;
49 wxArrayString wxArrayBackends
;
50 wxChoice
*m_BackendSelection
;
61 void OnOK(wxCommandEvent
& event
);
62 void SettingsChanged(wxCommandEvent
& event
);
63 void VolumeChanged(wxScrollEvent
& event
);
64 bool SupportsVolumeChanges(std::string backend
);
65 void BackendChanged(wxCommandEvent
& event
);
68 #endif //__DSP_LLE_CONFIGDIALOG_h__