14GX_CORE_NAMESPACE_BEGIN()
16class GxGuiFormUnitTreeBody;
21class GxGuiFormUnitTree : public GxGuiFormTreeBase
28 GX_RTTI_CLASS(GxGuiFormUnitTree, GxGuiFormTreeBase)
39 GxGuiFormUnitTree(
void );
41 GxGuiFormUnitTree( GxToolBase* pTool );
50 GxGuiFormTreeBodyBase* createTreeBody(
void )
override;
59 constexpr GxGuiFormUnitTreeBody* getGuiBody(
void )
const {
return _pGuiBody; }
67 GxGuiFormUnitTreeBody* _pGuiBody;
75class GxGuiFormUnitTreeBody :
public GxGuiFormTreeBodyBase
82 GX_RTTI_CLASS(GxGuiFormUnitTreeBody, GxGuiFormTreeBodyBase)
97 GxGuiFormUnitTreeBody(
void );
100 b32 initialize(
void )
override;
109 void onDragMouseUp( u32 button )
override;
116 void update(
void )
override;
119 void onDraw(
void )
override;
121 void postDraw(
void )
override;
124 void onDoubleClick(
const GxPoint2& position, u32 button )
override;
126 void onKeyDown( GxKeyboard::KEY key )
override;
129 void onDropFile(GX_CSTR pFilePath)
override;
132 void onMouseMove(
const GxPoint2& position )
override;
134 void onMouseDown(
const GxPoint2& position, u32 button )
override;
136 void onMouseUp(
const GxPoint2& position, u32 button )
override;
138 void onMouseLeave(
void )
override;
140 void onMouseWheel(
const GxPoint2& position, s32 rotate )
override;
144 void setControlIconRect( s32 clickIndex,
GxRect* pRect );
154 void eventCreateUnit(
void* pRtti );
156 void eventKillUnit(
void );
158 void eventCutUnit(
void );
160 void eventCopyUnit(
void );
162 void eventPasteUnit(
void );
164 void eventPasteUnitInner(
GxUnitBase* pUnit );
167 void createUnitInstance(
void);
169 void removeUnitInstance(
void);
171#if defined( _WINDOWS )
173 void eventRenameUnit(
void );
175 static LRESULT CALLBACK callbackDialog(HWND handleDialog, UINT message, WPARAM wParam, LPARAM lParam);
179 void eventOnUpdateUnit(
void);
181 void eventOffUpdateUnit(
void);
183 void eventOnRenderUnit(
void);
185 void eventOffRenderUnit(
void);
193 void addSelectNode(
GxUnitBase* pUnit,
b32 isExistsCheck =
true );
195 void removeSelectNode(
GxUnitBase* pUnit,
b32 isExistsCheck =
true );
197 void eraseAllSelectNode(
void );
199 void updateSelectNodeArray(
GxUnitBase* pUnit );
202 void addClickNode(
GxUnitBase* pUnit,
b32 isExistsCheck =
true );
204 void removeClickNode(
GxUnitBase* pUnit,
b32 isExistsCheck =
true );
206 void updateClickNodeArray(
GxUnitBase* pUnit );
209 void addSearchOnClickNode(
GxUnitBase* pUnit );
211 void removeAllSearchClickNode(
void );
216 void createToolUnitProperty(
b32 isForce);
219 static b32 findSearchString(
GxUnitBase* pUnit, GX_CSTR searchString );
221 static b32 findSearchStringChildren(
GxUnitBase* pUnit, GX_CSTR searchString );
223 static b32 findSearchStringChildrenInner(
GxUnitBase* pUnit, GX_CSTR searchString );
241 constexpr void setRootUnitArray(
GxArrayClassBase* pArray) { _pRootUnitArray = pArray; }
251 s32 _lastClickNodeIndex;
252 s32 _insertNodeIndex;
254 b32 _isRunningDragNode;
255 b32 _isAbleToDragNode;
256 b32 _isForceSetRootParent;
257 b32 _isCreatingToolUnitProperty;
262 GxToolUnitProperty* _pToolUnitProperty;
267GX_CORE_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
配列クラス
Definition GxArrayClassBase.h:18
ハンドラ基本クラス
Definition GxCallback.h:27
static constexpr u32 VALUE_2K
2K
Definition GxMath.h:130
プロパティテーブルクラス
Definition GxProperty.h:1641
実行時型情報クラス
Definition GxRtti.h:154
ユニット基礎クラス
Definition GxUnitBase.h:45
座標
Definition GxStruct.h:867
矩形
Definition GxStruct.h:951
32bitブーリアン
Definition GxDefine.h:173