OROCHI
 
Loading...
Searching...
No Matches
GxGuiPropertyBar.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 GxGuiPropertyBar : public GxGuiPropertyParameter
21{
22 //-----------------------------------------------------------
24 //-----------------------------------------------------------
26public:
27 GX_RTTI_CLASS(GxGuiPropertyBar, GxGuiPropertyParameter)
28 // ClassBaseReference継承クラス用禁止宣言
29 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiPropertyBar)
30
31
32 //-----------------------------------------------------------
34 //-----------------------------------------------------------
36public:
38 GxGuiPropertyBar(void);
40 GxGuiPropertyBar(const GxProperty& property, GxTypedObject* pOwner, const GxRtti& rtti, u32 index=0 );
41
43 //-----------------------------------------------------------
45 //-----------------------------------------------------------
47public:
49 b32 initialize( void ) override;
50
52 void onDraw( void ) override;
53
55 //-----------------------------------------------------------
57 //-----------------------------------------------------------
59public:
61 void setBarColor( const GxColor& backColor, const GxColor& bodyColor );
62
64 //-----------------------------------------------------------
66 //-----------------------------------------------------------
68protected:
69 GxColor _colorBackTop;
70 GxColor _colorBackBottom;
71
72 GxColor _colorBodyTop;
73 GxColor _colorBodyBottom;
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 GxColor.h:21
32bitブーリアン
Definition GxDefine.h:173