diff options
author | Max Horn | 2010-11-19 01:37:04 +0000 |
---|---|---|
committer | Max Horn | 2010-11-19 01:37:04 +0000 |
commit | a0df86955f80dedaa00e6f7593e96b90b697a83a (patch) | |
tree | 546f48f5edc6248ce3f2af65cf6a2b4727b7dd40 /graphics/sjis.h | |
parent | 785590e504ff2c275ee2a4101ecd4827666230b4 (diff) | |
download | scummvm-rg350-a0df86955f80dedaa00e6f7593e96b90b697a83a.tar.gz scummvm-rg350-a0df86955f80dedaa00e6f7593e96b90b697a83a.tar.bz2 scummvm-rg350-a0df86955f80dedaa00e6f7593e96b90b697a83a.zip |
ALL: Push down deps on stream.h from .h to .cpp files
svn-id: r54358
Diffstat (limited to 'graphics/sjis.h')
-rw-r--r-- | graphics/sjis.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/sjis.h b/graphics/sjis.h index 365e63e470..86bc167b52 100644 --- a/graphics/sjis.h +++ b/graphics/sjis.h @@ -46,13 +46,12 @@ #endif #include "common/scummsys.h" -#include "common/stream.h" #include "common/util.h" -#include "graphics/surface.h" - namespace Graphics { +struct Surface; + /** * A font that is able to draw SJIS encoded characters. */ @@ -116,9 +115,7 @@ public: /** * Draws a SJIS encoded character on the given surface. */ - void drawChar(Graphics::Surface &dst, uint16 ch, int x, int y, uint32 c1, uint32 c2) const { - drawChar(dst.getBasePtr(x, y), ch, dst.pitch, dst.bytesPerPixel, c1, c2, dst.w - x, dst.h - y); - } + void drawChar(Graphics::Surface &dst, uint16 ch, int x, int y, uint32 c1, uint32 c2) const; /** * Draws a SJIS char on the given raw buffer. |