summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-20 16:12:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 16:12:52 +0300
commit6073c6da086f3d1eec0fed731dc3fa5d8808fa0d (patch)
treeeb4b3ee40202a8b982de3772152643e70ebd4118 /src/gui/windows/npcdialog.h
parentcc939bec81af517d0e430064d872e3388116d16e (diff)
downloadplus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.gz
plus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.bz2
plus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.xz
plus-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.zip
Add missing checks or attributes to windows.
Diffstat (limited to 'src/gui/windows/npcdialog.h')
-rw-r--r--src/gui/windows/npcdialog.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index cdb5bff2a..3bc2aabcb 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -241,36 +241,36 @@ class NpcDialog final : public Window,
std::string mDefaultString;
// Used for the main input area
- BrowserBox *mTextBox;
- ScrollArea *mScrollArea;
+ BrowserBox *mTextBox A_NONNULLPOINTER;
+ ScrollArea *mScrollArea A_NONNULLPOINTER;
std::string mText;
std::string mNewText;
// Used for choice input
- ExtendedListBox *mItemList;
- ScrollArea *mListScrollArea;
+ ExtendedListBox *mItemList A_NONNULLPOINTER;
+ ScrollArea *mListScrollArea A_NONNULLPOINTER;
StringVect mItems;
std::vector<Image *> mImages;
- ItemLinkHandler *mItemLinkHandler;
+ ItemLinkHandler *mItemLinkHandler A_NONNULLPOINTER;
// Used for string and integer input
- TextField *mTextField;
- IntTextField *mIntField;
- Button *mPlusButton;
- Button *mMinusButton;
- Button *mClearButton;
+ TextField *mTextField A_NONNULLPOINTER;
+ IntTextField *mIntField A_NONNULLPOINTER;
+ Button *mPlusButton A_NONNULLPOINTER;
+ Button *mMinusButton A_NONNULLPOINTER;
+ Button *mClearButton A_NONNULLPOINTER;
// Used for the button
- Button *mButton;
- Button *mButton2;
- Button *mButton3;
+ Button *mButton A_NONNULLPOINTER;
+ Button *mButton2 A_NONNULLPOINTER;
+ Button *mButton3 A_NONNULLPOINTER;
// Will reset the text and integer input to the provided default
- Button *mResetButton;
+ Button *mResetButton A_NONNULLPOINTER;
- Inventory *mInventory;
- ItemContainer *mItemContainer;
- ScrollArea *mItemScrollArea;
+ Inventory *mInventory A_NONNULLPOINTER;
+ ItemContainer *mItemContainer A_NONNULLPOINTER;
+ ScrollArea *mItemScrollArea A_NONNULLPOINTER;
enum NpcInputState
{
@@ -291,7 +291,7 @@ class NpcDialog final : public Window,
NpcInputState mInputState;
NpcActionState mActionState;
- PlayerBox *mPlayerBox;
+ PlayerBox *mPlayerBox A_NONNULLPOINTER;
Being *mAvatarBeing;
int mLastNextTime;
int mCameraMode;