OROCHI
 
Loading...
Searching...
No Matches
GxToolClassProperty.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 GxToolClassProperty : public GxToolBase
24{
25 //-------------------------------------------------------------
27 //-------------------------------------------------------------
29public:
30 // RTTI定義
31 GX_RTTI_CLASS_NAME_ICON_ATTRIBUTE( GxToolClassProperty, GxToolBase, "クラスプロパティ", GxRtti::ICON_TYPE::CORE, GxRtti::ATTRIBUTE_HIDE )
32 // ClassBaseReference継承クラス用禁止宣言
33 GX_PROHIBIT_CLASS_BASE_REFERENCE( GxToolClassProperty )
34
35
36 //-------------------------------------------------------------
38 //-------------------------------------------------------------
40
42 GxToolClassProperty( void );
43
45 b32 initialize( void ) override;
46
48 //-------------------------------------------------------------
50 //-------------------------------------------------------------
52
54 constexpr GxClassBaseRoot* getObject( void ) const { return _pObject; }
56 virtual void setObject( GxClassBaseRoot* pObject );
57
59 //-------------------------------------------------------------
61 //-------------------------------------------------------------
63public:
65 void update(void) override;
66
68 static GxToolClassProperty* search(GxClassBaseRoot* pObject);
69
70protected:
72 void onSize( const GxSize& size ) override;
73
75 virtual b32 isSameObject( GxClassBaseRoot* pObject );
76
78 void setFormProperty( void );
79
81 void updatePropertySearchStringCallback( const GxString& value );
82
84 //-------------------------------------------------------------
86 //-------------------------------------------------------------
88public:
90 GX_FORCE_INLINE void setSearchString( GX_CSTR string ) { _pGuiSearchBar->setSearchString(string); }
91
93 //-------------------------------------------------------------
95 //-------------------------------------------------------------
97protected:
98 GxGuiFormProperty* _pForm;
99 GxClassBaseRoot* _pObject;
100
101 GxGuiSplitter* _pGuiSplitter;
102 GxGuiPropertySearchBar* _pGuiSearchBar;
103
105};
106
107GX_CORE_NAMESPACE_END()
108#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
基底クラス
Definition GxBase.h:51
@ ATTRIBUTE_HIDE
GUIを表示しない
Definition GxRtti.h:188
サイズ
Definition GxStruct.h:730
文字列型クラス
Definition GxString.h:18
32bitブーリアン
Definition GxDefine.h:173