aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/graphics.h
diff options
context:
space:
mode:
authorFilippos Karapetis2017-03-14 03:34:07 +0200
committerFilippos Karapetis2017-03-14 03:34:50 +0200
commit9ba330ce1d4245f9ec855e54a2fcc61f0ed7a21a (patch)
tree414f7a8ba61cdf9536bcc82059b4147949d11f6d /engines/chewy/graphics.h
parent879cd2c43c280c57db8eae330c8472a07a16eedc (diff)
downloadscummvm-rg350-9ba330ce1d4245f9ec855e54a2fcc61f0ed7a21a.tar.gz
scummvm-rg350-9ba330ce1d4245f9ec855e54a2fcc61f0ed7a21a.tar.bz2
scummvm-rg350-9ba330ce1d4245f9ec855e54a2fcc61f0ed7a21a.zip
CHEWY: More work on scene hotspots
Diffstat (limited to 'engines/chewy/graphics.h')
-rw-r--r--engines/chewy/graphics.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/chewy/graphics.h b/engines/chewy/graphics.h
index a260311df5..09865711df 100644
--- a/engines/chewy/graphics.h
+++ b/engines/chewy/graphics.h
@@ -24,6 +24,8 @@
#define CHEWY_GRAPHICS_H
#include "chewy/chewy.h"
+#include "common/rect.h"
+#include "graphics/surface.h"
namespace Chewy {
@@ -37,15 +39,20 @@ public:
void drawImage(Common::String filename, int imageNum);
void drawSprite(Common::String filename, int spriteNum, uint x, uint y);
+ void drawRect(Common::Rect r, byte color);
void playVideo(uint num);
void loadFont(Common::String filename);
void drawText(Common::String text, uint x, uint y);
+ void setDescSurface(Common::Point pos);
+ void restoreDescSurface();
private:
void drawTransparent(uint16 x, uint16 y, byte *data, uint16 width, uint16 height, byte transparentColor);
ChewyEngine *_vm;
Font *_font;
+ Common::Point _descPos;
+ ::Graphics::Surface _descSurface;
};
} // End of namespace Chewy