OROCHI
 
Loading...
Searching...
No Matches
GxGuiPropertyHandle2DRotate.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 GxGuiPropertyHandle2DRotate : public GxGuiProperty
20{
21 //-----------------------------------------------------------
23 //-----------------------------------------------------------
25public:
26 GX_RTTI_CLASS(GxGuiPropertyHandle2DRotate, GxGuiProperty)
27 // ClassBaseReference継承クラス用禁止宣言
28 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiPropertyHandle2DRotate)
29
30
31 //-----------------------------------------------------------
33 //-----------------------------------------------------------
35public:
37 GxGuiPropertyHandle2DRotate( void );
39 GxGuiPropertyHandle2DRotate( const GxProperty& property, GxTypedObject* pOwner, const GxRtti& rtti, u32 index = 0 );
40
42 //-----------------------------------------------------------
44 //-----------------------------------------------------------
46public:
48 b32 initialize( void ) override;
49
50protected:
52 void update( void ) override;
53
55 void onSize( const GxSize& size ) override;
57 GxSize getUseRegionSize( void ) const override;
58
60 void setCustomPropertyValue( const void* const pValue );
62 void getCustomPropertyValue( void* const pValue ) const;
63
65 //-----------------------------------------------------------
67 //-----------------------------------------------------------
69public:
71 constexpr GxGuiButtonHandle* getGuiButtonHandle( void ) const { return _pGuiButtonHandle; }
72
74 void setParentMatrix( const GxMatrixAffine* pMatrix );
76 void setParentMatrix( const GxMatrix44* pMatrix);
77
79 //-----------------------------------------------------------
81 //-----------------------------------------------------------
83protected:
84 GxGuiButtonHandle* _pGuiButtonHandle;
85 GxGuiPropertyParameter* _pGuiParameter;
86
87 GxQuaternion _rotate;
88
90};
91
92GX_CORE_NAMESPACE_END()
93
94#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
実行時型情報クラス
Definition GxRtti.h:154
4×4行列(行優先)
Definition GxMatrix.h:607
アフィン変換行列(行優先)
Definition GxMatrix.h:330
クォータニオン
Definition GxQuaternion.h:19
サイズ
Definition GxStruct.h:730
32bitブーリアン
Definition GxDefine.h:173