MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Update

Method Update

ogsr_engine/xrGame/ui/UIEditKeyBind.cpp:148–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void CUIEditKeyBind::Update()
149{
150 CUILabel::Update();
151
152 m_bTextureAvailable = m_bCursorOverWindow;
153 if (m_bEditMode)
154 {
155 m_pAnimation->Update();
156 m_lines.SetTextColor((subst_alpha(m_lines.GetTextColor(), color_get_A(m_pAnimation->GetColor()))));
157 }
158}
159
160void CUIEditKeyBind::Register(const char* entry, const char* group)
161{

Callers

nothing calls this directly

Calls 6

UpdateFunction · 0.85
subst_alphaFunction · 0.85
color_get_AFunction · 0.85
SetTextColorMethod · 0.45
GetTextColorMethod · 0.45
GetColorMethod · 0.45

Tested by

no test coverage detected