Manages one or more windows. More...
#include <window_manager.h>
Static Public Member Functions | |
static void | present_main (const std::shared_ptr< WindowController > &controller) |
Shows a main window. More... | |
template<typename T , typename... Types> | |
static std::shared_ptr< T > | present_main (Types &&...args) |
static void | present_modal (View *owner, const std::shared_ptr< WindowController > &controller) |
Shows a modal dialog. More... | |
template<typename T , typename... Types> | |
static std::shared_ptr< T > | present_modal (View *owner, Types &&...args) |
static void | present_popup (View *owner, const Pointf &pos, const std::shared_ptr< WindowController > &controller) |
Shows a popup window. More... | |
template<typename T , typename... Types> | |
static std::shared_ptr< T > | present_popup (View *owner, const Pointf &pos, Types &&...args) |
static void | set_exit_on_last_close (bool enable=true) |
Notifices RunLoop to exit when last presented window is dismissed. More... | |
Friends | |
class | WindowController |
Manages one or more windows.
|
static |
Shows a main window.
Referenced by present_main().
|
inlinestatic |
References present_main().
|
static |
Shows a modal dialog.
Referenced by present_modal().
|
inlinestatic |
References present_modal().
|
static |
Shows a popup window.
Referenced by present_popup().
|
inlinestatic |
References present_popup().
|
static |
Notifices RunLoop to exit when last presented window is dismissed.
|
friend |