From 6073c6da086f3d1eec0fed731dc3fa5d8808fa0d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Aug 2015 16:12:52 +0300 Subject: Add missing checks or attributes to windows. --- src/gui/windows/textcommandeditor.h | 55 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 28 deletions(-) (limited to 'src/gui/windows/textcommandeditor.h') diff --git a/src/gui/windows/textcommandeditor.h b/src/gui/windows/textcommandeditor.h index 604971419..2e04e4fbf 100644 --- a/src/gui/windows/textcommandeditor.h +++ b/src/gui/windows/textcommandeditor.h @@ -69,34 +69,33 @@ class TextCommandEditor final : public Window, bool mIsMagicCommand; - TextCommand *mCommand; - RadioButton *mIsMagic; - RadioButton *mIsOther; - Label *mSymbolLabel; - TextField *mSymbolTextField; - Label *mCommandLabel; - TextField *mCommandTextField; - Label *mCommentLabel; - TextField *mCommentTextField; - TargetTypeModel *mTargetTypeModel; - Label *mTypeLabel; - DropDown *mTypeDropDown; - IconsModel *mIconsModel; - Label *mIconLabel; - DropDown *mIconDropDown; - Label *mManaLabel; - IntTextField *mManaField; - Label *mMagicLvlLabel; - IntTextField *mMagicLvlField; - MagicSchoolModel *mMagicSchoolModel; - Label *mSchoolLabel; - DropDown *mSchoolDropDown; - Label *mSchoolLvlLabel; - IntTextField *mSchoolLvlField; - - Button *mCancelButton; - Button *mSaveButton; - Button *mDeleteButton; + TextCommand* mCommand; + RadioButton* mIsMagic A_NONNULLPOINTER; + RadioButton* mIsOther A_NONNULLPOINTER; + Label* mSymbolLabel A_NONNULLPOINTER; + TextField* mSymbolTextField A_NONNULLPOINTER; + Label* mCommandLabel A_NONNULLPOINTER; + TextField* mCommandTextField A_NONNULLPOINTER; + Label* mCommentLabel A_NONNULLPOINTER; + TextField* mCommentTextField A_NONNULLPOINTER; + TargetTypeModel* mTargetTypeModel A_NONNULLPOINTER; + Label* mTypeLabel A_NONNULLPOINTER; + DropDown* mTypeDropDown A_NONNULLPOINTER; + IconsModel* mIconsModel A_NONNULLPOINTER; + Label* mIconLabel A_NONNULLPOINTER; + DropDown* mIconDropDown A_NONNULLPOINTER; + Label* mManaLabel A_NONNULLPOINTER; + IntTextField* mManaField A_NONNULLPOINTER; + Label* mMagicLvlLabel A_NONNULLPOINTER; + IntTextField* mMagicLvlField A_NONNULLPOINTER; + MagicSchoolModel* mMagicSchoolModel A_NONNULLPOINTER; + Label* mSchoolLabel A_NONNULLPOINTER; + DropDown* mSchoolDropDown A_NONNULLPOINTER; + Label* mSchoolLvlLabel A_NONNULLPOINTER; + IntTextField* mSchoolLvlField A_NONNULLPOINTER; + Button* mCancelButton A_NONNULLPOINTER; + Button* mSaveButton A_NONNULLPOINTER; + Button* mDeleteButton A_NONNULLPOINTER; bool mEnabledKeyboard; }; -- cgit v1.2.3-60-g2f50