aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactextwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui/mactextwindow.h')
-rw-r--r--graphics/macgui/mactextwindow.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.h b/graphics/macgui/mactextwindow.h
index b63f135e02..6ca6e9a9af 100644
--- a/graphics/macgui/mactextwindow.h
+++ b/graphics/macgui/mactextwindow.h
@@ -23,14 +23,24 @@
#ifndef GRAPHICS_MACGUI_MACTEXTWINDOW_H
#define GRAPHICS_MACGUI_MACTEXTWINDOW_H
+#include "graphics/macgui/mactext.h"
+
namespace Graphics {
class MacTextWindow : public MacWindow {
public:
- MacTextWindow(MacWindowManager *wm);
+ MacTextWindow(MacWindowManager *wm, const Font *font, int fgcolor,
+ int bgcolor, int maxWidth, TextAlign textAlignment);
~MacTextWindow();
const Font *getTextWindowFont();
+
+ void drawText(ManagedSurface *g, int x, int y, int w, int h, int xoff, int yoff);
+ void appendText(Common::String str);
+
+private:
+ MacText *_mactext;
+ const Font *_font;
};
} // End of namespace Graphics