From 4b0f30b1e1879cee6d65394d826bba21eca6c40b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Apr 2015 01:36:13 +0300 Subject: Allos send items by mail. --- src/gui/windows/mailedit.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/gui/windows/mailedit.h') diff --git a/src/gui/windows/mailedit.h b/src/gui/windows/mailedit.h index 5cd482a53..57ae40828 100644 --- a/src/gui/windows/mailedit.h +++ b/src/gui/windows/mailedit.h @@ -29,7 +29,11 @@ class Button; class IntTextField; +class Inventory; +class Item; +class ItemContainer; class Label; +class ScrollArea; class TextField; class MailEdit final : public Window, @@ -44,18 +48,27 @@ class MailEdit final : public Window, void action(const ActionEvent &event) override final; + void addItem(const Item *const item, const int amount); + private: Button *mSendButton; Button *mCloseButton; + Button *mAddButton; Label *mToLabel; Label *mSubjectLabel; Label *mMoneyLabel; + Label *mItemLabel; Label *mMessageLabel; TextField *mToField; TextField *mSubjectField; IntTextField *mMoneyField; TextField *mMessageField; + Inventory *mInventory; + ItemContainer *mItemContainer; + ScrollArea *mItemScrollArea; }; +extern MailEdit *mailEditWindow; + #endif // EATHENA_SUPPORT #endif // GUI_WINDOWS_MAILEDIT_H -- cgit v1.2.3-60-g2f50