diff options
Diffstat (limited to 'src/gui/guiEditBox.h')
-rw-r--r-- | src/gui/guiEditBox.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gui/guiEditBox.h b/src/gui/guiEditBox.h index c616d75d1..4c7413f54 100644 --- a/src/gui/guiEditBox.h +++ b/src/gui/guiEditBox.h @@ -130,13 +130,7 @@ public: //! called if an event happened. virtual bool OnEvent(const SEvent &event); - //! Writes attributes of the element. - virtual void serializeAttributes(io::IAttributes *out, - io::SAttributeReadWriteOptions *options) const; - - //! Reads attributes of the element - virtual void deserializeAttributes( - io::IAttributes *in, io::SAttributeReadWriteOptions *options); + virtual bool acceptsIME() { return isEnabled() && m_writable; }; protected: virtual void breakText() = 0; @@ -156,6 +150,7 @@ protected: virtual s32 getCursorPos(s32 x, s32 y) = 0; bool processKey(const SEvent &event); + virtual void inputString(const core::stringw &str); virtual void inputChar(wchar_t c); //! returns the line number that the cursor is on |