MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / Platform

Class Platform

olcPixelGameEngine.h:1284–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1282 };
1283
1284 class Platform
1285 {
1286 public:
1287 virtual ~Platform() = default;
1288 virtual olc::rcode ApplicationStartUp() = 0;
1289 virtual olc::rcode ApplicationCleanUp() = 0;
1290 virtual olc::rcode ThreadStartUp() = 0;
1291 virtual olc::rcode ThreadCleanUp() = 0;
1292 virtual olc::rcode CreateGraphics(bool bFullScreen, bool bEnableVSYNC, const olc::vi2d& vViewPos, const olc::vi2d& vViewSize) = 0;
1293 virtual olc::rcode CreateWindowPane(const olc::vi2d& vWindowPos, olc::vi2d& vWindowSize, bool bFullScreen) = 0;
1294 virtual olc::rcode SetWindowTitle(const std::string& s) = 0;
1295 virtual olc::rcode ShowWindowFrame(const bool bShowFrame = true) = 0;
1296 virtual olc::rcode SetWindowSize(const olc::vi2d& vWindowPos, const olc::vi2d& vWindowSize) = 0;
1297 virtual olc::rcode StartSystemEventLoop() = 0;
1298 virtual olc::rcode HandleSystemEvent() = 0;
1299 static olc::PixelGameEngine* ptrPGE;
1300 };
1301
1302 class PGEX;
1303

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected