diff options
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r-- | gui/dialog.cpp | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 71b55f8c80..ecc444b71d 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -28,7 +28,7 @@ #include "ListWidget.h" #include "config-file.h" #include "sound/mididrv.h" -#include "scumm/imuse.h" +#include "sound/imuse.h" /* * TODO list @@ -407,29 +407,11 @@ AboutDialog::AboutDialog(NewGui *gui) } PauseDialog::PauseDialog(NewGui *gui) - : Dialog (gui, 60, 20, 100, 100) + : Dialog (gui, 50, 80, 220, 16) { addResText(4, 4, 220, 16, 10); } -void PauseDialog::draw() -{ - if (_screenBuf) { - _gui->blitFrom(_screenBuf, _x, _y, _w, _h); - } else { - _gui->fillRect(_x, _y, _w, _h, _gui->_bgcolor); - _gui->box(_x, _y, _w, _h); - } - _gui->addDirtyRect(_x, _y, _w, _h); - - _gui->frameRect(10 + _x, 15 + _y, 100, 100, _gui->_color); - for (int y = 0; y < 16; ++y) - for (int x = 0; x < 16; ++x) - _gui->fillRect(10 + _x + x*5, 15 + _y + y*5, 5, 5, y*16 + x); - - -} - SoundDialog::SoundDialog(NewGui *gui) : Dialog (gui, 30, 20, 260, 110) { |