summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcdialog.h')
-rw-r--r--src/gui/windows/npcdialog.h11
1 files changed, 11 insertions, 0 deletions
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<Image *> mImages;
ItemLinkHandler *mItemLinkHandler A_NONNULLPOINTER;
@@ -296,6 +305,8 @@ class NpcDialog final : public Window,
NpcInputState mInputState;
NpcActionState mActionState;
+ std::vector<Widget*> mSkinControls;
+ std::string mSkinName;
PlayerBox *mPlayerBox A_NONNULLPOINTER;
Being *mAvatarBeing;
int mLastNextTime;