31 #include "../../Core/Signals/signal.h"
37 class WindowControllerImpl;
47 const std::shared_ptr<View> &
root_view()
const;
65 void set_icon(
const std::vector<std::string> &icon_images);
77 std::unique_ptr<WindowControllerImpl> impl;
Base class for controllers managing windows.
Definition: window_controller.h:40
void dismiss()
Closes the window.
void set_frame_size(const Sizef &size, bool resizable=true)
Sets the size of the window.
void set_root_view(std::shared_ptr< View > root_view)
Changes the root view.
Manages one or more windows.
Definition: window_manager.h:41
2D (width,height) size structure - Float
Definition: size.h:180
void set_content_size(const Sizef &size, bool resizable=true)
Sets the size of the window.
virtual ~WindowController()
const std::shared_ptr< View > & root_view() const
Returns the root view.
SlotContainer slots
Slot container helping with automatic disconnection of connected slots when the controller is destroy...
Definition: window_controller.h:71
const std::string & title() const
Returns the window title.
Definition: Application/application.h:35
void set_title(const std::string &title)
Sets the window title.
void set_icon(const std::vector< std::string > &icon_images)
Sets the icon used for the window.