diff options
author | Oleksiy Kurochko | 2012-02-22 17:15:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2012-03-25 12:21:38 +0300 |
commit | ec32ccb6d640439b71e154c4d48daeb8bd10ff92 (patch) | |
tree | 64f2738f78efd250b11354d0d6fa8e8bc1cb0314 /gui/widgets/editable.h | |
parent | 3b57dc916460537406f2ca60e1a3edb0d156bdea (diff) | |
download | scummvm-rg350-ec32ccb6d640439b71e154c4d48daeb8bd10ff92.tar.gz scummvm-rg350-ec32ccb6d640439b71e154c4d48daeb8bd10ff92.tar.bz2 scummvm-rg350-ec32ccb6d640439b71e154c4d48daeb8bd10ff92.zip |
GUI: Move predictive dialog to common gui
Diffstat (limited to 'gui/widgets/editable.h')
-rw-r--r-- | gui/widgets/editable.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gui/widgets/editable.h b/gui/widgets/editable.h index 4b51ac9145..7e453c1204 100644 --- a/gui/widgets/editable.h +++ b/gui/widgets/editable.h @@ -70,18 +70,17 @@ public: virtual void handleTickle(); virtual bool handleKeyDown(Common::KeyState state); - virtual void reflowLayout(); + bool setCaretPos(int newPos); + protected: virtual void startEditMode() = 0; virtual void endEditMode() = 0; - virtual void abortEditMode() = 0; - + virtual void abortEditMode() = 0; virtual Common::Rect getEditRect() const = 0; virtual int getCaretOffset() const; - void drawCaret(bool erase); - bool setCaretPos(int newPos); + void drawCaret(bool erase); bool adjustOffset(); void makeCaretVisible(); |