OROCHI
 
Loading...
Searching...
No Matches
GxGuiPropertyMatrix.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//===========================================================================
19//===========================================================================
20class GxGuiPropertyMatrix : public GxGuiPropertyClass
21{
22 //-----------------------------------------------------------
24 //-----------------------------------------------------------
26public:
27 GX_RTTI_CLASS(GxGuiPropertyMatrix, GxGuiPropertyClass)
28 // ClassBaseReference継承クラス用禁止宣言
29 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiPropertyMatrix)
30
31
32 //-----------------------------------------------------------
34 //-----------------------------------------------------------
36public:
38 GxGuiPropertyMatrix(void);
40 GxGuiPropertyMatrix(const GxProperty& property, GxTypedObject* pOwner, u32 index = 0 );
41
43 b32 initialize(void) override;
44
46 //-----------------------------------------------------------
48 //-----------------------------------------------------------
50public:
52 void update( void ) override;
53
55 void onExpand( b32 on ) override;
56
58 void createGuiList( void );
59
60protected:
62 GxSize getUseRegionSizeChildGui(void) const override;
63
65 void updateRegionChildGui(const GxRect& rect) override;
66
68 void eventHandleOn(void);
69
71 void eventHandleOff(void);
72
74 //-----------------------------------------------------------
76 //-----------------------------------------------------------
78public:
80 constexpr GxGuiButtonHandle* getGuiButtonHandle( void ) const { return _pGuiButtonHandle; }
81
83 void setParentMatrix( const GxMatrix44* pMatrix );
85 void setParentMatrix( const GxMatrixAffine* pMatrix );
86
88 //-----------------------------------------------------------
90 //-----------------------------------------------------------
92protected:
93 GxGuiButtonHandle* _pGuiButtonHandle;
94
95 GxVector3 _handlePosition;
96 GxQuaternion _handleQuaternion;
97
98 s32 _columnCount;
99 s32 _rowCount;
100
102};
103
104GX_CORE_NAMESPACE_END()
105
106#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
void GxTypedObject
その他
Definition GxDefine.h:213
プロパティクラス
Definition GxProperty.h:48
4×4行列(行優先)
Definition GxMatrix.h:607
アフィン変換行列(行優先)
Definition GxMatrix.h:330
クォータニオン
Definition GxQuaternion.h:19
矩形
Definition GxStruct.h:951
サイズ
Definition GxStruct.h:730
3次元ベクトル
Definition GxVector.h:245
32bitブーリアン
Definition GxDefine.h:173