From 12032bb51860c203b817334648452a08f635d118 Mon Sep 17 00:00:00 2001 From: stevenhoefel Date: Wed, 11 Jan 2017 11:25:31 +1100 Subject: DIRECTOR: Round rectangles for Buttons. Improved TextCast alignment. --- graphics/macgui/macwindowmanager.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'graphics/macgui/macwindowmanager.h') diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h index 9f62403813..d359369415 100644 --- a/graphics/macgui/macwindowmanager.h +++ b/graphics/macgui/macwindowmanager.h @@ -65,6 +65,19 @@ class MacFontManager; typedef Common::Array MacPatterns; +struct MacPlotData { + Graphics::ManagedSurface *surface; + MacPatterns *patterns; + uint fillType; + int thickness; + + MacPlotData(Graphics::ManagedSurface *s, MacPatterns *p, int f, int t) : + surface(s), patterns(p), fillType(f), thickness(t) { + } +}; + +void macDrawPixel(int x, int y, int color, void *data); + /** * A manager class to handle window creation, destruction, * drawing, moving and event handling. @@ -143,7 +156,6 @@ public: * @return A MacPatterns object reference with the patterns. */ MacPatterns &getPatterns() { return _patterns; } - void drawFilledRoundRect(ManagedSurface *surface, Common::Rect &rect, int arc, int color); void pushArrowCursor(); void pushBeamCursor(); -- cgit v1.2.3