#include <read_int_controller.h>
Public Member Functions | |
| ReadIntController (int maxlen, int screenX, int screenY) | |
| int | getInt () const |
Public Member Functions inherited from Ultima::Ultima4::ReadStringController | |
| ReadStringController (int maxlen, int screenX, int screenY, const Common::String &accepted_chars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 \n\r\010") | |
| ReadStringController (int maxlen, TextView *view, const Common::String &accepted_chars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 \n\r\010") | |
| bool | keyPressed (int key) override |
Public Member Functions inherited from Ultima::Ultima4::WaitableController< Common::String > | |
| WaitableController (Common::String defaultValue) | |
| virtual Common::String | getValue () |
| virtual Common::String | waitFor () |
| virtual bool | mousePressed (const Common::Point &mousePos) |
Public Member Functions inherited from Ultima::Ultima4::Controller | |
| Controller (int timerInterval=1) | |
| virtual bool | isCombatController () const |
| bool | notifyKeyPressed (int key) |
| bool | notifyMousePress (const Common::Point &mousePos) |
| int | getTimerInterval () |
| virtual void | setActive () |
| virtual bool | keyPressed (int key) |
| virtual bool | mousePressed (const Common::Point &mousePos) |
| virtual void | keybinder (KeybindingAction action) |
| virtual void | timerFired () |
| bool | shouldQuit () const |
Static Public Member Functions | |
| static int | get (int maxlen, int screenX, int screenY, EventHandler *eh=nullptr) |
Static Public Member Functions inherited from Ultima::Ultima4::ReadStringController | |
| static Common::String | get (int maxlen, int screenX, int screenY, EventHandler *eh=nullptr) |
| static Common::String | get (int maxlen, TextView *view, EventHandler *eh=nullptr) |
Static Public Member Functions inherited from Ultima::Ultima4::Controller | |
| static void | timerCallback (void *data) |
Additional Inherited Members | |
Protected Member Functions inherited from Ultima::Ultima4::WaitableController< Common::String > | |
| void | doneWaiting () |
Protected Attributes inherited from Ultima::Ultima4::ReadStringController | |
| int | _maxLen |
| int | _screenX |
| int | _screenY |
| TextView * | _view |
| Common::String | _accepted |
Protected Attributes inherited from Ultima::Ultima4::WaitableController< Common::String > | |
| Common::String | _value |
A controller to read a integer, terminated by the enter key. Non-numeric keys are ignored.