24 #ifndef GUI_WINDOWS_EQUIPMENTWINDOW_H
25 #define GUI_WINDOWS_EQUIPMENTWINDOW_H
116 int addPage(
const std::string &name);
120 void addBox(
const int idx,
int x,
int y,
const int imageIndex);
124 void loadPage(XmlNodeConstPtr node);
126 void loadPlayerBox(XmlNodeConstPtr playerBoxNode,
const int page);
128 void loadSlot(XmlNodeConstPtr slotNode,
void setBeing(Being *const being)
ImageCollection * mVertexes
void setSelected(const int index)
std::vector< EquipmentPage * > mPages
const Item * getEquipment(const int i) const
void loadPlayerBox(const xmlNodePtr playerBoxNode, const int page)
void draw(Graphics *const graphics)
static void prepareSlotNames()
static StringIntMap mSlotNames
void mousePressed(MouseEvent &event)
static int parseSlotName(const std::string &name)
void loadSlot(const xmlNodePtr slotNode, const ImageSet *const imageset, const int page)
void action(const ActionEvent &event)
Image * mSlotHighlightedBackground
void mouseExited(MouseEvent &event)
EquipmentWindow(Equipment *const equipment, Being *const being, const bool foring)
void safeDraw(Graphics *const graphics)
void resetBeing(const Being *const being)
int addPage(const std::string &name)
void mouseReleased(MouseEvent &event)
const Item * getItem(const int x, const int y) const
void mouseMoved(MouseEvent &event)
void addBox(const int idx, int x, int y, const int imageIndex)
void loadWindow(const xmlNode *const windowNode)
void updateBeing(Being *const being)
void loadPage(const xmlNodePtr node)
const Item * getEquipment(const int index) const
EquipmentWindow * equipmentWindow
EquipmentWindow * beingEquipmentWindow
#define A_DELETE_COPY(func)
std::map< std::string, int > StringIntMap