diff options
Diffstat (limited to 'engines/titanic/direct_draw.h')
-rw-r--r-- | engines/titanic/direct_draw.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/direct_draw.h b/engines/titanic/direct_draw.h index 6dedcd0e52..bd6a77dc2d 100644 --- a/engines/titanic/direct_draw.h +++ b/engines/titanic/direct_draw.h @@ -41,6 +41,12 @@ struct DDSurfaceDesc { }; class DirectDrawSurface : public Graphics::Surface { +public: + /** + * Fills an area of the surfae with the specified color. If no bounds are passed, + * then the entire surface is filled + */ + void fill(const Common::Rect *bounds, uint32 color); }; class DirectDraw { |