OROCHI
 
Loading...
Searching...
No Matches
GxGuiPropertyCheckBox.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 GxGuiPropertyCheckBox : public GxGuiProperty
21{
22 //-----------------------------------------------------------
24 //-----------------------------------------------------------
26public:
27 GX_RTTI_CLASS(GxGuiPropertyCheckBox, GxGuiProperty)
28 // ClassBaseReference継承クラス用禁止宣言
29 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiPropertyCheckBox)
30
31
32 //-----------------------------------------------------------
34 //-----------------------------------------------------------
36public:
38 GxGuiPropertyCheckBox(void);
40 GxGuiPropertyCheckBox(const GxProperty& property, GxTypedObject* pOwner, const GxRtti& rtti, u32 index = 0 );
41
43 //-----------------------------------------------------------
45 //-----------------------------------------------------------
47protected:
49 void onClick( const GxPoint2& position, u32 button ) override;
50
52 void onNoClientClick( const GxPoint2& position, u32 button ) override;
53
55 void onDraw( void ) override;
56
58 GxRect calculateClientRect( const GxRect& clientRect ) const override;
59
62 void onKeyDown( GxKeyboard::KEY key ) override;
63
65 //-----------------------------------------------------------
67 //-----------------------------------------------------------
69protected:
71 b32 isDefaultValue( void ) override;
73 void setDefaultValue( void ) override;
74
76};
77
78GX_CORE_NAMESPACE_END()
79
80#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
座標
Definition GxStruct.h:867
矩形
Definition GxStruct.h:951
32bitブーリアン
Definition GxDefine.h:173