aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macwindowmanager.h
diff options
context:
space:
mode:
authorVelocityRa2017-04-02 01:34:15 +0300
committerEugene Sandulenko2017-07-17 23:45:22 +0200
commitf2f420e15fb1b7f1e8e9897550bbc0abbca438c8 (patch)
tree48ff35497a60dddbd0fdb6c352e6273912c43854 /graphics/macgui/macwindowmanager.h
parentb28a4a8c3d4175d90b444cbc0a51508f6f8cc753 (diff)
downloadscummvm-rg350-f2f420e15fb1b7f1e8e9897550bbc0abbca438c8.tar.gz
scummvm-rg350-f2f420e15fb1b7f1e8e9897550bbc0abbca438c8.tar.bz2
scummvm-rg350-f2f420e15fb1b7f1e8e9897550bbc0abbca438c8.zip
GRAPHICS: Skeleton of MacTextWindow
Needed to add 2 helper methods to MacWindowManager to make it cleaner
Diffstat (limited to 'graphics/macgui/macwindowmanager.h')
-rw-r--r--graphics/macgui/macwindowmanager.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h
index bd597f6626..ec7f4f1341 100644
--- a/graphics/macgui/macwindowmanager.h
+++ b/graphics/macgui/macwindowmanager.h
@@ -104,6 +104,17 @@ public:
*/
MacWindow *addWindow(bool scrollable, bool resizable, bool editable);
/**
+ * Adds a window that has already been initialized to the registry.
+ * Like addWindow, but this doesn't create/allocate the Window.
+ * @param macWindow the window to be added to the registry
+ */
+ void addWindowInitialized(MacWindow *macwindow);
+ /**
+ * Returns the next available id and the increments the internal counter.
+ * @return next (new) window id that can be used
+ */
+ int getNextId();
+ /**
* Add the menu to the desktop.
* Note that the returned menu is empty, and therefore must be filled
* afterwards.