OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ProxyWindow Class Reference

#include <ProxyWindow.h>

Inheritance diagram for ProxyWindow:
ProxyBase< PlatformWindow > PlatformWindow ApplicationProxy

Public Member Functions

 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< PlatformOpenGLContextcreateOpenGLContext (const PlatformOpenGLOptions &options) override
 
- Public Member Functions inherited from ProxyBase< PlatformWindow >
 ProxyBase (PlatformWindow *base)
 
PlatformWindowbase () 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< PlatformOpenGLContextcreateOpenGLContext (const PlatformOpenGLOptions &options)=0
 

Additional Inherited Members

- Protected Member Functions inherited from ProxyBase< PlatformWindow >
PlatformWindownonNullBase () const
 

Constructor & Destructor Documentation

◆ ProxyWindow()

ProxyWindow::ProxyWindow ( PlatformWindow base = nullptr)
explicit

◆ ~ProxyWindow()

virtual ProxyWindow::~ProxyWindow ( )
virtualdefault

Member Function Documentation

◆ activate()

void ProxyWindow::activate ( )
overridevirtual

Implements PlatformWindow.

◆ createOpenGLContext()

std::unique_ptr< PlatformOpenGLContext > ProxyWindow::createOpenGLContext ( const PlatformOpenGLOptions options)
overridevirtual

Implements PlatformWindow.

Reimplemented in ApplicationProxy.

◆ frameMargins()

Marginsi ProxyWindow::frameMargins ( ) const
overridevirtual

Implements PlatformWindow.

◆ grabsMouse()

bool ProxyWindow::grabsMouse ( ) const
overridevirtual

Implements PlatformWindow.

◆ isResizable()

bool ProxyWindow::isResizable ( ) const
overridevirtual

Implements PlatformWindow.

◆ isVisible()

bool ProxyWindow::isVisible ( ) const
overridevirtual

Implements PlatformWindow.

◆ nativeHandle()

void * ProxyWindow::nativeHandle ( ) const
overridevirtual
Returns
Pointer to the native window, e.g. SDL_window on SDL.

Implements PlatformWindow.

◆ orientations()

PlatformWindowOrientations ProxyWindow::orientations ( )
overridevirtual

Implements PlatformWindow.

◆ position()

Pointi ProxyWindow::position ( ) const
overridevirtual

Implements PlatformWindow.

◆ resize()

void ProxyWindow::resize ( const Sizei size)
overridevirtual

Implements PlatformWindow.

◆ setGrabsMouse()

void ProxyWindow::setGrabsMouse ( bool  grabsMouse)
overridevirtual

Implements PlatformWindow.

◆ setOrientations()

void ProxyWindow::setOrientations ( PlatformWindowOrientations  orientations)
overridevirtual

Implements PlatformWindow.

◆ setPosition()

void ProxyWindow::setPosition ( const Pointi pos)
overridevirtual

Implements PlatformWindow.

◆ setResizable()

void ProxyWindow::setResizable ( bool  resizable)
overridevirtual

Implements PlatformWindow.

◆ setTitle()

void ProxyWindow::setTitle ( const std::string &  title)
overridevirtual

Implements PlatformWindow.

◆ setVisible()

void ProxyWindow::setVisible ( bool  visible)
overridevirtual

Implements PlatformWindow.

◆ setWindowMode()

void ProxyWindow::setWindowMode ( PlatformWindowMode  mode)
overridevirtual

Implements PlatformWindow.

◆ size()

Sizei ProxyWindow::size ( ) const
overridevirtual

Implements PlatformWindow.

◆ title()

std::string ProxyWindow::title ( ) const
overridevirtual

Implements PlatformWindow.

◆ windowMode()

PlatformWindowMode ProxyWindow::windowMode ( )
overridevirtual

Implements PlatformWindow.


The documentation for this class was generated from the following files: