summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailedit.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-29 01:36:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-29 14:10:28 +0300
commit4b0f30b1e1879cee6d65394d826bba21eca6c40b (patch)
tree14d16cadd1b8fe20bc0bfa2ea8974ff46b00b496 /src/gui/windows/mailedit.h
parent13920702c8a5e5b093d9a3ef5a5e8b254931915b (diff)
downloadmanaverse-4b0f30b1e1879cee6d65394d826bba21eca6c40b.tar.gz
manaverse-4b0f30b1e1879cee6d65394d826bba21eca6c40b.tar.bz2
manaverse-4b0f30b1e1879cee6d65394d826bba21eca6c40b.tar.xz
manaverse-4b0f30b1e1879cee6d65394d826bba21eca6c40b.zip
Allos send items by mail.
Diffstat (limited to 'src/gui/windows/mailedit.h')
-rw-r--r--src/gui/windows/mailedit.h13
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