MCPcopy Create free account
hub / github.com/VCVRack/Rack / getTextPosition

Method getTextPosition

src/ui/TextField.cpp:319–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319int TextField::getTextPosition(math::Vec mousePos) {
320 return bndTextFieldTextPosition(APP->window->vg, 0.0, 0.0, box.size.x, box.size.y, -1, text.c_str(), mousePos.x, mousePos.y);
321}
322
323std::string TextField::getText() {
324 return text;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected