From 5684134ef6acaaeaaf9e9f9936f327874daa7f30 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 12 Jul 2018 00:34:04 +0200 Subject: GRAPHICS: MACGUI: Do not use hardcoded colors --- graphics/macgui/macwindowmanager.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'graphics/macgui/macwindowmanager.h') 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(); -- cgit v1.2.3