OpenEnroth 73e68f7
|
#include <NullWindow.h>
Public Member Functions | |
NullWindow (NullPlatformSharedState *state) | |
virtual | ~NullWindow () |
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 | setGrabsMouse (bool grabsMouse) override |
virtual bool | grabsMouse () const override |
virtual void | setOrientations (PlatformWindowOrientations orientations) override |
virtual PlatformWindowOrientations | orientations () 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 |
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 | |
NullPlatformSharedState * | _state = nullptr |
std::string | _title |
Pointi | _position |
Sizei | _size |
bool | _visible = true |
bool | _resizable = true |
PlatformWindowMode | _mode = WINDOW_MODE_WINDOWED |
bool | _grabsMouse = false |
PlatformWindowOrientations | _orientations = LANDSCAPE_LEFT | LANDSCAPE_RIGHT | PORTRAIT_UP | PORTRAIT_DOWN |
|
explicit |
|
virtualdefault |
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
overridevirtual |
Implements PlatformWindow.
|
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 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |