tools/toolfcurveevent/ortool_fcurveevent_tool.h

tools/toolfcurveevent/ortool_fcurveevent_tool.h
#ifndef __ORTOOL_FCURVEEVENT_TOOL_H__
#define __ORTOOL_FCURVEEVENT_TOOL_H__
// ===========================================================================
// Copyright 2017 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
// ===========================================================================
//--- SDK include
#include <fbsdk/fbsdk.h>
//--- Registration define
#define ORTOOLTEMPLATE__CLASSNAME ORTool_FCurveEvent
#define ORTOOLTEMPLATE__CLASSSTR "ORTool_FCurveEvent"
class ORTool_FCurveEvent : public FBTool
{
//--- Tool declaration.
FBToolDeclare( ORTool_FCurveEvent, FBTool );
public:
//--- Construction/Destruction,
virtual bool FBCreate();
virtual void FBDestroy();
private:
FBLabel mLabel;
FBModelCube* mCube;
FBModelCube* mCube2;
void EventFCurveChanged ( HISender pSender, HKEvent pEvent );
void EventPropertyChanged ( HISender pSender, HKEvent pEvent );
};
#endif /* __ORTOOL_FCURVEEVENT_TOOL_H__ */