15GX_CORE_NAMESPACE_BEGIN()
20class GxToolFlagManager : public GxToolResourceEditBase
33 static const u32 FORM_POSITION_X;
35 static const u32 FORM_POSITION_Y;
37 static const u32 FORM_WIDTH;
39 static const u32 FORM_HEIGHT;
46 struct GxFlagControlParam;
47 class GxFlagInformation;
48 class GxFlagCategoryInformation;
58 GX_RTTI_STRUCT(GxFlagControlParameter)
97 GxFlagInformation(
void ) : _id(-1), _flagName(nullptr), _flagDefineName(nullptr), _pCategory(nullptr){}
106 void getPropertyFlag(
void*
const pValue );
108 void setPropertyFlag(
const void*
const pValue );
118 GX_CSTR _flagDefineName;
119 GxFlagCategoryInformation* _pCategory;
125 class GxFlagCategoryInformation :
public GxClassBase
132 GX_RTTI_CLASS(GxFlagCategoryInformation,
GxClassBase)
141 void getPropertyFlagList(
void*
const pValue, u32 index);
143 void setPropertyFlagList(
const void*
const pValue, u32 index);
145 u32 getPropertyFlagListCount(
void)
const;
147 GX_FORCE_INLINE
void setPropertyFlagListCount(u32 ) {}
160 GxFlagInformation _flagList[ FLAG_INFORMATION_WORK_NUM ];
172 GxToolFlagManager(
void );
181 b32 initialize(
void)
override;
184 void update(
void)
override;
187 void setResource(
GxResBase* pResource )
override;
196 static void loadAndSetting( GX_CSTR path,
const GxRtti& rtti );
203 void save(
void )
override;
206 void saveAs( u32 attribute )
override;
209 void createCategory(
void );
217 GxFlagCategoryInformation _flagCategoryInfo[ FLAG_CATEGORY_MAX ];
218 u32 _categoryInformationCount;
221 b32 _isRequestUpdate;
226GX_CORE_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE(__CLASS__)
GxClassBase継承の禁止宣言
Definition GxBase.h:240
ハンドラ基本クラス
Definition GxCallback.h:27
オブジェクト基底クラス
Definition GxBase.h:88
static constexpr u32 VALUE_512
512
Definition GxMath.h:128
static constexpr u32 VALUE_8
8
Definition GxMath.h:122
リソース基底クラス
Definition GxResBase.h:23
セルシートリソースクラス
Definition GxResCellSheet.h:19
実行時型情報クラス
Definition GxRtti.h:154
文字列型クラス
Definition GxString.h:18
32bitブーリアン
Definition GxDefine.h:173