From 9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 5 Nov 2006 01:47:44 +0000 Subject: Added item's pictures in sell dialogs, and precisions about the total money in it. --- src/gui/shop.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/gui/shop.h') diff --git a/src/gui/shop.h b/src/gui/shop.h index 0736003b..006c0146 100644 --- a/src/gui/shop.h +++ b/src/gui/shop.h @@ -73,11 +73,16 @@ class ShopItems : public gcn::ListModel ITEM_SHOP at(int i); /** - * Clear the vector and delete the pictures' instances. + * Clear the vector. */ void clear(); -// private: // This is to be readded as soon as the sell dialog is redone. + /** + * Direct access to the vector + */ + std::vector getShop(); + + private: std::vector mItemsShop; }; -- cgit v1.2.3-70-g09d2