|
| sdl_window (const std::string &title, const math::ivec2 &windowed_position, const math::ivec2 &windowed_size, bool maximized, bool fullscreen, bool v_sync) |
|
| sdl_window (const sdl_window &)=delete |
|
| sdl_window (sdl_window &&)=delete |
|
sdl_window & | operator= (const sdl_window &)=delete |
|
sdl_window & | operator= (sdl_window &&)=delete |
|
virtual | ~sdl_window () |
|
void | set_title (const std::string &title) override |
| Changes the title of the window. More...
|
|
void | set_position (const math::ivec2 &position) override |
| Changes the position of the window. More...
|
|
void | set_size (const math::ivec2 &size) override |
| Changes the size of the window. More...
|
|
void | set_minimum_size (const math::ivec2 &size) override |
| Sets the minimum size of the window. More...
|
|
void | set_maximum_size (const math::ivec2 &size) override |
| Sets the maximum size of the window. More...
|
|
void | set_maximized (bool maximized) override |
| Maximizes or unmaximizes the window. More...
|
|
void | set_fullscreen (bool fullscreen) override |
| Enables or disables fullscreen mode. More...
|
|
void | set_v_sync (bool v_sync) override |
| Enables or disables v-sync. More...
|
|
void | make_current () override |
| Makes the window's graphics context current. More...
|
|
void | swap_buffers () override |
| Swaps the front and back buffers of the window's graphics context. More...
|
|
const gl::pipeline & | get_graphics_pipeline () const noexcept override |
| Returns the graphics pipeline associated with this window. More...
|
|
gl::pipeline & | get_graphics_pipeline () noexcept override |
| Returns the graphics pipeline associated with this window. More...
|
|
const std::string & | get_title () const noexcept |
| Returns the title of the window. More...
|
|
const math::ivec2 & | get_windowed_position () const noexcept |
| Returns the windowed (non-maximized, non-fullscreen) position of the window, in display units. More...
|
|
const math::ivec2 & | get_position () const noexcept |
| Returns the current position of the window, in display units. More...
|
|
const math::ivec2 & | get_windowed_size () const noexcept |
| Returns the windowed (non-maximized, non-fullscreen) size of the window, in display units. More...
|
|
const math::ivec2 & | get_size () const noexcept |
| Returns the current size of the window, in display units. More...
|
|
const math::ivec2 & | get_minimum_size () const noexcept |
| Returns the minimum size of the window, in display units. More...
|
|
const math::ivec2 & | get_maximum_size () const noexcept |
| Returns the maximum size of the window, in display units. More...
|
|
const math::ivec2 & | get_viewport_size () const noexcept |
| Returns the current size of the window's drawable viewport, in pixels. More...
|
|
bool | is_maximized () const noexcept |
| Returns true if the window is maximized, false otherwise. More...
|
|
bool | is_fullscreen () const noexcept |
| Returns true if the window is in fullscreen mode, false otherwise. More...
|
|
bool | get_v_sync () const noexcept |
| Returns true if the v-sync is enabled, false otherwise. More...
|
|
event::channel< window_closed_event > & | get_closed_channel () noexcept |
| Returns the channel through which window closed events are published. More...
|
|
event::channel< window_focus_changed_event > & | get_focus_changed_channel () noexcept |
| Returns the channel through which window focus changed events are published. More...
|
|
event::channel< window_maximized_event > & | get_maximized_channel () noexcept |
| Returns the channel through which window maximized events are published. More...
|
|
event::channel< window_minimized_event > & | get_minimized_channel () noexcept |
| Returns the channel through which window minimized events are published. More...
|
|
event::channel< window_moved_event > & | get_moved_channel () noexcept |
| Returns the channel through which window moved events are published. More...
|
|
event::channel< window_resized_event > & | get_resized_channel () noexcept |
| Returns the channel through which window resized events are published. More...
|
|
event::channel< window_restored_event > & | get_restored_channel () noexcept |
| Returns the channel through which window restored events are published. More...
|
|
Definition at line 32 of file sdl-window.hpp.