diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-29 01:36:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-29 14:10:28 +0300 |
commit | 4b0f30b1e1879cee6d65394d826bba21eca6c40b (patch) | |
tree | 14d16cadd1b8fe20bc0bfa2ea8974ff46b00b496 /src/gui/windows/mailedit.h | |
parent | 13920702c8a5e5b093d9a3ef5a5e8b254931915b (diff) | |
download | manaplus-4b0f30b1e1879cee6d65394d826bba21eca6c40b.tar.gz manaplus-4b0f30b1e1879cee6d65394d826bba21eca6c40b.tar.bz2 manaplus-4b0f30b1e1879cee6d65394d826bba21eca6c40b.tar.xz manaplus-4b0f30b1e1879cee6d65394d826bba21eca6c40b.zip |
Allos send items by mail.
Diffstat (limited to 'src/gui/windows/mailedit.h')
-rw-r--r-- | src/gui/windows/mailedit.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 |