MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetCursorPos

Function GetCursorPos

KBotExt/imgui/imgui_internal.h:1112–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1110 bool HasSelection() const { return Stb.select_start != Stb.select_end; }
1111 void ClearSelection() { Stb.select_start = Stb.select_end = Stb.cursor; }
1112 int GetCursorPos() const { return Stb.cursor; }
1113 int GetSelectionStart() const { return Stb.select_start; }
1114 int GetSelectionEnd() const { return Stb.select_end; }
1115 void SelectAll() { Stb.select_start = 0; Stb.cursor = Stb.select_end = CurLenW; Stb.has_preferred_x = 0; }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected