hoa_shop::private_shop Namespace Reference


Classes

class  ConfirmWindow
 Displays the object's icon, name, and a sale confirmation message. More...
class  ObjectInfoWindow
 Displays detailed information about a selected object. More...
class  ObjectListWindow
 A window containing a list of objects and their price. More...
class  ObjectSellListWindow
 A window containing a list of current inventory and selling price. More...
class  ShopActionWindow
 Represents the top window in shop mode which contains the main shop actions. More...

Enumerations

enum  SHOP_STATE {
  SHOP_STATE_INVALID = -1, SHOP_STATE_ACTION = 0, SHOP_STATE_LIST = 1, SHOP_STATE_SELL = 2,
  SHOP_STATE_CONFIRM = 3, SHOP_STATE_TOTAL = 4
}
 Used to indicate what window has control of user input. More...

Variables

ShopModecurrent_shop
 A pointer to the currently active shop mode This is used by the various shop classes so that they can refer back to the main class from which they are a part of. This member is initially set to NULL. It is set whenever the ShopMode constructor is invoked, and reset back to NULL when the ShopMode destructor is invoked.
ShopModecurrent_shop = NULL
 A pointer to the currently active shop mode This is used by the various shop classes so that they can refer back to the main class from which they are a part of. This member is initially set to NULL. It is set whenever the ShopMode constructor is invoked, and reset back to NULL when the ShopMode destructor is invoked.


Enumeration Type Documentation

enum hoa_shop::private_shop::SHOP_STATE

Used to indicate what window has control of user input.

Enumerator:
SHOP_STATE_INVALID 
SHOP_STATE_ACTION 
SHOP_STATE_LIST 
SHOP_STATE_SELL 
SHOP_STATE_CONFIRM 
SHOP_STATE_TOTAL 

Definition at line 44 of file shop.h.


Variable Documentation

ShopMode* hoa_shop::private_shop::current_shop

A pointer to the currently active shop mode This is used by the various shop classes so that they can refer back to the main class from which they are a part of. This member is initially set to NULL. It is set whenever the ShopMode constructor is invoked, and reset back to NULL when the ShopMode destructor is invoked.

Definition at line 48 of file shop.cpp.

Referenced by hoa_shop::private_shop::ObjectSellListWindow::Clear(), hoa_shop::private_shop::ObjectListWindow::Draw(), hoa_shop::private_shop::ObjectSellListWindow::Draw(), hoa_shop::private_shop::ConfirmWindow::Draw(), hoa_shop::private_shop::ObjectListWindow::RefreshList(), hoa_shop::ShopMode::ShopMode(), hoa_shop::private_shop::ShopActionWindow::Update(), hoa_shop::private_shop::ObjectListWindow::Update(), hoa_shop::private_shop::ObjectSellListWindow::Update(), hoa_shop::private_shop::ConfirmWindow::Update(), hoa_shop::private_shop::ShopActionWindow::UpdateFinanceText(), hoa_shop::private_shop::ObjectSellListWindow::UpdateSellList(), and hoa_shop::ShopMode::~ShopMode().

ShopMode* hoa_shop::private_shop::current_shop = NULL

A pointer to the currently active shop mode This is used by the various shop classes so that they can refer back to the main class from which they are a part of. This member is initially set to NULL. It is set whenever the ShopMode constructor is invoked, and reset back to NULL when the ShopMode destructor is invoked.

Definition at line 48 of file shop.cpp.

Referenced by hoa_shop::private_shop::ObjectSellListWindow::Clear(), hoa_shop::private_shop::ConfirmWindow::Draw(), hoa_shop::private_shop::ObjectSellListWindow::Draw(), hoa_shop::private_shop::ObjectListWindow::Draw(), hoa_shop::private_shop::ObjectListWindow::RefreshList(), hoa_shop::ShopMode::ShopMode(), hoa_shop::private_shop::ConfirmWindow::Update(), hoa_shop::private_shop::ObjectSellListWindow::Update(), hoa_shop::private_shop::ObjectListWindow::Update(), hoa_shop::private_shop::ShopActionWindow::Update(), hoa_shop::private_shop::ShopActionWindow::UpdateFinanceText(), hoa_shop::private_shop::ObjectSellListWindow::UpdateSellList(), and hoa_shop::ShopMode::~ShopMode().


Generated on Fri Jul 6 23:15:54 2007 for Hero of Allacrost by  doxygen 1.5.1