#include <Label.h>
◆ Label()
◆ ~Label()
◆ Commands()
void UI::Label::Commands |
( |
nk_context * |
ctx | ) |
|
|
overridevirtual |
The draw commands for the label
- Parameters
-
ctx | - The nuklear context to draw to |
Implements UI::CanvasItem.
◆ SetAlignment()
void UI::Label::SetAlignment |
( |
nk_flags |
alignment | ) |
|
|
inline |
◆ SetText()
void UI::Label::SetText |
( |
std::string |
txt | ) |
|
|
inline |
◆ SetTextColor()
void UI::Label::SetTextColor |
( |
glm::vec4 |
color | ) |
|
|
inline |
◆ SetVerticalAlignment()
void UI::Label::SetVerticalAlignment |
( |
nk_flags |
alignment | ) |
|
|
inline |
◆ SetWrap()
void UI::Label::SetWrap |
( |
bool |
wrap | ) |
|
|
inline |
◆ m_font
◆ m_hAlignment
nk_flags UI::Label::m_hAlignment |
|
protected |
◆ m_text
std::string UI::Label::m_text |
|
protected |
◆ m_textColor
nk_color UI::Label::m_textColor |
|
protected |
◆ m_vAlignment
nk_flags UI::Label::m_vAlignment |
|
protected |
◆ m_wrap
The documentation for this class was generated from the following files:
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/CanvasItems/Label.h
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/CanvasItems/Label.cpp