From cbbdf4db47cc6efeef5d9fa2630445e64aa3e444 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 18 Jan 2014 08:09:38 -0500 Subject: VOYEUR: Fix sFillBox to work for PictureResource as well --- engines/voyeur/files.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines/voyeur/files.h') diff --git a/engines/voyeur/files.h b/engines/voyeur/files.h index e2a638028b..cbbf35eff8 100644 --- a/engines/voyeur/files.h +++ b/engines/voyeur/files.h @@ -248,8 +248,15 @@ enum DisplayFlag { DISPFLAG_1 = 1, DISPFLAG_2 = 2, DISPFLAG_4 = 4, DISPFLAG_8 = DISPFLAG_4000 = 0x4000, DISPFLAG_VIEWPORT = 0x8000, DISPFLAG_CURSOR = 0x10000 }; class DisplayResource { +private: + VoyeurEngine *_vm; public: uint32 _flags; +public: + DisplayResource(); + DisplayResource(VoyeurEngine *vm); + + void sFillBox(int width, int height); }; /* bvoy.blt resource types */ @@ -338,7 +345,6 @@ public: int drawText(const Common::String &msg); int textWidth(const Common::String &msg); void addSaveRect(int pageIndex, const Common::Rect &r); - void sFillBox(int width, int height); void fillPic(byte onOff = 0); void drawIfaceTime(); }; -- cgit v1.2.3