20 #ifndef ANTKEEPER_APP_WINDOW_MANAGER_HPP
21 #define ANTKEEPER_APP_WINDOW_MANAGER_HPP
40 static std::unique_ptr<window_manager>
instance();
62 const std::string& title,
virtual ~window_manager()=default
Destructs a window manager.
virtual 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)=0
Constructs a window.
virtual std::size_t get_display_count() const =0
Returns the number of available displays.
virtual const display & get_display(std::size_t index) const =0
Returns the display with the given index.
virtual void update()=0
Updates all managed windows.
static std::unique_ptr< window_manager > instance()
Allocates and returns a window manager.