From 2433741a77ba0f08f4243a9482d3cf95cfe9edf3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 27 Oct 2015 17:31:26 +0300 Subject: Impliment npc menu skins based on previous commits. --- src/gui/windows/npcdialog.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/gui/windows/npcdialog.h') diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h index 4f6a0f3cf..6c6ea7fba 100644 --- a/src/gui/windows/npcdialog.h +++ b/src/gui/windows/npcdialog.h @@ -35,6 +35,7 @@ class Being; class Button; class BrowserBox; +class Container; class ExtendedListBox; class ItemLinkHandler; class Inventory; @@ -233,12 +234,18 @@ class NpcDialog final : public Window, void placeMenuControls(); + void placeSkinControls(); + void placeTextInputControls(); void placeIntInputControls(); void placeItemInputControls(); + void createSkinControls(); + + void deleteSkinControls(); + BeingId mNpcId; int mDefaultInt; @@ -253,6 +260,8 @@ class NpcDialog final : public Window, // Used for choice input ExtendedListBox *mItemList A_NONNULLPOINTER; ScrollArea *mListScrollArea A_NONNULLPOINTER; + Container *mSkinContainer A_NONNULLPOINTER; + ScrollArea *mSkinScrollArea A_NONNULLPOINTER; StringVect mItems; std::vector mImages; ItemLinkHandler *mItemLinkHandler A_NONNULLPOINTER; @@ -296,6 +305,8 @@ class NpcDialog final : public Window, NpcInputState mInputState; NpcActionState mActionState; + std::vector mSkinControls; + std::string mSkinName; PlayerBox *mPlayerBox A_NONNULLPOINTER; Being *mAvatarBeing; int mLastNextTime; -- cgit v1.2.3-70-g09d2