diff options
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r-- | src/gui/buy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h index 68d318eb..2ecf89e1 100644 --- a/src/gui/buy.h +++ b/src/gui/buy.h @@ -77,6 +77,11 @@ class BuyDialog : public Window, public gcn::ActionListener, void valueChanged(const gcn::SelectionEvent &event); /** + * Allows for quick-buying by extending double-click events. + */ + void mouseClicked(gcn::MouseEvent &mouseEvent); + + /** * Returns the name of item number i in the shop inventory. */ std::string getElementAt(int i); |