From 3f84fc198131ff706e18c56f612e38ff147b0005 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Aug 2011 20:13:14 +0300 Subject: Add support for copy text to clipboard (Ctrl+C). In X enviroments used xsel to copy string to clipboard. In windows used native clipboard api. MacOSX not supported. --- src/gui/widgets/textfield.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/textfield.h') diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h index 79197bb7a..79790d83a 100644 --- a/src/gui/widgets/textfield.h +++ b/src/gui/widgets/textfield.h @@ -99,6 +99,8 @@ class TextField : public gcn::TextField private: void handlePaste(); + void handleCopy(); + static int instances; static float mAlpha; static ImageRect skin; -- cgit v1.2.3-70-g09d2