20 #ifndef ANTKEEPER_APP_SDL_WINDOW_MANAGER_HPP
21 #define ANTKEEPER_APP_SDL_WINDOW_MANAGER_HPP
26 #include <unordered_map>
54 const std::string& title,
66 sdl_window* get_window(SDL_Window* internal_window);
67 void update_display(
int sdl_display_index);
69 std::vector<display> m_displays;
70 std::unordered_map<SDL_Window*, app::sdl_window*> m_window_map;
const display & get_display(std::size_t index) const override
Returns the display with the given index.
std::shared_ptr< window > create_window(const std::string &title, const math::ivec2 &windowed_position, const math::ivec2 &windowed_size, bool maximized, bool fullscreen, bool v_sync) override
std::size_t get_display_count() const override
Returns the number of available displays.
~sdl_window_manager() override
Destructs an SDL window manager.
sdl_window_manager()
Constructs an SDL window manager.
void update() override
Updates all managed windows.