public |
Inheritance Graph
graph BT
Label
Label --> Component
click Label "classGUI_1_1Label"
click Component "classGUI_1_1Component"
Description
Public Functions
Label( GUI_Manager & gui, const std::string & text, flag_t flags) | |
Label( GUI_Manager & gui, const Geometry::Rect & r, const std::string & text, flag_t flags) | |
~Label() | |
void | setText(const std::string & newText) |
const std::string & | getText() const |
void | setTextStyle(unsigned int style) |
void | setTextStyle(unsigned int style, bool b) |
void | setColor(const Util::Color4ub & newColor) |
void | setFont( AbstractFont * newFont) |
Documentation
function
GUI::Label::Label
public |
Label( | GUI_Manager & | gui, |
const std::string & | text, | |
flag_t | flags | |
) |
Defined in GUI/Components/Label.h:28
function
GUI::Label::Label
public |
Label( | GUI_Manager & | gui, |
const Geometry::Rect & | r, | |
const std::string & | text, | |
flag_t | flags | |
) |
Defined in GUI/Components/Label.h:29
function
GUI::Label::~Label
public | virtual |
~Label( | ) |
Defined in GUI/Components/Label.h:30
function
GUI::Label::setText
public |
void setText( | const std::string & | newText ) |
Defined in GUI/Components/Label.h:32
function
GUI::Label::getText
public | const | inline |
const std::string & getText( | ) const |
Defined in GUI/Components/Label.h:33
function
GUI::Label::setTextStyle
public | inline |
void setTextStyle( | unsigned int | style ) |
Defined in GUI/Components/Label.h:35
function
GUI::Label::setTextStyle
public | inline |
void setTextStyle( | unsigned int | style, |
bool | b | |
) |
Defined in GUI/Components/Label.h:36
function
GUI::Label::setColor
public |
void setColor( | const Util::Color4ub & | newColor ) |
Defined in GUI/Components/Label.h:37
function
GUI::Label::setFont
public |
void setFont( | AbstractFont * | newFont ) |
Defined in GUI/Components/Label.h:38