aboutsummaryrefslogtreecommitdiff
path: root/gui/InterfaceManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/InterfaceManager.h')
-rw-r--r--gui/InterfaceManager.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/InterfaceManager.h b/gui/InterfaceManager.h
index 7ab3f4c9db..f5efb105ec 100644
--- a/gui/InterfaceManager.h
+++ b/gui/InterfaceManager.h
@@ -167,6 +167,12 @@ public:
void drawCaret(const Common::Rect &r, bool erase, WidgetStateInfo state = kStateEnabled) {}
void drawLineSeparator(const Common::Rect &r, WidgetStateInfo state = kStateEnabled);
+ DrawData getDrawDataId(Common::String &name) {
+ return (DrawData)0;
+ }
+
+ void addDrawStep(Common::String &drawDataId, Graphics::DrawStep *step);
+
protected:
template<typename PixelType> void screenInit();
@@ -209,8 +215,7 @@ struct WidgetDrawData {
Common::Rect _realSize;
bool _scaled;
- Graphics::DrawStep **_steps;
- int _stepCount;
+ Common::Array<Graphics::DrawStep*> _steps;
bool _cached;
Graphics::Surface *_surfaceCache;