aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macwindowmanager.h
diff options
context:
space:
mode:
authorEugene Sandulenko2017-07-30 08:56:38 +0200
committerEugene Sandulenko2017-08-01 10:42:21 +0200
commit9fe79b9e198740c4544bb56784c9b861c8113e6f (patch)
treec7e73f333f8ad853f53f190d08d012a86b1ffd3d /graphics/macgui/macwindowmanager.h
parentff8a2ade68cc6751c1825f149f2efe9f78c9fe3d (diff)
downloadscummvm-rg350-9fe79b9e198740c4544bb56784c9b861c8113e6f.tar.gz
scummvm-rg350-9fe79b9e198740c4544bb56784c9b861c8113e6f.tar.bz2
scummvm-rg350-9fe79b9e198740c4544bb56784c9b861c8113e6f.zip
GRAPHICS: MACGUI: Made MacTextWindow processing keyboard input
Diffstat (limited to 'graphics/macgui/macwindowmanager.h')
-rw-r--r--graphics/macgui/macwindowmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h
index ec7f4f1341..61f4899481 100644
--- a/graphics/macgui/macwindowmanager.h
+++ b/graphics/macgui/macwindowmanager.h
@@ -27,6 +27,7 @@
#include "common/list.h"
#include "common/events.h"
+#include "graphics/font.h"
#include "graphics/fontman.h"
#include "graphics/macgui/macwindow.h"
@@ -60,6 +61,9 @@ using namespace MacGUIConstants;
class ManagedSurface;
class MacMenu;
+class MacTextWindow;
+
+class MacFont;
class MacFontManager;
@@ -103,6 +107,8 @@ public:
* @return Pointer to the newly created window.
*/
MacWindow *addWindow(bool scrollable, bool resizable, bool editable);
+ MacTextWindow *addTextWindow(const MacFont *font, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment);
+
/**
* Adds a window that has already been initialized to the registry.
* Like addWindow, but this doesn't create/allocate the Window.