WAGE: Draw console window border.
This commit is contained in:
parent
97c17ed199
commit
1c3560cd65
1 changed files with 6 additions and 1 deletions
|
@ -87,11 +87,16 @@ void Gui::draw() {
|
|||
if (_scene != NULL && _sceneDirty) {
|
||||
_scene->paint(&_screen, 0, kMenuHeight);
|
||||
paintBorder(&_screen, 0, kMenuHeight, _scene->_design->getBounds()->width(), _scene->_design->getBounds()->height(),
|
||||
true, true, true, false);
|
||||
false, false, false, false);
|
||||
|
||||
_sceneDirty = false;
|
||||
}
|
||||
|
||||
int sceneW = _scene->_design->getBounds()->width();
|
||||
paintBorder(&_screen, sceneW, kMenuHeight, _screen.w - sceneW, _scene->_design->getBounds()->height(),
|
||||
true, true, true, false);
|
||||
|
||||
|
||||
g_system->copyRectToScreen(_screen.getPixels(), _screen.pitch, 0, 0, _screen.w, _screen.h);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue