Started to prepare the gui for runtime resolution switches.

(some little things could be missing yet though)

svn-id: r22017
This commit is contained in:
Johannes Schickel 2006-04-19 01:05:28 +00:00
parent ec7e734adb
commit 30787714d3
20 changed files with 255 additions and 37 deletions

View file

@ -446,6 +446,19 @@ void OptionsDialog::addVolumeControls(GuiObject *boss, String prefix) {
_enableVolumeSettings = true;
}
void OptionsDialog::handleScreenChanged() {
Dialog::handleScreenChanged();
int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW");
if (_midiPopUp)
_midiPopUp->changeLabelWidth(labelWidth);
if (_gfxPopUp)
_gfxPopUp->changeLabelWidth(labelWidth);
if (_renderModePopUp)
_renderModePopUp->changeLabelWidth(labelWidth);
}
#pragma mark -