diff options
author | Eugene Sandulenko | 2006-05-26 01:49:56 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-05-26 01:49:56 +0000 |
commit | 5fee4afc32e042893c90623d89c8d4d8e1857665 (patch) | |
tree | 987279fe1f511ab29f857f2331f0679ff7a384ca /engines/scumm | |
parent | 12461c3ca0e0c971f4cdf2ba255c37568208dc94 (diff) | |
download | scummvm-rg350-5fee4afc32e042893c90623d89c8d4d8e1857665.tar.gz scummvm-rg350-5fee4afc32e042893c90623d89c8d4d8e1857665.tar.bz2 scummvm-rg350-5fee4afc32e042893c90623d89c8d4d8e1857665.zip |
- Put scrollbar inside of list widget
- Use resize() instead of setPos() and setSize() where applicable
svn-id: r22646
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/dialogs.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp index fc13013c2b..12c034d835 100644 --- a/engines/scumm/dialogs.cpp +++ b/engines/scumm/dialogs.cpp @@ -748,10 +748,8 @@ void HelpDialog::handleScreenChanged() { int dscH = g_gui.evaluator()->getVar("scummhelp_dsc.h"); for (int i = 0; i < HELP_NUM_LINES; i++) { - _key[i]->setPos(keyX, keyYoff + lineHeight * (i + 2)); - _key[i]->setSize(keyW, keyH); - _dsc[i]->setPos(dscX, dscYoff + lineHeight * (i + 2)); - _dsc[i]->setSize(dscW, dscH); + _key[i]->resize(keyX, keyYoff + lineHeight * (i + 2), keyW, keyH); + _dsc[i]->resize(dscX, dscYoff + lineHeight * (i + 2), dscW, dscH); } displayKeyBindings(); |