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

Method renderImpl

source/windowing/StarLabelWidget.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void LabelWidget::renderImpl() {
91 context()->setTextStyle(m_style);
92 context()->renderInterfaceText(m_text, {Vec2F(screenPosition()), m_hAnchor, m_vAnchor, m_wrapWidth, m_textCharLimit});
93}
94
95void LabelWidget::updateTextRegion() {
96 context()->setTextStyle(m_style);

Callers

nothing calls this directly

Calls 2

setTextStyleMethod · 0.80
renderInterfaceTextMethod · 0.80

Tested by

no test coverage detected