#include <equipmentwindow.h>

Definition at line 39 of file equipmentwindow.h.
Public Types | |
| enum | EquipmentSlots { EQUIP_LEGS_SLOT = 0, EQUIP_FIGHT1_SLOT, EQUIP_GLOVES_SLOT, EQUIP_RING2_SLOT, EQUIP_RING1_SLOT, EQUIP_FIGHT2_SLOT, EQUIP_FEET_SLOT, EQUIP_CAPE_SLOT, EQUIP_HEAD_SLOT, EQUIP_TORSO_SLOT, EQUIP_AMMO_SLOT, EQUIP_VECTOREND } |
Public Member Functions | |
| EquipmentWindow () | |
| Constructor. | |
| ~EquipmentWindow () | |
| Destructor. | |
| void | draw (gcn::Graphics *graphics) |
| Draws the equipment window. | |
| void | action (const gcn::ActionEvent &event) |
| void | mousePressed (gcn::MouseEvent &mouseEvent) |
| Starts window resizing when appropriate. | |
Private Member Functions | |
| void | mouseExited (gcn::MouseEvent &event) |
| When the mouse leaves the window this ensures that the custom cursor is restored back to it's standard image. | |
| void | mouseMoved (gcn::MouseEvent &event) |
| Implements custom cursor image changing context, based on mouse relative position. | |
| Item * | getItem (int x, int y) const |
Private Attributes | |
| Equipment * | mEquipment |
| EquipBox | mEquipBox [EQUIP_VECTOREND] |
| Equipment Boxes. | |
| ItemPopup * | mItemPopup |
| int | mSelected |
| Index of selected item. | |
Classes | |
| struct | EquipBox |
| Equipment box. More... | |
Definition at line 82 of file equipmentwindow.h.
| EquipmentWindow::EquipmentWindow | ( | ) |
| EquipmentWindow::~EquipmentWindow | ( | ) |
| void EquipmentWindow::draw | ( | gcn::Graphics * | graphics | ) |
Draws the equipment window.
Reimplemented from Window.
Definition at line 112 of file equipmentwindow.cpp.
| void EquipmentWindow::action | ( | const gcn::ActionEvent & | event | ) |
Definition at line 165 of file equipmentwindow.cpp.
| void EquipmentWindow::mousePressed | ( | gcn::MouseEvent & | event | ) |
Starts window resizing when appropriate.
Reimplemented from Window.
Definition at line 202 of file equipmentwindow.cpp.
| void EquipmentWindow::mouseExited | ( | gcn::MouseEvent & | event | ) | [private] |
When the mouse leaves the window this ensures that the custom cursor is restored back to it's standard image.
Reimplemented from Window.
Definition at line 265 of file equipmentwindow.cpp.
| void EquipmentWindow::mouseMoved | ( | gcn::MouseEvent & | event | ) | [private] |
Implements custom cursor image changing context, based on mouse relative position.
Reimplemented from Window.
Definition at line 243 of file equipmentwindow.cpp.
| Item * EquipmentWindow::getItem | ( | int | x, | |
| int | y | |||
| ) | const [private] |
Definition at line 181 of file equipmentwindow.cpp.
Equipment* EquipmentWindow::mEquipment [private] |
Definition at line 105 of file equipmentwindow.h.
EquipBox EquipmentWindow::mEquipBox[EQUIP_VECTOREND] [private] |
ItemPopup* EquipmentWindow::mItemPopup [private] |
Definition at line 121 of file equipmentwindow.h.
int EquipmentWindow::mSelected [private] |
1.5.5