OROCHI
 
Loading...
Searching...
No Matches
GxGuiPropertyScale.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 GxGuiPropertyScale : public GxGuiPropertyClass
21{
22 //-----------------------------------------------------------
24 //-----------------------------------------------------------
26public:
27 GX_RTTI_CLASS(GxGuiPropertyScale, GxGuiPropertyClass)
28 // ClassBaseReference継承クラス用禁止宣言
29 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiPropertyScale)
30
31
32 //-----------------------------------------------------------
34 //-----------------------------------------------------------
36public:
38 GxGuiPropertyScale(void);
40 GxGuiPropertyScale(const GxProperty& property, GxTypedObject* pOwner, u32 index = 0 );
41
43 //-----------------------------------------------------------
45 //-----------------------------------------------------------
47public:
49 b32 initialize( void ) override;
50
52 void update( void ) override;
53
55 //-----------------------------------------------------------
57 //-----------------------------------------------------------
59public:
61 constexpr GxGuiButtonHandle* getGuiButtonHandle( void ) const { return _pGuiButtonHandle; }
62
64 void setParentMatrix( const GxMatrixAffine* pMatrix );
66 void setParentMatrix( const GxMatrix44* pMatrix);
68 void setParentMatrix( const GxProperty& property, GxTypedObject* pOwner, u32 index = 0 );
69
71 //-----------------------------------------------------------
73 //-----------------------------------------------------------
75protected:
76 GxGuiButtonHandle* _pGuiButtonHandle;
77
78 GxProperty _parentMatrixProperty;
79 GxTypedObject* _pParentMatrixOwner;
80 u32 _parentMatrixIndex;
81
83};
84
85GX_CORE_NAMESPACE_END()
86
87#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
32bitブーリアン
Definition GxDefine.h:173