#include <popupmenu.h>
Definition at line 36 of file popupmenu.h.
Public Member Functions | |
PopupMenu () | |
Constructor. | |
void | showPopup (int x, int y, Being *being) |
Shows the being related popup menu at the specified mouse coords. | |
void | showPopup (int x, int y, FloorItem *floorItem) |
Shows the floor item related popup menu at the specified mouse coords. | |
void | showPopup (int x, int y, Item *item) |
Shows the related popup menu when right click on the inventory at the specified mouse coordinates. | |
void | handleLink (const std::string &link) |
Handles link action. | |
Private Member Functions | |
void | showPopup (int x, int y) |
Shared code for the various showPopup functions. | |
Private Attributes | |
BrowserBox * | mBrowserBox |
int | mBeingId |
FloorItem * | mFloorItem |
Item * | mItem |
PopupMenu::PopupMenu | ( | ) |
void PopupMenu::showPopup | ( | int | x, | |
int | y, | |||
Being * | being | |||
) |
Shows the being related popup menu at the specified mouse coords.
Definition at line 66 of file popupmenu.cpp.
void PopupMenu::showPopup | ( | int | x, | |
int | y, | |||
FloorItem * | floorItem | |||
) |
Shows the floor item related popup menu at the specified mouse coords.
Definition at line 147 of file popupmenu.cpp.
void PopupMenu::showPopup | ( | int | x, | |
int | y, | |||
Item * | item | |||
) |
Shows the related popup menu when right click on the inventory at the specified mouse coordinates.
Definition at line 327 of file popupmenu.cpp.
void PopupMenu::handleLink | ( | const std::string & | link | ) | [virtual] |
void PopupMenu::showPopup | ( | int | x, | |
int | y | |||
) | [private] |
BrowserBox* PopupMenu::mBrowserBox [private] |
Definition at line 67 of file popupmenu.h.
int PopupMenu::mBeingId [private] |
Definition at line 69 of file popupmenu.h.
FloorItem* PopupMenu::mFloorItem [private] |
Definition at line 70 of file popupmenu.h.
Item* PopupMenu::mItem [private] |
Definition at line 71 of file popupmenu.h.