mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 11:36:22 +00:00
GRAPHICS: MACGUI: Exposed input text from the MacTextWindow
This commit is contained in:
parent
3e96a0909d
commit
81c26caaf8
@ -184,6 +184,13 @@ void MacTextWindow::drawInput() {
|
||||
updateCursorPos();
|
||||
}
|
||||
|
||||
void MacTextWindow::clearInput() {
|
||||
undrawCursor();
|
||||
|
||||
_cursorX = 0;
|
||||
_inputText.clear();
|
||||
}
|
||||
|
||||
//////////////////
|
||||
// Cursor stuff
|
||||
static void cursorTimerHandler(void *refCon) {
|
||||
|
@ -72,6 +72,9 @@ public:
|
||||
|
||||
void undrawCursor();
|
||||
|
||||
const Common::String getInput() { return _inputText; }
|
||||
void clearInput();
|
||||
|
||||
private:
|
||||
void drawInput();
|
||||
void updateCursorPos();
|
||||
|
Loading…
x
Reference in New Issue
Block a user