aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r--engines/sci/gui/gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 7cf466a642..286de6cf61 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -217,7 +217,7 @@ void SciGui::display(const char *text, int argc, reg_t *argv) {
case SCI_DISPLAY_RESTOREUNDER:
// TODO: get rect from SciMemoryHandle (argv[0])
//rect.translate(-_gfx->GetPort()->left, -_gfx->GetPort()->top);
- _gfx->RestoreBits(argv[0]);
+ _gfx->BitsRestore(argv[0]);
// TODO: ReAnimate(pArgs)
// finishing loop
argc = 0;
@@ -236,7 +236,7 @@ void SciGui::display(const char *text, int argc, reg_t *argv) {
_gfx->Move((orect->left <= _screen->_width ? 0 : _screen->_width - orect->left), (orect->top <= _screen->_height ? 0 : _screen->_height - orect->top)); // move port to (0,0)
rect.moveTo(_gfx->GetPort()->curLeft, _gfx->GetPort()->curTop);
if (doSaveUnder)
- _s->r_acc = _gfx->SaveBits(rect, SCI_SCREEN_MASK_VISUAL);
+ _s->r_acc = _gfx->BitsSave(rect, SCI_SCREEN_MASK_VISUAL);
if (bgcolor != -1)
_gfx->FillRect(rect, SCI_SCREEN_MASK_VISUAL, bgcolor, 0, 0);
_gfx->TextBox(text, 0, rect, align, -1);
@@ -378,11 +378,11 @@ void SciGui::graphDrawLine(Common::Point startPoint, Common::Point endPoint, int
}
reg_t SciGui::graphSaveBox(Common::Rect rect, uint16 flags) {
- return _gfx->SaveBits(rect, flags);
+ return _gfx->BitsSave(rect, flags);
}
void SciGui::graphRestoreBox(reg_t handle) {
- _gfx->RestoreBits(handle);
+ _gfx->BitsRestore(handle);
_screen->copyToScreen();
}