| 
    ge211
    2021.5.1
    
   A student game engine 
   | 
           
 | 
 
 
 
 
    3 #include "ge211_forward.hxx" 
    4 #include "ge211_geometry.hxx" 
    5 #include "ge211_noexcept.hxx" 
    6 #include "ge211_util.hxx" 
    8 #include <SDL_version.h> 
   35 #if SDL_VERSION_ATLEAST(2, 0, 5) 
   36     bool get_resizeable() const NOEXCEPT;
 
   39     void set_resizeable(
bool) NOEXCEPT;
 
   59     friend class detail::Engine;
 
   60     friend class detail::Renderer;
 
   64     Borrowed<SDL_Window> get_raw_() const NOEXCEPT { 
return ptr_.get(); }
 
   65     uint32_t get_flags_() const NOEXCEPT;
 
   67     detail::delete_ptr<SDL_Window, &SDL_DestroyWindow> ptr_;
 
  
 
bool get_fullscreen() const
Returns whether the program is in fullscreen mode.
 
Posn< int > get_position() const
Gets the position of the upper-left corner of the window with respect to the upper-left corner of the...
 
Dims< int > get_dimensions() const
Returns the current dimensions of this window.
 
void set_fullscreen(bool)
Sets whether the program should be in fullscreen mode.
 
static Dims< int > max_fullscreen_dimensions()
Returns the maximum dimensions for a fullscreen window.
 
The game engine namespace.
 
void set_position(Posn< int >)
Sets 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.
 
Dims< int > max_window_dimensions() const
Returns the maximum dimensions for a non-fullscreen window.
 
static const Posn< int > centered
A special value to pass to set_position(Posn<int>) to center the window on the screen.
 
void set_dimensions(Dims< int >)
Changes the size of the window.
 
OBJECT_TYPE * Borrowed
Type alias to indicate that the given pointer does not own its object.