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

Public Member Functions

void Draw () override
 
 GUIToolbarWindow (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 fileNames [5] = { SELECT_ICON, MOVE_ICON, ROTATE_ICON, SCALE_ICON, EXTRUDE_ICON }
 
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

◆ GUIToolbarWindow()

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

Member Function Documentation

◆ Draw()

void GUIToolbarWindow::Draw ( )
inlineoverridevirtual

Implements IGUIWindow.

Member Data Documentation

◆ fileNames

const std::string GUIToolbarWindow::fileNames[5] = { SELECT_ICON, MOVE_ICON, ROTATE_ICON, SCALE_ICON, EXTRUDE_ICON }
protected

◆ mIconSize

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

◆ mScene

Scene* GUIToolbarWindow::mScene = nullptr
protected

◆ mState

State* GUIToolbarWindow::mState = nullptr
protected

◆ mTextureIDs

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