#include <menu_input.h>
Public Member Functions | |
| void | setup (uint maxLength, int col, int row) |
| void | reset () |
| const Common::String & | text () const |
| virtual bool | handleKey (const KeypressMessage &msg) |
| void | draw (GfxSurface &s, bool active) const |
Protected Attributes | |
| Common::String | _text |
| uint | _maxLength = 0 |
| int | _col = 0 |
| int | _row = 0 |
A line of text being typed at a cell position, with the cursor following it
|
virtual |
Handles a keypress, returning true once the entry has been accepted
Reimplemented in Ultima::Ultima3::Views::NumberInput.