diff options
author | Max Horn | 2002-08-21 16:30:39 +0000 |
---|---|---|
committer | Max Horn | 2002-08-21 16:30:39 +0000 |
commit | e03fb646aff785ff0475a14b34dfbcec30b6a8ef (patch) | |
tree | e6e93129fbfba53c3bf169d72f3fad91ef2e4cf0 | |
parent | 7aac293726c78db715724812ab4bf74800d3b7a6 (diff) | |
download | scummvm-rg350-e03fb646aff785ff0475a14b34dfbcec30b6a8ef.tar.gz scummvm-rg350-e03fb646aff785ff0475a14b34dfbcec30b6a8ef.tar.bz2 scummvm-rg350-e03fb646aff785ff0475a14b34dfbcec30b6a8ef.zip |
oops, accidentally checked in a hacked up version of this :-)
svn-id: r4791
-rw-r--r-- | gui/dialog.cpp | 22 | ||||
-rw-r--r-- | gui/dialog.h | 2 |
2 files changed, 2 insertions, 22 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) { diff --git a/gui/dialog.h b/gui/dialog.h index 55fd464a42..0e9b46222a 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -116,8 +116,6 @@ class PauseDialog : public Dialog { public: PauseDialog(NewGui *gui); - virtual void draw(); - virtual void handleMouseDown(int x, int y, int button, int clickCount) { close(); } virtual void handleKeyDown(char key, int modifiers) |