OROCHI
 
Loading...
Searching...
No Matches
GxGuiInterpolationToolButton.h
Go to the documentation of this file.
1//===========================================================================
9//===========================================================================
10
11#ifndef __GXGUIINTERPOLATIONTOOLBUTTON_H__
12#define __GXGUIINTERPOLATIONTOOLBUTTON_H__
13
14
15#if GX_DEVELOP
16
17#include "GxGuiPropertyParameterNoName.h"
18#include "GxMotionNamesList.h"
19
20GX_CHARACTER_NAMESPACE_BEGIN()
21
22class GxToolMotionInterpolation;
23
24//===========================================================================
26//===========================================================================
27class GxGuiInterpolationToolButton : public GxGuiPropertyParameterNoName
28{
29 //-----------------------------------------------------------
31 //-----------------------------------------------------------
33public:
35 GX_RTTI_CLASS(GxGuiInterpolationToolButton, GxGuiPropertyParameterNoName)
37 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiInterpolationToolButton);
39
40 //-----------------------------------------------------------
42 //-----------------------------------------------------------
44public:
46 GxGuiInterpolationToolButton(void);
48 GxGuiInterpolationToolButton(
50 const GxProperty& clickEvent, const GxProperty& rightClickEvent,
51 const GxProperty& propertyData, GxTypedObject* pBase,
52 const GxMotionNamesList& motionNamesList,
53 u32 startMotion, u32 targetMotion, GxMotionInterpolationSetting::MODE mode,
54 f64 min=0.f, f64 max=256.f, u32 index = 0);
56 virtual b32 initialize(void);
58
59
60 //-----------------------------------------------------------
62 //-----------------------------------------------------------
64protected:
66 virtual void onMouseMove( const GxPoint2& pos );
68 virtual void onDraw( void );
70
71
72 //-----------------------------------------------------------
74 //-----------------------------------------------------------
76public:
78 void setSelected(b32 isSelected) { _isSelected = isSelected; }
80
81
82
83 //-----------------------------------------------------------
85 //-----------------------------------------------------------
87private:
90 u32 _startMotion;
91 u32 _targetMotion;
92 GxMotionNamesList const& _motionNamesList;
93 b32 _isSelected;
94 GxToolMotionInterpolation* _pTool;
96};
97
98
99
100GX_CHARACTER_NAMESPACE_END()
101
102#endif // GX_DEVELOP
103
104#endif // __GXGUIINTERPOLATIONTOOLBUTTON_H__
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
void GxTypedObject
その他
Definition GxDefine.h:213
TYPE
設定の種類
Definition GxMotionInterpolationSetting.h:32
MODE
モード
Definition GxMotionInterpolationSetting.h:41
プロパティクラス
Definition GxProperty.h:48
座標
Definition GxStruct.h:867
32bitブーリアン
Definition GxDefine.h:173