aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macwindowmanager.h
diff options
context:
space:
mode:
authorEugene Sandulenko2018-07-12 00:34:04 +0200
committerEugene Sandulenko2018-07-12 00:41:11 +0200
commit5684134ef6acaaeaaf9e9f9936f327874daa7f30 (patch)
treecca5cd7cd813a5cc0217a68dfe0c3cd466a664e3 /graphics/macgui/macwindowmanager.h
parent000d5fcba8f38b579c8de40511f4f13d79acd0df (diff)
downloadscummvm-rg350-5684134ef6acaaeaaf9e9f9936f327874daa7f30.tar.gz
scummvm-rg350-5684134ef6acaaeaaf9e9f9936f327874daa7f30.tar.bz2
scummvm-rg350-5684134ef6acaaeaaf9e9f9936f327874daa7f30.zip
GRAPHICS: MACGUI: Do not use hardcoded colors
Diffstat (limited to 'graphics/macgui/macwindowmanager.h')
-rw-r--r--graphics/macgui/macwindowmanager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h
index 07a60cba82..a220b737e8 100644
--- a/graphics/macgui/macwindowmanager.h
+++ b/graphics/macgui/macwindowmanager.h
@@ -83,7 +83,7 @@ struct MacPlotData {
int thickness;
uint bgColor;
- MacPlotData(Graphics::ManagedSurface *s, MacPatterns *p, int f, int t, uint bg = kColorWhite) :
+ MacPlotData(Graphics::ManagedSurface *s, MacPatterns *p, int f, int t, uint bg) :
surface(s), patterns(p), fillType(f), thickness(t), bgColor(bg) {
}
};
@@ -210,6 +210,8 @@ public:
void setMode(uint32 mode) { _mode = mode; }
+ void passPalette(const byte *palette, uint size);
+
public:
MacFontManager *_fontMan;
uint32 _mode;
@@ -219,6 +221,8 @@ public:
bool _menuTimerActive;
+ int _colorBlack, _colorWhite;
+
private:
void drawDesktop();