32#include "../../Core/Signals/signal.h"
37 class WindowControllerImpl;
53 const std::string &
title()
const;
71 void set_icon(
const std::vector<std::string> &icon_images);
86 std::unique_ptr<WindowControllerImpl> impl;
2D (width,height) size structure - Float
Definition size.h:189
Base class for controllers managing windows.
Definition window_controller.h:41
virtual ~WindowController()
bool resizable()
Gets the ability for the user to resize the window.
void dismiss()
Closes the window.
void set_icon(const std::vector< std::string > &icon_images)
Sets the icon used for the window.
void immediate_update()
Immediately redraws the window.
void set_frame_size(const Sizef &size, bool resizable=true)
Sets the size of the window.
SlotContainer slots
Slot container helping with automatic disconnection of connected slots when the controller is destroy...
Definition window_controller.h:80
void set_resizable(bool resizable)
Sets the ability for the user to resize the window.
void set_content_size(const Sizef &size, bool resizable=true)
Sets the size of the window.
const std::shared_ptr< View > & root_view() const
Returns the root view.
const std::string & title() const
Returns the window title.
void set_title(const std::string &title)
Sets the window title.
void set_root_view(std::shared_ptr< View > root_view)
Changes the root view.
Manages one or more windows.
Definition window_manager.h:43