#include <text_input.h>
|
| TextInput (GameBase *game) |
|
void | draw () override |
|
void | show (const Point &pt, bool isNumeric, size_t maxCharacters, byte color, TreeItem *respondTo=nullptr) |
|
| VisualItem (TreeItem *parent=nullptr) |
|
| VisualItem (const Rect &r, TreeItem *parent=nullptr) |
|
| VisualItem (const Common::String &name, TreeItem *parent=nullptr) |
|
| VisualItem (const Common::String &name, const Rect &r, TreeItem *parent=nullptr) |
|
VisualSurface | getSurface () |
|
const Rect & | getBounds () |
|
void | setBounds (const Rect &r) |
|
void | setPosition (const Point &pt) |
|
virtual void | setDirty (bool dirty=true) |
|
void | clearDirty () |
|
virtual bool | isDirty () const |
|
void | setView (const Common::String &viewName) |
|
void | setPopup (Gfx::Popup *popup) |
|
void | setView () |
|
| NamedItem (const Common::String &name) |
|
const Common::String | getName () const override |
|
virtual bool | isEquals (const Common::String &name, int maxLen=0) const |
|
virtual int | compareTo (const Common::String &name, int maxLen=0) const |
|
virtual void | viewChange () |
|
TreeItem * | getParent () const |
|
Game * | getGame () |
|
const Game * | getGame () const |
|
Gfx::VisualItem * | getView () |
|
TreeItem * | getNextSibling () const |
|
TreeItem * | getPriorSibling () const |
|
TreeItem * | getLastSibling () |
|
TreeItem * | getFirstChild () const |
|
TreeItem * | getLastChild () const |
|
TreeItem * | scan (TreeItem *item) const |
|
TreeItem * | findChildInstanceOf (const ClassDef &classDef) const |
|
TreeItem * | findNextInstanceOf (const ClassDef &classDef, TreeItem *startItem) const |
|
void | addUnder (TreeItem *newParent) |
|
void | addChild (TreeItem *child) |
|
void | setParent (TreeItem *newParent) |
|
void | addSibling (TreeItem *item) |
|
void | moveUnder (TreeItem *newParent) |
|
void | destroyAll () |
|
int | destroyChildren () |
|
void | detach () |
|
void | attach (TreeItem *item) |
|
NamedItem * | findByName (const Common::String &name) |
|
virtual ::Ultima::Shared::ClassDef | getType () const |
|
bool | isInstanceOf (const ClassDef &classDef) const |
|
◆ draw()
void Ultima::Shared::Gfx::TextInput::draw |
( |
| ) |
|
|
overridevirtual |
◆ show()
void Ultima::Shared::Gfx::TextInput::show |
( |
const Point & |
pt, |
|
|
bool |
isNumeric, |
|
|
size_t |
maxCharacters, |
|
|
byte |
color, |
|
|
TreeItem * |
respondTo = nullptr |
|
) |
| |
Show the text input
- Parameters
-
pt | Position of the input |
maxCharacters | Maximum length of input |
color | Text color |
respondTo | Element to send any response to when the popup closes. If not provided, any response goes to the active view |
The documentation for this class was generated from the following file: