GRAPHICS: MACGUI: Exposed input text from the MacTextWindow

This commit is contained in:
Eugene Sandulenko 2017-07-31 20:01:39 +02:00
parent 3e96a0909d
commit 81c26caaf8
2 changed files with 10 additions and 0 deletions

View file

@ -184,6 +184,13 @@ void MacTextWindow::drawInput() {
updateCursorPos();
}
void MacTextWindow::clearInput() {
undrawCursor();
_cursorX = 0;
_inputText.clear();
}
//////////////////
// Cursor stuff
static void cursorTimerHandler(void *refCon) {