OROCHI
 
Loading...
Searching...
No Matches
GxToolResourceProperty.h
Go to the documentation of this file.
1//===========================================================================
10//===========================================================================
11#pragma once
12
13#if GX_DEVELOP
14
15GX_CORE_NAMESPACE_BEGIN()
16
17// 前方宣言
18class GxGuiFormProperty;
19
20//===========================================================================
22//===========================================================================
23class GxToolResourceProperty : public GxToolBase
24{
25 //-------------------------------------------------------------
27 //-------------------------------------------------------------
29public:
30 // RTTI定義
31 GX_RTTI_CLASS_NAME_ICON( GxToolResourceProperty, GxToolBase, "リソースプロパティ", GxRtti::ICON_TYPE::CORE)
32 // ClassBaseReference継承クラス用禁止宣言
33 GX_PROHIBIT_CLASS_BASE_REFERENCE( GxToolResourceProperty )
34
35
36 //-------------------------------------------------------------
38 //-------------------------------------------------------------
40
42 GxToolResourceProperty( void );
43
45 b32 initialize( void ) override;
46
48 void cleanup(void) override;
49
51 static void searchAndCreate( GxResBase* pResource );
52
54 //-------------------------------------------------------------
56 //-------------------------------------------------------------
58
60 void update( void ) override;
61
63 //-------------------------------------------------------------
65 //-------------------------------------------------------------
67
69 GX_FORCE_INLINE GxResBase* getResource(void) const { return _pResource; }
71 void setResource(GxResBase* pResource);
72
74 //-------------------------------------------------------------
76 //-------------------------------------------------------------
78private:
79 GxGuiFormProperty* _pForm;
80 GxResBase* _pResource;
81
83};
84
85GX_CORE_NAMESPACE_END()
86
87#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
リソース基底クラス
Definition GxResBase.h:23
32bitブーリアン
Definition GxDefine.h:173