MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setDefaultFont

Method setDefaultFont

source/windowing/StarGuiContext.cpp:376–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void GuiContext::setDefaultFont() {
377 textPainter()->setFont("");
378}
379
380TextStyle& GuiContext::setTextStyle(TextStyle const& textStyle, int pixelRatio) {
381 TextStyle& setStyle = textPainter()->setTextStyle(textStyle);

Callers 2

JsonEditorMethod · 0.80
renderImplMethod · 0.80

Calls 1

setFontMethod · 0.45

Tested by

no test coverage detected