aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/design.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/design.h')
-rw-r--r--engines/wage/design.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/wage/design.h b/engines/wage/design.h
index 9cd8b90b63..a0315b5880 100644
--- a/engines/wage/design.h
+++ b/engines/wage/design.h
@@ -48,10 +48,13 @@
#ifndef WAGE_DESIGN_H
#define WAGE_DESIGN_H
+#include "graphics/surface.h"
#include "common/rect.h"
-
+
namespace Wage {
+struct TexturePaint;
+
class Design {
public:
Design(Common::SeekableReadStream *data);
@@ -60,16 +63,19 @@ public:
void setBounds(Common::Rect *bounds) {
_bounds = new Common::Rect(*bounds);
}
-
+
Common::Rect *getBounds() {
return new Common::Rect(*_bounds);
}
-
+
+ void paint(Graphics::Surface *canvas, TexturePaint *patterns, bool mask);
+
private:
byte *_data;
+ int _len;
Common::Rect *_bounds;
};
} // End of namespace Wage
-
+
#endif