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/widgets/browserbox.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/widgets/browserbox.h') diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index 2f0313c37..fad731e5a 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -211,6 +211,9 @@ class BrowserBox final : public gcn::Widget, std::string getTextAtPos(const int x, const int y) const A_WARN_UNUSED; + int getPadding() const A_WARN_UNUSED + { return mPadding; } + private: int calcHeight() A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2