OROCHI
 
Loading...
Searching...
No Matches
GxGuiPropertyHandle2DPosition.h
Go to the documentation of this file.
1//===========================================================================
9//===========================================================================
10#pragma once
11
12#if GX_DEVELOP
13
14GX_CORE_NAMESPACE_BEGIN()
15
16//===========================================================================
18//===========================================================================
19class GxGuiPropertyHandle2DPosition : public GxGuiPropertyClass
20{
21 //-----------------------------------------------------------
23 //-----------------------------------------------------------
25public:
26 GX_RTTI_CLASS(GxGuiPropertyHandle2DPosition, GxGuiPropertyClass)
27 // ClassBaseReference継承クラス用禁止宣言
28 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiPropertyHandle2DPosition)
29
30
31 //-----------------------------------------------------------
33 //-----------------------------------------------------------
35public:
37 GxGuiPropertyHandle2DPosition( void );
39 GxGuiPropertyHandle2DPosition( const GxProperty& property, GxTypedObject* pOwner, u32 index = 0 );
40
42 //-----------------------------------------------------------
44 //-----------------------------------------------------------
46public:
48 b32 initialize( void ) override;
49
51 void update( void ) override;
52
54 //-----------------------------------------------------------
56 //-----------------------------------------------------------
58public:
60 constexpr GxGuiButtonHandle* getGuiButtonHandle( void ) const { return _pGuiButtonHandle; }
61
63 void setParentMatrix( const GxMatrixAffine* pMatrix );
65 void setParentMatrix( const GxMatrix44* pMatrix);
66
68 //-----------------------------------------------------------
70 //-----------------------------------------------------------
72protected:
73 GxGuiButtonHandle* _pGuiButtonHandle;
74
75 GxVector3 _position;
76
78};
79
80GX_CORE_NAMESPACE_END()
81
82#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
3次元ベクトル
Definition GxVector.h:245
32bitブーリアン
Definition GxDefine.h:173