From 6e5d8181b830694a90bba7ad5651fa0b726e4a75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 30 Dec 2012 16:00:06 +0300 Subject: Add popup menu for text fields. This menu allow copy/paste text to/from clipboard. --- src/gui/viewport.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/viewport.h') 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. -- cgit v1.2.3-60-g2f50