MCPcopy Create free account
hub / github.com/MyGUI/mygui / setFontHeight

Method setFontHeight

MyGUIEngine/src/MyGUI_EditText.cpp:250–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 }
249
250 void EditText::setFontHeight(int _value)
251 {
252 mCustomFontHeight = _value;
253 if (!mCustomFontHeight && mFont)
254 mFontHeight = mFont->getDefaultHeight();
255 else
256 mFontHeight = _value;
257 mTextOutDate = true;
258
259 if (nullptr != mNode)
260 mNode->outOfDate(mRenderItem);
261 }
262
263 int EditText::getFontHeight() const
264 {

Callers

nothing calls this directly

Calls 2

getDefaultHeightMethod · 0.45
outOfDateMethod · 0.45

Tested by

no test coverage detected