From e03fb646aff785ff0475a14b34dfbcec30b6a8ef Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 21 Aug 2002 16:30:39 +0000 Subject: oops, accidentally checked in a hacked up version of this :-) svn-id: r4791 --- gui/dialog.cpp | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'gui/dialog.cpp') 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) { -- cgit v1.2.3