diff options
author | Paul Gilbert | 2016-05-01 09:46:25 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:59 -0400 |
commit | 21f98fff46e48e79d3e977d4f20edf90022a825a (patch) | |
tree | eda28f9980211f0ba47be754d5def1cf168655a8 /engines/titanic/support | |
parent | 6b97394ebd577326c8818cfa02b08c119beab8c0 (diff) | |
download | scummvm-rg350-21f98fff46e48e79d3e977d4f20edf90022a825a.tar.gz scummvm-rg350-21f98fff46e48e79d3e977d4f20edf90022a825a.tar.bz2 scummvm-rg350-21f98fff46e48e79d3e977d4f20edf90022a825a.zip |
TITANIC: Fix cursor and entering text in PET Conversations area
Diffstat (limited to 'engines/titanic/support')
-rw-r--r-- | engines/titanic/support/screen_manager.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/support/text_cursor.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/support/screen_manager.cpp b/engines/titanic/support/screen_manager.cpp index 1a43d78dd0..b0e249d7b3 100644 --- a/engines/titanic/support/screen_manager.cpp +++ b/engines/titanic/support/screen_manager.cpp @@ -116,7 +116,9 @@ void OSScreenManager::setMode(int width, int height, int bpp, uint numBackSurfac } void OSScreenManager::drawCursors() { - // Nothing needed here, since ScummVM handles cursor drawing + // The original did both text and mouse cursor drawing here. + // For ScummVM, we only need to worry about the text cursor + _textCursor->draw(); } DirectDrawSurface *OSScreenManager::getDDSurface(SurfaceNum surfaceNum) { diff --git a/engines/titanic/support/text_cursor.cpp b/engines/titanic/support/text_cursor.cpp index dc78d5350d..ad3fe4ed26 100644 --- a/engines/titanic/support/text_cursor.cpp +++ b/engines/titanic/support/text_cursor.cpp @@ -80,10 +80,8 @@ void CTextCursor::draw() { _backRenderSurface->_ddSurface->fillRect(&cursorRect, _cursorR, _cursorG, _cursorB); } - } - - if (_active && _blinkVisible) { - _screenManager->blitFrom(SURFACE_BACKBUFFER, _surface, &_pos); + + //_screenManager->blitFrom(SURFACE_BACKBUFFER, _surface, &_pos); } } |