OpenEnroth 73e68f7
|
Public Member Functions | |
ApplicationProxy () | |
virtual std::unique_ptr< PlatformWindow > | createWindow () override |
virtual std::unique_ptr< PlatformEventLoop > | createEventLoop () override |
virtual std::unique_ptr< PlatformOpenGLContext > | createOpenGLContext (const PlatformOpenGLOptions &) override |
Public Member Functions inherited from ProxyPlatform | |
ProxyPlatform (Platform *base=nullptr) | |
virtual | ~ProxyPlatform ()=default |
virtual std::unique_ptr< PlatformWindow > | createWindow () override |
virtual std::unique_ptr< PlatformEventLoop > | createEventLoop () override |
virtual std::vector< PlatformGamepad * > | gamepads () override |
virtual void | setCursorShown (bool cursorShown) override |
virtual bool | isCursorShown () const override |
virtual std::vector< Recti > | displayGeometries () const override |
virtual void | showMessageBox (const std::string &title, const std::string &message) const override |
virtual int64_t | tickCount () const override |
Public Member Functions inherited from ProxyBase< Platform > | |
ProxyBase (Platform *base) | |
Platform * | base () const |
void | setBase (Platform *base) |
Public Member Functions inherited from Platform | |
virtual | ~Platform ()=default |
virtual std::unique_ptr< PlatformWindow > | createWindow ()=0 |
virtual std::unique_ptr< PlatformEventLoop > | createEventLoop ()=0 |
virtual std::vector< PlatformGamepad * > | gamepads ()=0 |
virtual void | setCursorShown (bool cursorShown)=0 |
virtual bool | isCursorShown () const =0 |
virtual std::vector< Recti > | displayGeometries () const =0 |
virtual void | showMessageBox (const std::string &title, const std::string &message) const =0 |
virtual int64_t | tickCount () const =0 |
Public Member Functions inherited from ProxyEventLoop | |
ProxyEventLoop (PlatformEventLoop *base=nullptr) | |
virtual | ~ProxyEventLoop ()=default |
virtual void | exec (PlatformEventHandler *eventHandler) override |
virtual void | quit () override |
virtual void | processMessages (PlatformEventHandler *eventHandler, int count=-1) override |
virtual void | waitForMessages () override |
Public Member Functions inherited from ProxyBase< PlatformEventLoop > | |
ProxyBase (PlatformEventLoop *base) | |
PlatformEventLoop * | base () const |
void | setBase (PlatformEventLoop *base) |
Public Member Functions inherited from PlatformEventLoop | |
virtual | ~PlatformEventLoop ()=default |
virtual void | exec (PlatformEventHandler *eventHandler)=0 |
virtual void | quit ()=0 |
virtual void | processMessages (PlatformEventHandler *eventHandler, int count=-1)=0 |
virtual void | waitForMessages ()=0 |
Public Member Functions inherited from ProxyWindow | |
ProxyWindow (PlatformWindow *base=nullptr) | |
virtual | ~ProxyWindow ()=default |
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 ProxyBase< PlatformWindow > | |
ProxyBase (PlatformWindow *base) | |
PlatformWindow * | base () const |
void | setBase (PlatformWindow *base) |
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 |
Public Member Functions inherited from ProxyOpenGLContext | |
ProxyOpenGLContext (PlatformOpenGLContext *base=nullptr) | |
virtual | ~ProxyOpenGLContext ()=default |
virtual bool | bind () override |
virtual bool | unbind () override |
virtual void * | nativeHandle () override |
virtual void | swapBuffers () override |
virtual void * | getProcAddress (const char *name) override |
Public Member Functions inherited from ProxyBase< PlatformOpenGLContext > | |
ProxyBase (PlatformOpenGLContext *base) | |
PlatformOpenGLContext * | base () const |
void | setBase (PlatformOpenGLContext *base) |
Public Member Functions inherited from PlatformOpenGLContext | |
virtual | ~PlatformOpenGLContext ()=default |
virtual bool | bind ()=0 |
virtual bool | unbind ()=0 |
virtual void * | nativeHandle ()=0 |
virtual void | swapBuffers ()=0 |
virtual void * | getProcAddress (const char *name)=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from Platform | |
static std::unique_ptr< Platform > | createStandardPlatform () |
Protected Member Functions inherited from ProxyBase< Platform > | |
Platform * | nonNullBase () const |
Protected Member Functions inherited from ProxyBase< PlatformEventLoop > | |
PlatformEventLoop * | nonNullBase () const |
Protected Member Functions inherited from ProxyBase< PlatformWindow > | |
PlatformWindow * | nonNullBase () const |
Protected Member Functions inherited from ProxyBase< PlatformOpenGLContext > | |
PlatformOpenGLContext * | nonNullBase () const |
|
inline |
|
inlineoverridevirtual |
Creates a new event loop.
nullptr
on error. Reimplemented from ProxyPlatform.
|
inlineoverridevirtual |
Reimplemented from ProxyWindow.
|
inlineoverridevirtual |
Creates a new platform window.
nullptr
on error. Reimplemented from ProxyPlatform.