olcPixelGameEngine v2.29
The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects
Loading...
Searching...
No Matches
olc::Platform Class Referenceabstract

#include <olcPixelGameEngine.h>

Public Member Functions

virtual ~Platform ()=default
 
virtual olc::rcode ApplicationStartUp ()=0
 
virtual olc::rcode ApplicationCleanUp ()=0
 
virtual olc::rcode ThreadStartUp ()=0
 
virtual olc::rcode ThreadCleanUp ()=0
 
virtual olc::rcode CreateGraphics (bool bFullScreen, bool bEnableVSYNC, const olc::vi2d &vViewPos, const olc::vi2d &vViewSize)=0
 
virtual olc::rcode CreateWindowPane (const olc::vi2d &vWindowPos, olc::vi2d &vWindowSize, bool bFullScreen)=0
 
virtual olc::rcode SetWindowTitle (const std::string &s)=0
 
virtual olc::rcode ShowWindowFrame (const bool bShowFrame=true)=0
 
virtual olc::rcode SetWindowSize (const olc::vi2d &vWindowPos, const olc::vi2d &vWindowSize)=0
 
virtual olc::rcode StartSystemEventLoop ()=0
 
virtual olc::rcode HandleSystemEvent ()=0
 

Static Public Attributes

static olc::PixelGameEngineptrPGE
 

Constructor & Destructor Documentation

◆ ~Platform()

virtual olc::Platform::~Platform ( )
virtualdefault

Member Function Documentation

◆ ApplicationCleanUp()

virtual olc::rcode olc::Platform::ApplicationCleanUp ( )
pure virtual

◆ ApplicationStartUp()

virtual olc::rcode olc::Platform::ApplicationStartUp ( )
pure virtual

◆ CreateGraphics()

virtual olc::rcode olc::Platform::CreateGraphics ( bool bFullScreen,
bool bEnableVSYNC,
const olc::vi2d & vViewPos,
const olc::vi2d & vViewSize )
pure virtual

◆ CreateWindowPane()

virtual olc::rcode olc::Platform::CreateWindowPane ( const olc::vi2d & vWindowPos,
olc::vi2d & vWindowSize,
bool bFullScreen )
pure virtual

◆ HandleSystemEvent()

virtual olc::rcode olc::Platform::HandleSystemEvent ( )
pure virtual

◆ SetWindowSize()

virtual olc::rcode olc::Platform::SetWindowSize ( const olc::vi2d & vWindowPos,
const olc::vi2d & vWindowSize )
pure virtual

◆ SetWindowTitle()

virtual olc::rcode olc::Platform::SetWindowTitle ( const std::string & s)
pure virtual

◆ ShowWindowFrame()

virtual olc::rcode olc::Platform::ShowWindowFrame ( const bool bShowFrame = true)
pure virtual

◆ StartSystemEventLoop()

virtual olc::rcode olc::Platform::StartSystemEventLoop ( )
pure virtual

◆ ThreadCleanUp()

virtual olc::rcode olc::Platform::ThreadCleanUp ( )
pure virtual

◆ ThreadStartUp()

virtual olc::rcode olc::Platform::ThreadStartUp ( )
pure virtual

Member Data Documentation

◆ ptrPGE

olc::PixelGameEngine* olc::Platform::ptrPGE
static

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