Practical Tools for Simple Design
Loading...
Searching...
No Matches
Core::Context Class Reference

Public Member Functions

 Context ()
 Initialize context for SDL, OpenGL, and create a window.
 Context (const Context &)=delete
 Context (Context &&)=delete
Contextoperator= (const Context &)=delete
Contextoperator= (Context &&)=delete
bool GetExit () const
unsigned int GetWindowWidth () const
unsigned int GetWindowHeight () const
void SetExit (bool exit)
void SetWindowWidth (unsigned int width)
void SetWindowHeight (unsigned int height)
void SetWindowIcon (const std::string &path)
void Setup ()
void Update ()

Static Public Member Functions

static std::shared_ptr< ContextGetInstance ()

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