Initial revision

svn-id: r4785
This commit is contained in:
Max Horn 2002-08-21 16:07:07 +00:00
parent 662256f25d
commit ce46866403
160 changed files with 248 additions and 367 deletions

View file

@ -28,7 +28,7 @@
#include "ListWidget.h"
#include "config-file.h"
#include "sound/mididrv.h"
#include "sound/imuse.h"
#include "scumm/imuse.h"
/*
* TODO list
@ -407,11 +407,29 @@ AboutDialog::AboutDialog(NewGui *gui)
}
PauseDialog::PauseDialog(NewGui *gui)
: Dialog (gui, 50, 80, 220, 16)
: Dialog (gui, 60, 20, 100, 100)
{
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)
{