diff options
Diffstat (limited to 'graphics/macgui/macwindowmanager.h')
-rw-r--r-- | graphics/macgui/macwindowmanager.h | 11 |
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. |