diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-30 16:00:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-30 16:00:06 +0300 |
commit | 6e5d8181b830694a90bba7ad5651fa0b726e4a75 (patch) | |
tree | 27c2cc174c5b327a75604c1c99a270143879be7c /src/gui/viewport.h | |
parent | 8a24c37deef374bf138569d50221e34fbc97ee98 (diff) | |
download | manaplus-6e5d8181b830694a90bba7ad5651fa0b726e4a75.tar.gz manaplus-6e5d8181b830694a90bba7ad5651fa0b726e4a75.tar.bz2 manaplus-6e5d8181b830694a90bba7ad5651fa0b726e4a75.tar.xz manaplus-6e5d8181b830694a90bba7ad5651fa0b726e4a75.zip |
Add popup menu for text fields.
This menu allow copy/paste text to/from clipboard.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 7cf02aecf..6953a3827 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -46,6 +46,7 @@ class PopupMenu; class ProgressBar; class StatusPopup; class TextCommand; +class TextField; class TextPopup; class Window; @@ -182,6 +183,8 @@ class Viewport final : public WindowContainer, void showMapPopup(const int x, const int y); + void showTextFieldPopup(TextField *input); + /** * Closes the popup menu. Needed for when the player dies or switching * maps. |