Skip to content
Permalink
Browse files

GLK: FROTZ: Properly erase window when Arthur intro finishes

  • Loading branch information...
dreammaster committed Aug 12, 2019
1 parent 3582fe9 commit c06fd200bdfd05ed1a99791651f5a69722661ef0
Showing with 6 additions and 0 deletions.
  1. +6 −0 engines/glk/frotz/windows.cpp
@@ -217,6 +217,12 @@ void Window::setCursor() {
void Window::clear() {
if (_win)
g_vm->glk_window_clear(_win);

if (_windows->_background) {
Rect r(_properties[X_SIZE] * g_conf->_monoInfo._cellW, _properties[Y_SIZE] * g_conf->_monoInfo._cellH);
r.moveTo((_properties[X_POS] - 1) * g_conf->_monoInfo._cellW, (_properties[Y_POS] - 1) * g_conf->_monoInfo._cellH);
_windows->_background->fillRect(g_conf->_windowColor, r);
}
}

void Window::updateColors() {

0 comments on commit c06fd20

Please sign in to comment.
You can’t perform that action at this time.