62 lines
1.4 KiB
C++
62 lines
1.4 KiB
C++
////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Crytek Engine Source File.
|
|
// Copyright (C), Crytek Studios, 2002.
|
|
// -------------------------------------------------------------------------
|
|
// File name: tcbkeydialog.h
|
|
// Version: v1.00
|
|
// Created: 28/5/2002 by Timur.
|
|
// Compilers: Visual Studio.NET
|
|
// Description:
|
|
// -------------------------------------------------------------------------
|
|
// History:
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __tcbkeydialog_h__
|
|
#define __tcbkeydialog_h__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
struct IAnimTrack;
|
|
struct IAnimNode;
|
|
|
|
#include "ikeydlg.h"
|
|
#include "tcbpreviewctrl.h"
|
|
|
|
// CTcbKeyDialog dialog
|
|
|
|
class CTcbKeyDialog : public IKeyDlg
|
|
{
|
|
DECLARE_DYNAMIC(CTcbKeyDialog)
|
|
|
|
public:
|
|
CTcbKeyDialog(CWnd* pParent = NULL); // standard constructor
|
|
virtual ~CTcbKeyDialog();
|
|
|
|
// Dialog Data
|
|
enum { IDD = IDD_TV_TCBKEY };
|
|
|
|
void SetKey( IAnimNode *node,IAnimTrack *track,int key );
|
|
|
|
protected:
|
|
virtual void OnOK() {};
|
|
virtual void OnCancel() {};
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
void SetKeyControls( int nkey );
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
CNumberCtrl m_value[3];
|
|
CNumberCtrl m_tcb[5];
|
|
CTcbPreviewCtrl m_tcbPreview;
|
|
|
|
protected:
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnUpdateValue();
|
|
};
|
|
|
|
#endif // __tcbkeydialog_h__
|