72 static const char *
const buttonNames[] =
82 const int buttonPadding =
getOption(
"buttonpadding", 10);
83 int x = buttonPadding;
84 const int y = buttonPadding;
86 for (
const char *
const *curBtn = buttonNames;
138 const std::string &eventId =
event.getId();
139 if (eventId ==
"Buy")
144 if (being !=
nullptr)
154 else if (eventId ==
"Sell")
ActorManager * actorManager
const BeingId BeingId_negOne
Net::BuySellHandler * buySellHandler
Being * findBeing(const BeingId id) const
virtual void add(Widget *const widget)
std::list< BuySellDialog * > DialogList
BuySellDialog(const BeingId npcId)
static DialogList dialogInstances
void setVisible(Visible visible)
void action(const ActionEvent &event)
virtual void requestSellList(const std::string &nick) const =0
virtual void requestBuyList(const std::string &nick) const =0
virtual void buy(const Being *const being) const =0
virtual void sell(const BeingId beingId) const =0
void registerWindowForReset(Window *const window)
virtual void setVisible(Visible visible)
void setContentSize(int width, int height)
void setWindowName(const std::string &name)
int getOption(const std::string &name, const int def) const
void enableVisibleSound(bool b)
void setCloseButton(const bool flag)
virtual void scheduleDelete()
#define FOR_EACH(type, iter, array)
Net::NpcHandler * npcHandler
SetupWindow * setupWindow