orxonox::PickupInventory Class Reference

Static class for the inventory GUI window. More...

#include <src/orxonox/objects/pickup/PickupInventory.h>

List of all members.

Public Member Functions

void clearInventory (CEGUI::WindowManager *winMgr, CEGUI::Window *equipPane, CEGUI::Window *usablePane)
const bool isVisible () const
 PickupInventory ()
void setVisible (bool visible)
void updateEquipment (CEGUI::WindowManager *winMgr, CEGUI::Window *target)
void updateTabs (CEGUI::WindowManager *winMgr, CEGUI::Window *equipWindow, CEGUI::Window *usableWindow)
void updateUsable (CEGUI::WindowManager *winMgr, CEGUI::Window *target)
virtual ~PickupInventory ()

Static Public Member Functions

static void createItemWindows (CEGUI::WindowManager *winMgr, const std::string &id, int x, int y)
static unsigned int getCurrentUsableIndex ()
static unsigned int getEquipmentCount ()
static BaseItemgetEquipmentItem (unsigned int i)
static std::string getImageForItem (const BaseItem *item)
static unsigned int getPassiveCount ()
static BaseItemgetPassiveItem (unsigned int i)
static PickupInventorygetSingleton ()
static unsigned int getUsableCount ()
static BaseItemgetUsableItem (unsigned int i)
static bool isCurrentUsable (const BaseItem *item)
static void selectUsable (unsigned int i)
static void setWindowProperties (CEGUI::WindowManager *winMgr, CEGUI::Window *target, const std::string &id, const BaseItem *item, const std::string &textColour)
static void toggleInventory ()

Private Attributes

bool bInventoryVisible_
unsigned int createdEquipmentWindows_
unsigned int createdUsableWindows_
unsigned int visibleEquipmentWindows_
unsigned int visibleUsableWIndows_

Static Private Attributes

static PickupInventorypickupInventory_s = NULL


Detailed Description

Static class for the inventory GUI window.

Author:
Daniel 'Huty' Haggenmueller

Constructor & Destructor Documentation

orxonox::PickupInventory::PickupInventory (  ) 

orxonox::PickupInventory::~PickupInventory (  )  [virtual]


Member Function Documentation

void orxonox::PickupInventory::clearInventory ( CEGUI::WindowManager *  winMgr,
CEGUI::Window *  equipPane,
CEGUI::Window *  usablePane 
)

void orxonox::PickupInventory::createItemWindows ( CEGUI::WindowManager *  winMgr,
const std::string id,
int  x,
int  y 
) [static]

unsigned int orxonox::PickupInventory::getCurrentUsableIndex (  )  [static]

unsigned int orxonox::PickupInventory::getEquipmentCount (  )  [static]

BaseItem * orxonox::PickupInventory::getEquipmentItem ( unsigned int  i  )  [static]

std::string orxonox::PickupInventory::getImageForItem ( const BaseItem item  )  [static]

unsigned int orxonox::PickupInventory::getPassiveCount (  )  [static]

BaseItem * orxonox::PickupInventory::getPassiveItem ( unsigned int  i  )  [static]

PickupInventory * orxonox::PickupInventory::getSingleton (  )  [static]

unsigned int orxonox::PickupInventory::getUsableCount (  )  [static]

BaseItem * orxonox::PickupInventory::getUsableItem ( unsigned int  i  )  [static]

bool orxonox::PickupInventory::isCurrentUsable ( const BaseItem item  )  [static]

const bool orxonox::PickupInventory::isVisible (  )  const [inline]

Referenced by toggleInventory().

void orxonox::PickupInventory::selectUsable ( unsigned int  i  )  [static]

void orxonox::PickupInventory::setVisible ( bool  visible  )  [inline]

Referenced by toggleInventory().

void orxonox::PickupInventory::setWindowProperties ( CEGUI::WindowManager *  winMgr,
CEGUI::Window *  target,
const std::string id,
const BaseItem item,
const std::string textColour 
) [static]

void orxonox::PickupInventory::toggleInventory (  )  [static]

void orxonox::PickupInventory::updateEquipment ( CEGUI::WindowManager *  winMgr,
CEGUI::Window *  target 
)

void orxonox::PickupInventory::updateTabs ( CEGUI::WindowManager *  winMgr,
CEGUI::Window *  equipWindow,
CEGUI::Window *  usableWindow 
)

void orxonox::PickupInventory::updateUsable ( CEGUI::WindowManager *  winMgr,
CEGUI::Window *  target 
)


Member Data Documentation

Referenced by PickupInventory().

Referenced by PickupInventory(), and updateEquipment().

Referenced by PickupInventory(), and updateUsable().

Referenced by getSingleton().


The documentation for this class was generated from the following files:

Generated on Tue Jul 28 16:22:54 2009 for Orxonox by  doxygen 1.5.6