BlankMat 0.1.0
Free open-source 3D texture creation application
Loading...
Searching...
No Matches
IGUIWindow Class Referenceabstract
Inheritance diagram for IGUIWindow:

Public Member Functions

virtual void Draw ()=0
 
bool IsEnabled ()
 
void Enable ()
 
void Disable ()
 
bool ToggleEnabled ()
 
GUI GetType ()
 
const std::string GetName ()
 
void SetName (const std::string &name)
 
const glm::vec2 GetPos ()
 
void SetPos (const glm::vec2 &pos)
 

Protected Attributes

GUI mType = GUI::NONE
 
std::string mName = ""
 
glm::vec2 mScreenPos = glm::vec2(0, 0)
 
bool mIsEnabled = true
 

Member Function Documentation

◆ Disable()

void IGUIWindow::Disable ( )
inline

◆ Draw()

◆ Enable()

void IGUIWindow::Enable ( )
inline

◆ GetName()

const std::string IGUIWindow::GetName ( )
inline

◆ GetPos()

const glm::vec2 IGUIWindow::GetPos ( )
inline

◆ GetType()

GUI IGUIWindow::GetType ( )
inline

◆ IsEnabled()

bool IGUIWindow::IsEnabled ( )
inline

◆ SetName()

void IGUIWindow::SetName ( const std::string &  name)
inline

◆ SetPos()

void IGUIWindow::SetPos ( const glm::vec2 &  pos)
inline

◆ ToggleEnabled()

bool IGUIWindow::ToggleEnabled ( )
inline

Member Data Documentation

◆ mIsEnabled

bool IGUIWindow::mIsEnabled = true
protected

◆ mName

std::string IGUIWindow::mName = ""
protected

◆ mScreenPos

glm::vec2 IGUIWindow::mScreenPos = glm::vec2(0, 0)
protected

◆ mType

GUI IGUIWindow::mType = GUI::NONE
protected