|
| ConsoleDialog (float widthPercent, float heightPercent) |
|
void | open () override |
|
void | close () override |
|
void | drawDialog (DrawLayer layerToDraw) override |
|
void | handleTickle () override |
|
void | reflowLayout () override |
|
void | handleMouseWheel (int x, int y, int direction) override |
|
void | handleKeyDown (Common::KeyState state) override |
|
void | handleCommand (CommandSender *sender, uint32 cmd, uint32 data) override |
|
void | handleOtherEvent (const Common::Event &evt) override |
|
void | handleMouseDown (int x, int y, int button, int clickCount) override |
|
void | handleMouseMoved (int x, int y, int button) override |
|
void | handleMouseUp (int x, int y, int button, int clickCount) override |
|
int | printFormat (int dummy, MSVC_PRINTF const char *format,...) GCC_PRINTF(3 |
|
int int | vprintFormat (int dummy, const char *format, va_list argptr) |
|
void | printChar (int c) |
|
void | setInputCallback (InputCallbackProc proc, void *refCon) |
|
void | setCompletionCallback (CompletionCallbackProc proc, void *refCon) |
|
int | getCharsPerLine () |
|
void | setPrompt (Common::String prompt) |
|
void | resetPrompt () |
|
void | clearBuffer () |
|
| Dialog (int x, int y, int w, int h, bool scale=false) |
|
| Dialog (const Common::String &name) |
|
virtual int | runModal () |
|
bool | isVisible () const override |
|
bool | isMouseUpdatedOnFocus () const |
|
void | releaseFocus () override |
|
void | setFocusWidget (Widget *widget) |
|
Widget * | getFocusWidget () |
|
bool | isDragging () const |
|
void | setTickleWidget (Widget *widget) |
|
void | unSetTickleWidget () |
|
Widget * | getTickleWidget () |
|
void | reflowLayout () override |
|
virtual void | lostFocus () |
|
virtual void | receivedFocus (int x=-1, int y=-1) |
|
| GuiObject (int x, int y, int w, int h, bool scale=false) |
|
| GuiObject (const Common::String &name) |
|
virtual void | setTextDrawableArea (const Common::Rect &r) |
|
virtual void | resize (int x, int y, int w, int h, bool scale=true) |
|
virtual Widget * | addChild (Widget *newChild) |
|
virtual int16 | getRelX () const |
|
virtual int16 | getRelY () const |
|
virtual int16 | getAbsX () const |
|
virtual int16 | getAbsY () const |
|
virtual int16 | getChildX () const |
|
virtual int16 | getChildY () const |
|
virtual uint16 | getWidth () const |
|
virtual uint16 | getHeight () const |
|
virtual bool | isPointIn (int x, int y) |
|
virtual Common::Rect | getClipRect () const |
|
virtual void | handleTooltipUpdate (int x, int y) |
|
|
void | loadHistory () |
|
void | saveHistory () |
|
void | slideUpAndClose () |
|
char & | buffer (int idx) |
|
void | init () |
|
int | pos2line (int pos) |
|
void | drawLine (int line) |
|
void | drawCaret (bool erase) |
|
void | printCharIntern (int c) |
|
void | insertIntoPrompt (const char *str) |
|
void | print (const char *str) |
|
void | updateScrollBuffer () |
|
void | scrollToCurrent () |
|
Common::String | getUserInput () |
|
void | defaultKeyDownHandler (Common::KeyState &state) |
|
void | specialKeys (Common::KeyCode keycode) |
|
void | nextLine () |
|
void | killChar () |
|
void | killLine () |
|
void | killLastWord () |
|
void | addToHistory (const Common::String &str) |
|
void | historyScroll (int direction) |
|
void | markWidgetsAsDirty () |
|
void | drawWidgets () |
|
virtual void | handleKeyUp (Common::KeyState state) |
|
virtual void | handleMouseLeft (int button) |
|
void | handleCommand (CommandSender *sender, uint32 cmd, uint32 data) override |
|
Widget * | findWidget (int x, int y) |
|
Widget * | findWidget (const char *name) |
|
void | removeWidget (Widget *widget) override |
|
void | setMouseUpdatedOnFocus (bool mouseUpdatedOnFocus) |
|
void | setDefaultFocusedWidget () |
|
void | setResult (int result) |
|
int | getResult () const |
|