mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
VideoConfig: Rename StereoFocalLength to StereoConvergence.
This commit is contained in:
@ -1135,13 +1135,13 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
||||
}
|
||||
else if (IsHotkey(event, HK_INCREASE_CONVERGENCE))
|
||||
{
|
||||
if (++g_Config.iStereoFocalLength > 200)
|
||||
g_Config.iStereoFocalLength = 200;
|
||||
if (++g_Config.iStereoConvergence > 200)
|
||||
g_Config.iStereoConvergence = 200;
|
||||
}
|
||||
else if (IsHotkey(event, HK_DECREASE_CONVERGENCE))
|
||||
{
|
||||
if (--g_Config.iStereoFocalLength < 10)
|
||||
g_Config.iStereoFocalLength = 10;
|
||||
if (--g_Config.iStereoConvergence < 10)
|
||||
g_Config.iStereoConvergence = 10;
|
||||
}
|
||||
|
||||
else
|
||||
|
@ -465,7 +465,7 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
|
||||
szr_stereo->Add(new wxStaticText(page_enh, wxID_ANY, _("Separation:")), 1, wxALIGN_CENTER_VERTICAL, 0);
|
||||
szr_stereo->Add(sep_slider, 0, wxEXPAND | wxRIGHT);
|
||||
|
||||
wxSlider* const conv_slider = new wxSlider(page_enh, wxID_ANY, vconfig.iStereoFocalLength, 10, 200, wxDefaultPosition, wxDefaultSize);
|
||||
wxSlider* const conv_slider = new wxSlider(page_enh, wxID_ANY, vconfig.iStereoConvergence, 10, 200, wxDefaultPosition, wxDefaultSize);
|
||||
conv_slider->Bind(wxEVT_SLIDER, &VideoConfigDiag::Event_StereoFoc, this);
|
||||
RegisterControl(conv_slider, wxGetTranslation(stereo_convergence_desc));
|
||||
|
||||
|
@ -174,7 +174,7 @@ protected:
|
||||
|
||||
void Event_StereoFoc(wxCommandEvent &ev)
|
||||
{
|
||||
vconfig.iStereoFocalLength = ev.GetInt();
|
||||
vconfig.iStereoConvergence = ev.GetInt();
|
||||
|
||||
ev.Skip();
|
||||
}
|
||||
|
Reference in New Issue
Block a user