VideoUICommon: Add descriptive tooltips to many options, part 1.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6525 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX
2010-12-05 14:37:21 +00:00
parent f3d6b42e83
commit 9dae1e9674
2 changed files with 87 additions and 45 deletions

View File

@ -21,7 +21,7 @@ template <typename W>
class BoolSetting : public W
{
public:
BoolSetting(wxWindow* parent, const wxString& label, bool &setting, bool reverse = false, long style = 0);
BoolSetting(wxWindow* parent, const wxString& label, const wxString& tooltip, bool &setting, bool reverse = false, long style = 0);
void UpdateValue(wxCommandEvent& ev)
{
@ -39,7 +39,7 @@ typedef BoolSetting<wxRadioButton> SettingRadioButton;
class SettingChoice : public wxChoice
{
public:
SettingChoice(wxWindow* parent, int &setting, int num = 0, const wxString choices[] = NULL);
SettingChoice(wxWindow* parent, int &setting, const wxString& tooltip, int num = 0, const wxString choices[] = NULL);
void UpdateValue(wxCommandEvent& ev);
private:
int &m_setting;