Put volume controls conditionally into separate tab. Used by PSP theme.
svn-id: r22775
This commit is contained in:
parent
b6a56e0795
commit
b13e157c16
3 changed files with 26 additions and 11 deletions
|
@ -610,11 +610,18 @@ GlobalOptionsDialog::GlobalOptionsDialog()
|
|||
//
|
||||
tab->addTab("Audio");
|
||||
addAudioControls(tab, "globaloptions_");
|
||||
|
||||
int volControlPos = g_gui.evaluator()->getVar("volumeControlsInAudio", true);
|
||||
|
||||
if (volControlPos)
|
||||
addVolumeControls(tab, "globaloptions_");
|
||||
|
||||
addSubtitleControls(tab, "globaloptions_");
|
||||
|
||||
|
||||
tab->addTab("Volume");
|
||||
addVolumeControls(tab, "globaloptions_");
|
||||
if (!volControlPos) {
|
||||
tab->addTab("Volume");
|
||||
addVolumeControls(tab, "globaloptions_");
|
||||
}
|
||||
|
||||
// TODO: cd drive setting
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue