aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macwindow.h
diff options
context:
space:
mode:
authorBorja Lorente2016-07-29 12:13:31 +0200
committerBorja Lorente2016-07-31 14:44:48 +0200
commit26238ee6f987a1ffe5836145f3b937cfd38d28cf (patch)
tree53ee9a6d106c63998a363ca5e5c1aebfbc049456 /graphics/macgui/macwindow.h
parentd49d573edc7e7c4698dac2d7748365a6e9dcef0c (diff)
downloadscummvm-rg350-26238ee6f987a1ffe5836145f3b937cfd38d28cf.tar.gz
scummvm-rg350-26238ee6f987a1ffe5836145f3b937cfd38d28cf.tar.bz2
scummvm-rg350-26238ee6f987a1ffe5836145f3b937cfd38d28cf.zip
GRAPHICS: Fix border loading
Diffstat (limited to 'graphics/macgui/macwindow.h')
-rw-r--r--graphics/macgui/macwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/macgui/macwindow.h b/graphics/macgui/macwindow.h
index 9c908f3912..6526e05876 100644
--- a/graphics/macgui/macwindow.h
+++ b/graphics/macgui/macwindow.h
@@ -139,6 +139,9 @@ public:
private:
void drawBorder();
+ void prepareBorderSurface(ManagedSurface *g);
+ void drawSimpleBorder(ManagedSurface *g);
+ void drawBorderFromSurface(ManagedSurface *g);
void drawBox(ManagedSurface *g, int x, int y, int w, int h);
void fillRect(ManagedSurface *g, int x, int y, int w, int h, int color);
const Font *getTitleFont();
@@ -150,7 +153,7 @@ private:
ManagedSurface _composeSurface;
NinePatchBitmap *_bmp;
- TransparentSurface *_borders = nullptr;
+ TransparentSurface *_borders;
bool _scrollable;
bool _resizable;