MCPcopy Create free account
hub / github.com/SpartanJ/eepp / updateFontStyleConfig

Method updateFontStyleConfig

src/eepp/ui/uitextinput.cpp:372–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void UITextInput::updateFontStyleConfig() {
373 if ( mPassCache ) {
374 mPassCache->setFontSize( mFontStyleConfig.CharacterSize );
375 mPassCache->setFont( mFontStyleConfig.getFont() );
376 mPassCache->setFillColor( mFontStyleConfig.getFontColor() );
377 mPassCache->setShadowColor( mFontStyleConfig.getFontShadowColor() );
378 mPassCache->setOutlineColor( mFontStyleConfig.getOutlineColor() );
379 mPassCache->setOutlineThickness( mFontStyleConfig.getOutlineThickness() );
380 }
381}
382
383void UITextInput::onFontChanged() {
384 UITextView::onFontChanged();

Callers

nothing calls this directly

Calls 8

setShadowColorMethod · 0.80
getOutlineThicknessMethod · 0.80
setFontSizeMethod · 0.45
setFontMethod · 0.45
getFontMethod · 0.45
setFillColorMethod · 0.45
setOutlineColorMethod · 0.45
setOutlineThicknessMethod · 0.45

Tested by

no test coverage detected