OpenEnroth 73e68f7
|
#include <SdlWindow.h>
Public Member Functions | |
SdlWindow (SdlPlatformSharedState *state, SDL_Window *window, uint32_t id) | |
virtual | ~SdlWindow () |
virtual void | setTitle (const std::string &title) override |
virtual std::string | title () const override |
virtual void | resize (const Sizei &size) override |
virtual Sizei | size () const override |
virtual void | setPosition (const Pointi &pos) override |
virtual Pointi | position () const override |
virtual void | setVisible (bool visible) override |
virtual bool | isVisible () const override |
virtual void | setResizable (bool resizable) override |
virtual bool | isResizable () const override |
virtual void | setWindowMode (PlatformWindowMode mode) override |
virtual PlatformWindowMode | windowMode () override |
virtual void | setOrientations (PlatformWindowOrientations orientations) override |
virtual PlatformWindowOrientations | orientations () override |
virtual void | setGrabsMouse (bool grabsMouse) override |
virtual bool | grabsMouse () const override |
virtual Marginsi | frameMargins () const override |
virtual void * | nativeHandle () const override |
virtual void | activate () override |
virtual std::unique_ptr< PlatformOpenGLContext > | createOpenGLContext (const PlatformOpenGLOptions &options) override |
uint32_t | id () const |
Public Member Functions inherited from PlatformWindow | |
virtual | ~PlatformWindow ()=default |
virtual void | setTitle (const std::string &title)=0 |
virtual std::string | title () const =0 |
virtual void | resize (const Sizei &size)=0 |
virtual Sizei | size () const =0 |
virtual void | setPosition (const Pointi &pos)=0 |
virtual Pointi | position () const =0 |
virtual void | setVisible (bool visible)=0 |
virtual bool | isVisible () const =0 |
virtual void | setResizable (bool resizable)=0 |
virtual bool | isResizable () const =0 |
virtual void | setWindowMode (PlatformWindowMode mode)=0 |
virtual PlatformWindowMode | windowMode ()=0 |
virtual void | setGrabsMouse (bool grabsMouse)=0 |
virtual bool | grabsMouse () const =0 |
virtual void | setOrientations (PlatformWindowOrientations orientations)=0 |
virtual PlatformWindowOrientations | orientations ()=0 |
virtual Marginsi | frameMargins () const =0 |
virtual void * | nativeHandle () const =0 |
virtual void | activate ()=0 |
virtual std::unique_ptr< PlatformOpenGLContext > | createOpenGLContext (const PlatformOpenGLOptions &options)=0 |
Private Attributes | |
SdlPlatformSharedState * | _state = nullptr |
SDL_Window * | _window = nullptr |
uint32_t | _id = 0 |
SdlWindow::SdlWindow | ( | SdlPlatformSharedState * | state, |
SDL_Window * | window, | ||
uint32_t | id | ||
) |
|
virtual |
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
inline |
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
SDL_window
on SDL. Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
private |
|
private |
|
private |