aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macwindowmanager.h
diff options
context:
space:
mode:
authorScott Percival2020-01-11 11:27:21 +0800
committerScott Percival2020-01-11 11:27:21 +0800
commitb31d5ac2b9efe04fa717f6c39b4ce1526b55fd19 (patch)
treecaa28efd10bb09b4b04fafdbca265db8998d0630 /graphics/macgui/macwindowmanager.h
parentc56584724049a609a31f49890c5dd9bec2a085b4 (diff)
downloadscummvm-rg350-b31d5ac2b9efe04fa717f6c39b4ce1526b55fd19.tar.gz
scummvm-rg350-b31d5ac2b9efe04fa717f6c39b4ce1526b55fd19.tar.bz2
scummvm-rg350-b31d5ac2b9efe04fa717f6c39b4ce1526b55fd19.zip
DIRECTOR: Align fill patterns to global origin
Diffstat (limited to 'graphics/macgui/macwindowmanager.h')
-rw-r--r--graphics/macgui/macwindowmanager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h
index c412e64f0a..5846bcba07 100644
--- a/graphics/macgui/macwindowmanager.h
+++ b/graphics/macgui/macwindowmanager.h
@@ -83,11 +83,13 @@ struct MacPlotData {
Graphics::ManagedSurface *surface;
MacPatterns *patterns;
uint fillType;
+ int fillOriginX;
+ int fillOriginY;
int thickness;
uint bgColor;
- MacPlotData(Graphics::ManagedSurface *s, MacPatterns *p, int f, int t, uint bg) :
- surface(s), patterns(p), fillType(f), thickness(t), bgColor(bg) {
+ MacPlotData(Graphics::ManagedSurface *s, MacPatterns *p, uint f, int fx, int fy, int t, uint bg) :
+ surface(s), patterns(p), fillType(f), fillOriginX(fx), fillOriginY(fy), thickness(t), bgColor(bg) {
}
};