BlankMat 0.1.0
Free open-source 3D texture creation application
Loading...
Searching...
No Matches
Window Class Reference

Public Member Functions

 Window (int width, int height, const std::string &name, Config *config)
 
void DrawGUI (State *state)
 
void AddGUI (IGUIWindow *gui)
 
IGUIWindowGetGUI (GUI type)
 
bool IsGUIOpen (GUI type)
 
void OpenGUI (GUI gui)
 
void LoadGUIs ()
 
void UpdateWindowTitle (const std::string &fileName, bool isSaved)
 
void ResetViewport ()
 
void CalcWindowSize ()
 
void Quit ()
 
GLFWwindow * GetWindow () const
 
InputGetInput () const
 
SceneIOGetSceneIO () const
 
SceneGetScene () const
 
StateGetState () const
 
int GetWidth () const
 
int GetHeight () const
 
float GetAspect () const
 

Constructor & Destructor Documentation

◆ Window()

Window::Window ( int  width,
int  height,
const std::string &  name,
Config config 
)

Member Function Documentation

◆ AddGUI()

void Window::AddGUI ( IGUIWindow gui)

◆ CalcWindowSize()

void Window::CalcWindowSize ( )
inline

◆ DrawGUI()

void Window::DrawGUI ( State state)

◆ GetAspect()

float Window::GetAspect ( ) const
inline

◆ GetGUI()

IGUIWindow * Window::GetGUI ( GUI  type)

◆ GetHeight()

int Window::GetHeight ( ) const
inline

◆ GetInput()

Input * Window::GetInput ( ) const
inline

◆ GetScene()

Scene * Window::GetScene ( ) const
inline

◆ GetSceneIO()

SceneIO * Window::GetSceneIO ( ) const
inline

◆ GetState()

State * Window::GetState ( ) const
inline

◆ GetWidth()

int Window::GetWidth ( ) const
inline

◆ GetWindow()

GLFWwindow * Window::GetWindow ( ) const
inline

◆ IsGUIOpen()

bool Window::IsGUIOpen ( GUI  type)

◆ LoadGUIs()

void Window::LoadGUIs ( )

◆ OpenGUI()

void Window::OpenGUI ( GUI  gui)

◆ Quit()

void Window::Quit ( )
inline

◆ ResetViewport()

void Window::ResetViewport ( )
inline

◆ UpdateWindowTitle()

void Window::UpdateWindowTitle ( const std::string &  fileName,
bool  isSaved 
)