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

Public Member Functions

void Draw () override
 
 GUIToolModeWindow (State *state, Scene *scene, bool isEnabled)
 
- Public Member Functions inherited from IGUIWindow
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

StatemState = nullptr
 
ScenemScene = nullptr
 
ImVec2 mIconSize = ImVec2(50, 50)
 
const std::string mModeFileNames [3] = { "Mesh.png", "Vert.png", "Face.png" }
 
std::vector< unsigned int > mTextureIDs
 
- Protected Attributes inherited from IGUIWindow
GUI mType = GUI::NONE
 
std::string mName = ""
 
glm::vec2 mScreenPos = glm::vec2(0, 0)
 
bool mIsEnabled = true
 

Constructor & Destructor Documentation

◆ GUIToolModeWindow()

GUIToolModeWindow::GUIToolModeWindow ( State state,
Scene scene,
bool  isEnabled 
)
inline

Member Function Documentation

◆ Draw()

void GUIToolModeWindow::Draw ( )
inlineoverridevirtual

Implements IGUIWindow.

Member Data Documentation

◆ mIconSize

ImVec2 GUIToolModeWindow::mIconSize = ImVec2(50, 50)
protected

◆ mModeFileNames

const std::string GUIToolModeWindow::mModeFileNames[3] = { "Mesh.png", "Vert.png", "Face.png" }
protected

◆ mScene

Scene* GUIToolModeWindow::mScene = nullptr
protected

◆ mState

State* GUIToolModeWindow::mState = nullptr
protected

◆ mTextureIDs

std::vector<unsigned int> GUIToolModeWindow::mTextureIDs
protected