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

Public Member Functions

void Draw () override
 
 GUIMenuBarWindow (Input *input, Config *config, 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 Member Functions

void ShowFileMenu ()
 
void ShowEditMenu ()
 
void ShowViewMenu ()
 
void ShowCreateMenu ()
 
void ShowRenderingMenu ()
 
const char * GetHotkey (const std::string &command)
 

Protected Attributes

InputmInput = nullptr
 
std::unordered_map< std::string, std::string > mHotkeys
 
- 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

◆ GUIMenuBarWindow()

GUIMenuBarWindow::GUIMenuBarWindow ( Input input,
Config config,
bool  isEnabled 
)
inline

Member Function Documentation

◆ Draw()

void GUIMenuBarWindow::Draw ( )
inlineoverridevirtual

Implements IGUIWindow.

◆ GetHotkey()

const char * GUIMenuBarWindow::GetHotkey ( const std::string &  command)
inlineprotected

◆ ShowCreateMenu()

void GUIMenuBarWindow::ShowCreateMenu ( )
inlineprotected

◆ ShowEditMenu()

void GUIMenuBarWindow::ShowEditMenu ( )
inlineprotected

◆ ShowFileMenu()

void GUIMenuBarWindow::ShowFileMenu ( )
inlineprotected

◆ ShowRenderingMenu()

void GUIMenuBarWindow::ShowRenderingMenu ( )
inlineprotected

◆ ShowViewMenu()

void GUIMenuBarWindow::ShowViewMenu ( )
inlineprotected

Member Data Documentation

◆ mHotkeys

std::unordered_map<std::string, std::string> GUIMenuBarWindow::mHotkeys
protected

◆ mInput

Input* GUIMenuBarWindow::mInput = nullptr
protected