diff options
author | Filippos Karapetis | 2010-11-08 16:12:58 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-08 16:12:58 +0000 |
commit | 8504e30dac5d3d362242277e4270dcec07a68798 (patch) | |
tree | 713d4ce418eb821b9936544356ca32b9ad75ca5b /engines/sci/graphics/font.h | |
parent | d8eefdb52ad67e7df32411502ba7c2c02c04125d (diff) | |
download | scummvm-rg350-8504e30dac5d3d362242277e4270dcec07a68798.tar.gz scummvm-rg350-8504e30dac5d3d362242277e4270dcec07a68798.tar.bz2 scummvm-rg350-8504e30dac5d3d362242277e4270dcec07a68798.zip |
SCI2: Added some currently unused code for drawing text on a buffer
svn-id: r54143
Diffstat (limited to 'engines/sci/graphics/font.h')
-rw-r--r-- | engines/sci/graphics/font.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/font.h b/engines/sci/graphics/font.h index b9bee0fa9e..d8afb73a73 100644 --- a/engines/sci/graphics/font.h +++ b/engines/sci/graphics/font.h @@ -56,6 +56,10 @@ public: byte getHeight(); byte getCharWidth(uint16 chr); void draw(uint16 chr, int16 top, int16 left, byte color, bool greyedOutput); +#ifdef ENABLE_SCI32 + // SCI2/2.1 equivalent + void drawToBuffer(uint16 chr, int16 top, int16 left, byte color, bool greyedOutput, byte *buffer, int16 width, int16 height); +#endif private: byte getCharHeight(uint16 chr); |