[Scummvm-git-logs] scummvm master -> 1f6232796927e2261a7c284cd3ba5502cf4144f0
dreammaster
paulfgilbert at gmail.com
Wed Jun 10 04:31:26 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1f62327969 GLK: COMPREHEND: Adjust display of text area
Commit: 1f6232796927e2261a7c284cd3ba5502cf4144f0
https://github.com/scummvm/scummvm/commit/1f6232796927e2261a7c284cd3ba5502cf4144f0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-06-09T21:21:18-07:00
Commit Message:
GLK: COMPREHEND: Adjust display of text area
Changed paths:
engines/glk/comprehend/comprehend.cpp
diff --git a/engines/glk/comprehend/comprehend.cpp b/engines/glk/comprehend/comprehend.cpp
index 33a7abc464..6bb8ab182a 100644
--- a/engines/glk/comprehend/comprehend.cpp
+++ b/engines/glk/comprehend/comprehend.cpp
@@ -79,6 +79,7 @@ void Comprehend::initialize() {
// Set up the GLK windows
g_conf->_wMarginX = 0;
g_conf->_wMarginY = 0;
+ g_conf->_tMarginY = 4;
_bottomWindow = (TextBufferWindow *)glk_window_open(0, 0, 0, wintype_TextBuffer, 1);
_topWindow = (GraphicsWindow *)glk_window_open(_bottomWindow,
@@ -88,6 +89,12 @@ void Comprehend::initialize() {
glk_set_window(_bottomWindow);
_topWindow->fillRect(0, Rect(0, 0, _topWindow->_w, _topWindow->_h));
+ Graphics::PixelFormat pixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0);
+ _bottomWindow->_stream->setZColors(
+ pixelFormat.RGBToColor(0xff, 0xff, 0xff),
+ pixelFormat.RGBToColor(0, 0, 0)
+ );
+
// Initialize drawing surface, and the archive that abstracts
// the room and item graphics as as individual files
_drawSurface = new DrawSurface();
More information about the Scummvm-git-logs
mailing list