summaryrefslogtreecommitdiff
path: root/src/gui/buy.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-02 11:29:54 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-02 11:29:54 +0000
commit2237e5cda55151147fa3b0d23a4d74fb7f07c1fe (patch)
treebeea58a6442dedcf0a9517bf6b65ce1b8da4c741 /src/gui/buy.h
parent00d3e974e0cd9da6806c80526f8d0f47ddf01dd2 (diff)
downloadmana-2237e5cda55151147fa3b0d23a4d74fb7f07c1fe.tar.gz
mana-2237e5cda55151147fa3b0d23a4d74fb7f07c1fe.tar.bz2
mana-2237e5cda55151147fa3b0d23a4d74fb7f07c1fe.tar.xz
mana-2237e5cda55151147fa3b0d23a4d74fb7f07c1fe.zip
Some cleanup of buy/sell dialog code.
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r--src/gui/buy.h6
1 files changed, 6 insertions, 0 deletions
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;