4 #include "../Maths/Vec2.h" 20 static void setWindow(std::string inTitle,
Vec2 inWindowPos,
Vec2 inWindowRes,
bool inFullscreen,
float inFrameRate);
26 static void setTitle(std::string inTitle);
static void setWindowRes(Vec2 inWindowRes)
A static function to set the resolution of the window.
Definition: WindowFrame.cpp:37
static void setWindowPos(Vec2 inWindowPos)
A static function to set the position of the window.
Definition: WindowFrame.cpp:32
static Vec2 windowPos
The position of the window.
Definition: WindowFrame.h:92
Contains the Vec2 structure with functions and overloaded operators.
Definition: Vec2.h:8
static void setTitle(std::string inTitle)
A static function to set the title of the window.
Definition: WindowFrame.cpp:27
static Vec2 getWindowPos()
A static function to get the position of the window.
Definition: WindowFrame.cpp:57
static float getFrameRate()
A static function to get the frame rate of the window.
Definition: WindowFrame.cpp:72
static void setFullscreen(bool inFullscreen)
A static function to set if the window should be fullscreen.
Definition: WindowFrame.cpp:42
static bool fullscreen
A boolean for if the window should be fullscreen.
Definition: WindowFrame.h:96
static std::string getTitle()
A static function to get the title of the window.
Definition: WindowFrame.cpp:52
static void setFrameRate(float inFrameRate)
A static function to set the frame rate of the window.
Definition: WindowFrame.cpp:47
static float getAspect()
A static function to get the aspect of the window.
Definition: WindowFrame.cpp:77
static Vec2 getWindowRes()
A static function to get the size of the window.
Definition: WindowFrame.cpp:62
static float frameRate
The wanted frame rate of the window.
Definition: WindowFrame.h:98
static bool getFullscreen()
A static function to get if the window should be fullscreen.
Definition: WindowFrame.cpp:67
static Vec2 windowRes
The resolution of the window.
Definition: WindowFrame.h:94
static void setWindow(std::string inTitle, Vec2 inWindowPos, Vec2 inWindowRes, bool inFullscreen, float inFrameRate)
A static function to set a Window.
Definition: WindowFrame.cpp:11
static std::string title
The window title.
Definition: WindowFrame.h:90
Contains details and functions for use with the window.
Definition: WindowFrame.h:9