diff options
author | Eugene Sandulenko | 2015-12-29 01:46:39 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-29 01:46:39 +0100 |
commit | 0c682799a10ea5e4757399ccf7505be8cae404d7 (patch) | |
tree | 8964305c04cf8de7dee4d7ff955578da0d0191be /engines/wage/gui.cpp | |
parent | 438eb457047f0dee7a4555de91b1ea46c34082e7 (diff) | |
download | scummvm-rg350-0c682799a10ea5e4757399ccf7505be8cae404d7.tar.gz scummvm-rg350-0c682799a10ea5e4757399ccf7505be8cae404d7.tar.bz2 scummvm-rg350-0c682799a10ea5e4757399ccf7505be8cae404d7.zip |
WAGE: Draw checkered background to simulate desktop
Diffstat (limited to 'engines/wage/gui.cpp')
-rw-r--r-- | engines/wage/gui.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 317fcc8a68..4f0532801b 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -59,10 +59,18 @@ enum { kMenuItemHeight = 19 }; +byte checkers[8] = { 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa }; + Gui::Gui() { _scene = NULL; _sceneDirty = true; _screen.create(g_system->getWidth(), g_system->getHeight(), Graphics::PixelFormat::createFormatCLUT8()); + + Patterns p; + p.push_back(checkers); + Common::Rect r(0, 0, _screen.w, _screen.h); + + Design::drawFilledRect(&_screen, r, kColorBlack, p, 1); } Gui::~Gui() { |