#include <Button.h>
◆ Button()
◆ ~Button()
◆ Commands()
void UI::Button::Commands |
( |
nk_context * |
ctx | ) |
|
|
overridevirtual |
The draw commands for the label
- Parameters
-
ctx | - The nuklear context to draw to |
Implements UI::CanvasItem.
◆ SetActiveButtonColor()
void UI::Button::SetActiveButtonColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetActiveTextColor()
void UI::Button::SetActiveTextColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetBorderColor()
void UI::Button::SetBorderColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetCallback()
void UI::Button::SetCallback |
( |
boost::function< void(void)> |
callback | ) |
|
|
inline |
◆ SetHoverButtonColor()
void UI::Button::SetHoverButtonColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetHoverTextColor()
void UI::Button::SetHoverTextColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetNormalButtonColor()
void UI::Button::SetNormalButtonColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetNormalTextColor()
void UI::Button::SetNormalTextColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetText()
void UI::Button::SetText |
( |
std::string |
txt | ) |
|
|
inline |
◆ m_borderColor
nk_color UI::Button::m_borderColor |
|
protected |
◆ m_buttonActive
nk_color UI::Button::m_buttonActive |
|
protected |
◆ m_buttonHover
nk_color UI::Button::m_buttonHover |
|
protected |
◆ m_buttonNormal
nk_color UI::Button::m_buttonNormal |
|
protected |
◆ m_callback
boost::function<void(void)> UI::Button::m_callback |
|
protected |
◆ m_font
◆ m_text
std::string UI::Button::m_text |
|
protected |
◆ m_textActive
nk_color UI::Button::m_textActive |
|
protected |
◆ m_textHover
nk_color UI::Button::m_textHover |
|
protected |
◆ m_textNormal
nk_color UI::Button::m_textNormal |
|
protected |
◆ m_wrap
The documentation for this class was generated from the following files:
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/CanvasItems/Button.h
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/CanvasItems/Button.cpp