aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/gui-console.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-28 11:28:55 +0200
committerEugene Sandulenko2016-04-28 11:28:55 +0200
commit6998182b1fef719499ab8b19d415d1a24dd7d908 (patch)
tree8f0d5892bff4cd6d13b2eea103ffe1384d522c4c /engines/wage/gui-console.cpp
parent367946f83b5688490bb40c54bb884df4dac3c11e (diff)
downloadscummvm-rg350-6998182b1fef719499ab8b19d415d1a24dd7d908.tar.gz
scummvm-rg350-6998182b1fef719499ab8b19d415d1a24dd7d908.tar.bz2
scummvm-rg350-6998182b1fef719499ab8b19d415d1a24dd7d908.zip
WAGE: Moved pattern and palette to WM
Diffstat (limited to 'engines/wage/gui-console.cpp')
-rw-r--r--engines/wage/gui-console.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wage/gui-console.cpp b/engines/wage/gui-console.cpp
index 9c89c2721f..ef494bf25d 100644
--- a/engines/wage/gui-console.cpp
+++ b/engines/wage/gui-console.cpp
@@ -198,7 +198,7 @@ void Gui::renderConsole(Graphics::ManagedSurface *g, const Common::Rect &r) {
color = kColorWhite;
Common::Rect trect(0, y1, _console.w, y1 + _consoleLineHeight);
- Design::drawFilledRect(&_console, trect, kColorBlack, _patterns, kPatternSolid);
+ Design::drawFilledRect(&_console, trect, kColorBlack, _wm.getPatterns(), kPatternSolid);
}
if (line == _selectionStartY || line == _selectionEndY) {
@@ -225,7 +225,7 @@ void Gui::renderConsole(Graphics::ManagedSurface *g, const Common::Rect &r) {
else
trect.left = rectW;
- Design::drawFilledRect(&_console, trect, kColorBlack, _patterns, kPatternSolid);
+ Design::drawFilledRect(&_console, trect, kColorBlack, _wm.getPatterns(), kPatternSolid);
font->drawString(&_console, beg, x1, y1, textW, color1);
font->drawString(&_console, end, x1 + rectW - kConWPadding - kConWOverlap, y1, textW, color2);
@@ -244,7 +244,7 @@ void Gui::renderConsole(Graphics::ManagedSurface *g, const Common::Rect &r) {
int rectW2 = rectW1 + font->getStringWidth(mid);
Common::Rect trect(rectW1, y1, rectW2, y1 + _consoleLineHeight);
- Design::drawFilledRect(&_console, trect, kColorBlack, _patterns, kPatternSolid);
+ Design::drawFilledRect(&_console, trect, kColorBlack, _wm.getPatterns(), kPatternSolid);
font->drawString(&_console, beg, x1, y1, textW, kColorBlack);
font->drawString(&_console, mid, x1 + rectW1 - kConWPadding - kConWOverlap, y1, textW, kColorWhite);