OROCHI
 
Loading...
Searching...
No Matches
GxToolUnitProperty.h
Go to the documentation of this file.
1//===========================================================================
10//===========================================================================
11#pragma once
12
13#if GX_DEVELOP
14GX_CORE_NAMESPACE_BEGIN()
15
16//===========================================================================
18//===========================================================================
19class GxToolUnitProperty : public GxToolClassProperty
20{
21 //-------------------------------------------------------------
23 //-------------------------------------------------------------
25public:
26 // RTTI定義
27 GX_RTTI_CLASS_NAME_ICON( GxToolUnitProperty, GxToolClassProperty, "ユニットプロパティ", GxRtti::ICON_TYPE::CORE)
28 // ClassBaseReference継承クラス用禁止宣言
29 GX_PROHIBIT_CLASS_BASE_REFERENCE( GxToolUnitProperty )
30
31
32 //-------------------------------------------------------------
34 //-------------------------------------------------------------
36
38 GxToolUnitProperty(void);
39
41 //-------------------------------------------------------------
43 //-------------------------------------------------------------
45
47 static GxToolUnitProperty* create(GxUnitBase* pUnit, GxPoint2 point = GxPoint2(50, 30), GxSize size = GxSize(270, 450));
48
50 void expandProperty( const GxRtti& rtti, b32 isExpand );
51
53 GX_FORCE_INLINE b32 isAutoCreateEnable(void) const override { return false; }
54protected:
56 void update( void ) override;
58 void onDraw( void ) override;
60 void onReloadBegin(gx::core::GxGuiBase* pReloadGui, GxResBase* pReloadResource) override;
62 void onReload(gx::core::GxGuiBase* pReloadGui, GxResBase* pReloadResource) override;
63
65 //-------------------------------------------------------------
67 //-------------------------------------------------------------
69private:
70
72};
73
74GX_CORE_NAMESPACE_END()
75#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
リソース基底クラス
Definition GxResBase.h:23
実行時型情報クラス
Definition GxRtti.h:154
ユニット基礎クラス
Definition GxUnitBase.h:45
座標
Definition GxStruct.h:867
サイズ
Definition GxStruct.h:730
32bitブーリアン
Definition GxDefine.h:173