diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-19 20:20:11 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-19 20:20:11 -0600 |
commit | abffda81e5bab1fbf4870238e803bb5bae9d0df0 (patch) | |
tree | 661e6d5de6bc258b5fc2366bc5f46b0d73a7bdf6 /src/gui/buy.h | |
parent | abeaa1184ae1f30adeeb6684748b3cf8e3f16b11 (diff) | |
download | mana-abffda81e5bab1fbf4870238e803bb5bae9d0df0.tar.gz mana-abffda81e5bab1fbf4870238e803bb5bae9d0df0.tar.bz2 mana-abffda81e5bab1fbf4870238e803bb5bae9d0df0.tar.xz mana-abffda81e5bab1fbf4870238e803bb5bae9d0df0.zip |
Reformatted the item amount window and the buy/sell windows so that
their guis are similarly laid out.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r-- | src/gui/buy.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h index 08697889..ffd3f5c9 100644 --- a/src/gui/buy.h +++ b/src/gui/buy.h @@ -96,11 +96,20 @@ class BuyDialog : public Window, public gcn::ActionListener, */ void updateButtonsAndLabels(); + /** + * Sets the visibility of this window. + */ void setVisible(bool visible); + + /** + * Closes the Buy Window, as well as resetting the current npc. + */ + void close(); private: Network *mNetwork; gcn::Button *mBuyButton; gcn::Button *mQuitButton; + gcn::Button *mAddMaxButton; gcn::Button *mIncreaseButton; gcn::Button *mDecreaseButton; ShopListBox *mShopItemList; |