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

Method DecCursorPos

ogsr_engine/xrGame/ui/UILines.cpp:794–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794void CUILines::DecCursorPos()
795{
796 if (m_text.empty() || m_iCursorPos <= 0)
797 return;
798
799 if (m_text_mask.at(m_iCursorPos - 1))
800 m_iCursorPos -= 2;
801 else
802 m_iCursorPos--;
803}
804
805void CUILines::UpdateCursor()
806{

Callers 1

KeyPressedMethod · 0.80

Calls 2

atMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected