43 Uint32 windowFlags = Window::Flags::Shown);
Provides utility for creating and handling colors.
#define SDLU_BEGIN
Definition: Util.hpp:32
uint32_t Uint32
Definition: Util.hpp:23
Provides a structure for simple vector calculations.
Contains window related objects.
Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive fr...
Definition: RenderTarget.hpp:22
A class that handles window related functionality.
Definition: RenderWindow.hpp:29
RenderWindow(const RenderWindow &&other)=delete
RenderWindow(Vector2u dimension, const std::string &title, Uint32 windowFlags=Window::Flags::Shown)
Creates a window and renderer with the given parameters.
virtual void OnCreate()
Function called after Window creation.
RenderWindow(const RenderWindow &other)=delete
virtual bool OnResize()
Function called after resize event.
RenderWindow()
Default Constructor. No window or renderer is created.
virtual void OnClose()
Function called after closing the window.
Stores information about a window. You probably want RenderWindow.
Definition: Window.hpp:26
A struct to handle basic 2D vector operations.
Definition: Vector2.hpp:22