Base class for controllers managing windows.
More...
#include <window_controller.h>
|
SlotContainer | slots |
| Slot container helping with automatic disconnection of connected slots when the controller is destroyed.
|
|
Base class for controllers managing windows.
◆ WindowController()
clan::WindowController::WindowController |
( |
| ) |
|
◆ ~WindowController()
virtual clan::WindowController::~WindowController |
( |
| ) |
|
|
virtual |
◆ dismiss()
void clan::WindowController::dismiss |
( |
| ) |
|
◆ immediate_update()
void clan::WindowController::immediate_update |
( |
| ) |
|
Immediately redraws the window.
◆ resizable()
bool clan::WindowController::resizable |
( |
| ) |
|
Gets the ability for the user to resize the window.
◆ root_view()
const std::shared_ptr< View > & clan::WindowController::root_view |
( |
| ) |
const |
◆ set_content_size()
void clan::WindowController::set_content_size |
( |
const Sizef & | size, |
|
|
bool | resizable = true ) |
Sets the size of the window.
◆ set_frame_size()
void clan::WindowController::set_frame_size |
( |
const Sizef & | size, |
|
|
bool | resizable = true ) |
Sets the size of the window.
◆ set_icon()
void clan::WindowController::set_icon |
( |
const std::vector< std::string > & | icon_images | ) |
|
Sets the icon used for the window.
◆ set_resizable()
void clan::WindowController::set_resizable |
( |
bool | resizable | ) |
|
Sets the ability for the user to resize the window.
◆ set_root_view()
void clan::WindowController::set_root_view |
( |
std::shared_ptr< View > | root_view | ) |
|
◆ set_title()
void clan::WindowController::set_title |
( |
const std::string & | title | ) |
|
◆ title()
const std::string & clan::WindowController::title |
( |
| ) |
const |
Returns the window title.
◆ WindowManager
◆ slots
Slot container helping with automatic disconnection of connected slots when the controller is destroyed.
The documentation for this class was generated from the following file: