← API Reference Class

asge::video::SDLWindow final

A owing wrapper around SDL_Window.

#include <SDLWindow.hpp>

Inherits from asge::video::IWindow.

Inheritance

classDiagram
    class N2["asge::video::IWindow"]
    class N1["asge::video::SDLWindow"]
    N2 <|-- N1
    click N2 href "classasge_1_1video_1_1IWindow.html"
    click N1 href "classasge_1_1video_1_1SDLWindow.html"

Collaboration

classDiagram
    class N2["asge::video::IWindow"]
    class N1["asge::video::SDLWindow"]
    N2 <|-- N1
    click N2 href "classasge_1_1video_1_1IWindow.html"
    click N1 href "classasge_1_1video_1_1SDLWindow.html"

Private Attributes

#SDL_Window * m_Window {nullptr}private

Public Member Functions

#SDLWindow(std::string const &inTitle, int inWidth, int inHeight, bool inResizable)
#SDLWindow(SDLWindow &&inOther)
#SDLWindow & operator=(SDLWindow &&inOther)
#virtual ~SDLWindow()
#SDLWindow(SDLWindow const &inOther)=delete
#SDLWindow & operator=(SDLWindow const &inOther)=delete
#virtual void * NativeHandle() const override
Overrides NativeHandle
#virtual math::Int2 Size() const override
Overrides Size
#virtual bool IsValid() const override
Overrides IsValid
#void Destroy()