Subscenes
This commit is contained in:
@ -57,6 +57,10 @@ void UILabel::setFontSize(float_t fontSize) {
|
||||
this->needsRebuffering = true;
|
||||
}
|
||||
|
||||
float_t UILabel::getFontSize() {
|
||||
return this->fontSize;
|
||||
}
|
||||
|
||||
float_t UILabel::getContentWidth() {
|
||||
this->updateMesh();
|
||||
return this->measure.getWidth();
|
||||
|
@ -68,6 +68,13 @@ namespace Dawn {
|
||||
*/
|
||||
void setFontSize(float_t fontSize);
|
||||
|
||||
/**
|
||||
* Get the labels' current font size.
|
||||
*
|
||||
* @return Font size of the label.
|
||||
*/
|
||||
float_t getFontSize();
|
||||
|
||||
~UILabel();
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user