diff options
author | Paul Gilbert | 2014-01-18 08:09:38 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-01-18 08:09:38 -0500 |
commit | cbbdf4db47cc6efeef5d9fa2630445e64aa3e444 (patch) | |
tree | b34b157bb57dc07c5d93322a7f3f5b7d6e07a3b9 /engines/voyeur/files.h | |
parent | 8792e4f97b7ad3cb1863dd0ccf15adaac7f6a061 (diff) | |
download | scummvm-rg350-cbbdf4db47cc6efeef5d9fa2630445e64aa3e444.tar.gz scummvm-rg350-cbbdf4db47cc6efeef5d9fa2630445e64aa3e444.tar.bz2 scummvm-rg350-cbbdf4db47cc6efeef5d9fa2630445e64aa3e444.zip |
VOYEUR: Fix sFillBox to work for PictureResource as well
Diffstat (limited to 'engines/voyeur/files.h')
-rw-r--r-- | engines/voyeur/files.h | 8 |
1 files changed, 7 insertions, 1 deletions
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(); }; |