From 2237e5cda55151147fa3b0d23a4d74fb7f07c1fe Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 2 Jun 2007 11:29:54 +0000 Subject: Some cleanup of buy/sell dialog code. --- src/gui/buy.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/buy.h') diff --git a/src/gui/buy.h b/src/gui/buy.h index b2b88c40..8f1893dc 100644 --- a/src/gui/buy.h +++ b/src/gui/buy.h @@ -93,6 +93,12 @@ class BuyDialog : public Window, public gcn::ActionListener, SelectionListener */ std::string getElementAt(int i); + /** + * Updates the state of buttons and labels. + */ + void + updateButtonsAndLabels(); + private: Network *mNetwork; gcn::Button *mBuyButton; -- cgit v1.2.3-70-g09d2