3 #include "ge211_forward.h" 4 #include "ge211_geometry.h" 5 #include "ge211_util.h" 63 friend detail::Engine;
64 friend detail::Renderer;
68 SDL_Window* get_raw_() const noexcept {
return ptr_.get(); }
69 uint32_t get_flags_() const noexcept;
71 detail::delete_ptr<SDL_Window> ptr_;
static Dimensions max_fullscreen_dimensions() noexcept
Returns the maximum dimensions for a fullscreen window.
void set_position(Position)
Sets the position of the upper-left corner of the window with respect to the upper-left corner of the...
The game engine namespace.
void set_title(const std::string &) noexcept
Changes the title of this window.
Dimensions get_dimensions() const noexcept
Returns the current dimensions of this window.
static const Position centered
A special value to pass to set_position(Position) to center the window on the screen.
Position get_position() const noexcept
Gets the position of the upper-left corner of the window with respect to the upper-left corner of the...
Provides access to the game window and its properties.
Dimensions max_window_dimensions() const noexcept
Returns the maximum dimensions for a non-fullscreen window.
Represents the dimensions of an object, or more generally, the displacement between two Basic_positio...
A position in the T-valued Cartesian plane.
bool get_fullscreen() const noexcept
Returns whether the program is in fullscreen mode.
const char * get_title() const noexcept
Returns the current title of this window.
void set_resizeable(bool) noexcept
Changes whether the user can resize this window.
bool get_resizeable() const noexcept
Returns whether the user can resize this window.
void set_dimensions(Dimensions)
Changes the size of the window.
void set_fullscreen(bool)
Sets whether the program should be in fullscreen mode.