Add FormSpec font styling options (#9763)
* Add FormSpec font styling options * Change multiplication to stof * Remove extraneous check
This commit is contained in:
@@ -788,6 +788,7 @@ void GUIButton::setFromStyle(const StyleSpec& style)
|
||||
setNotClipped(style.getBool(StyleSpec::NOCLIP, false));
|
||||
setDrawBorder(style.getBool(StyleSpec::BORDER, true));
|
||||
setUseAlphaChannel(style.getBool(StyleSpec::ALPHA, true));
|
||||
setOverrideFont(style.getFont());
|
||||
|
||||
if (style.isNotDefault(StyleSpec::BGIMG)) {
|
||||
video::ITexture *texture = style.getTexture(StyleSpec::BGIMG,
|
||||
|
||||
Reference in New Issue
Block a user