#include <window-manager.hpp>
Definition at line 34 of file window-manager.hpp.
◆ ~window_manager()
virtual app::window_manager::~window_manager |
( |
| ) |
|
|
virtualdefault |
Destructs a window manager.
◆ create_window()
virtual std::shared_ptr<window> app::window_manager::create_window |
( |
const std::string & |
title, |
|
|
const math::ivec2 & |
windowed_position, |
|
|
const math::ivec2 & |
windowed_size, |
|
|
bool |
maximized, |
|
|
bool |
fullscreen, |
|
|
bool |
v_sync |
|
) |
| |
|
pure virtual |
Constructs a window.
- Parameters
-
title | Title of the window. |
windowed_position | Windowed (non-maximized, non-fullscreen) position of the window, in display units. |
windowed_size | Windowed (non-maximized, non-fullscreen) size of the window, in display units. |
maximized | true if the window should start maximized, false otherwise. |
fullscreen | true if the window should start fullscreen, false otherwise. |
v_sync | true if v-sync should be enabled, false otherwise. |
Implemented in app::sdl_window_manager.
◆ get_display()
virtual const display& app::window_manager::get_display |
( |
std::size_t |
index | ) |
const |
|
pure virtual |
Returns the display with the given index.
- Parameters
-
- Returns
- Display with the given index.
Implemented in app::sdl_window_manager.
◆ get_display_count()
virtual std::size_t app::window_manager::get_display_count |
( |
| ) |
const |
|
pure virtual |
◆ instance()
◆ update()
virtual void app::window_manager::update |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: