diff options
author | Sven Hesse | 2010-08-08 00:38:26 +0000 |
---|---|---|
committer | Sven Hesse | 2010-08-08 00:38:26 +0000 |
commit | 12c9e895b559d1ca2780b5b8f156b0451eb11f11 (patch) | |
tree | ff02282ada6558e80be9d1eab7768571c680040f /graphics/video/coktel_decoder.h | |
parent | 9255d2e2179ee6a2cd63b6d8f521e3b9d8543be6 (diff) | |
download | scummvm-rg350-12c9e895b559d1ca2780b5b8f156b0451eb11f11.tar.gz scummvm-rg350-12c9e895b559d1ca2780b5b8f156b0451eb11f11.tar.bz2 scummvm-rg350-12c9e895b559d1ca2780b5b8f156b0451eb11f11.zip |
VIDEO/GOB: Add CoktelDecoder::setXY()
This allows for positioning the video within the video memory.
svn-id: r51858
Diffstat (limited to 'graphics/video/coktel_decoder.h')
-rw-r--r-- | graphics/video/coktel_decoder.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/video/coktel_decoder.h b/graphics/video/coktel_decoder.h index ec9acbe879..a4d12c5294 100644 --- a/graphics/video/coktel_decoder.h +++ b/graphics/video/coktel_decoder.h @@ -69,6 +69,9 @@ public: /** Reset the video memory. */ void setSurfaceMemory(); + /** Draw the video starting at this position within the video memory. */ + void setXY(uint16 x, uint16 y); + // VideoDecoder interface void close(); @@ -88,6 +91,9 @@ protected: uint16 _width; uint16 _height; + uint16 _x; + uint16 _y; + uint32 _frameCount; byte _palette[768]; |