14GX_CORE_NAMESPACE_BEGIN()
19class GxGuiFormGuiTree : public GxGuiFormTreeBase
26 GX_RTTI_CLASS(GxGuiFormGuiTree, GxGuiFormTreeBase)
37 GxGuiFormGuiTree(
void );
39 GxGuiFormGuiTree( GxToolBase* pTool );
48 GxGuiFormTreeBodyBase* createTreeBody(
void )
override;
56class GxGuiFormGuiTreeBody :
public GxGuiFormTreeBodyBase
63 GX_RTTI_CLASS(GxGuiFormGuiTreeBody, GxGuiFormTreeBodyBase)
78 GxGuiFormGuiTreeBody(
void );
81 b32 initialize(
void )
override;
90 void update(
void )
override;
93 void onDraw(
void )
override;
96 void onDoubleClick(
const GxPoint2& position, u32 button )
override;
98 void onMouseDown(
const GxPoint2& position, u32 button )
override;
101 void onMouseWheel(
const GxPoint2& position, s32 rotate )
override;
105 void setControlIconRect( s32 clickIndex,
GxRect* pRect );
107 void setMarkIconRect( GxGuiBase* pGui, s32 clickIndex,
GxRect* pRect );
110 void addSelectNode( GxGuiBase* pGui,
b32 isExistsCheck =
true );
112 void removeSelectNode( GxGuiBase* pGui,
b32 isExistsCheck =
true );
114 void eraseAllSelectNode(
void );
116 void updateSelectNodeArray( GxGuiBase* pGui );
119 void addClickNode( GxGuiBase* pGui,
b32 isExistsCheck =
true );
121 void removeClickNode( GxGuiBase* pGui,
b32 isExistsCheck =
true );
123 void updateClickNodeArray( GxGuiBase* pGui );
126 void addSearchOnClickNode( GxGuiBase* pGui );
128 void removeAllSearchClickNode(
void );
130 b32 isOpenChildren( GxGuiBase* pGui )
const;
133 void createToolGuiProperty(
void );
136 static b32 findSearchString( GxGuiBase* pGui, GX_CSTR searchString );
138 static b32 findSearchStringChildren( GxGuiBase* pGui, GX_CSTR searchString );
140 static b32 findSearchStringChildrenInner( GxGuiBase* pGui, GX_CSTR searchString, GxGuiBase* pFindRoot );
143 b32 isDrawControlIcon( GxGuiBase* pGui )
const;
146 void drawTree( GxGuiBase* pGui,
const u32 depth,
GxRect& rect );
148 void drawNode( GxGuiBase* pGui,
const u32 depth,
const GxRect& rect );
163GX_CORE_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
配列クラス
Definition GxArrayClassBase.h:18
基底クラス
Definition GxBase.h:51
static constexpr u32 VALUE_512
512
Definition GxMath.h:128
座標
Definition GxStruct.h:867
矩形
Definition GxStruct.h:951
32bitブーリアン
Definition GxDefine.h:173