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/sell.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/sell.h')
-rw-r--r-- | src/gui/sell.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h index c67a25b9..930f8bc1 100644 --- a/src/gui/sell.h +++ b/src/gui/sell.h @@ -82,7 +82,15 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener */ void setMoney(int amount); + /** + * Sets the visibility of this window. + */ void setVisible(bool visible); + + /** + * Closes the Buy Window, as well as resetting the current npc. + */ + void close(); private: /** * Updates the state of buttons and labels. @@ -92,6 +100,7 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener Network *mNetwork; gcn::Button *mSellButton; gcn::Button *mQuitButton; + gcn::Button *mAddMaxButton; gcn::Button *mIncreaseButton; gcn::Button *mDecreaseButton; ShopListBox *mShopItemList; |