animationsettings.h

来自「mod_RSsim」· C头文件 代码 · 共 96 行

H
96
字号
#if !defined(AFX_ANIMATIONSETTINGS_H__788EF6C0_384E_4725_A2D6_A20B436C0981__INCLUDED_)
#define AFX_ANIMATIONSETTINGS_H__788EF6C0_384E_4725_A2D6_A20B436C0981__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
//
// FILE: AnimationSettings.h : headder file
//
// See _README.CPP
//
/////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////
// CAnimationSettings dialog

class CAnimationSettings : public CDialog
{
// Construction
public:
	CAnimationSettings(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAnimationSettings)
	enum { IDD = IDD_ANIMATE };
	long	m_value;
	long	m_refreshes;
	DWORD	m_animationPeriod;
	//}}AFX_DATA
   BOOL  m_animationON;
   BOOL  m_plantAnimation;
   BOOL  m_animationBYTE;
   BOOL  m_animationWORD;
   CString m_scriptFile;

   BOOL m_firstPaint;

   CColorPickerCB m_ctlEnabledColor;
   CColorPickerCB m_ctlDisabledColor;
   CColorPickerCB m_ctlActiveColor;
   CColorPickerCB m_ctlInactiveColor;
   CColorPickerCB m_ctlTextColor;
   CColorPickerCB m_ctlDisabledTextColor;

   CMicroTick     m_demoTick;
   // the colors
   COLORREF    m_mTickColorEnabled;
   COLORREF    m_mTickColorDisabled;
   COLORREF    m_mTickColorActive;
   COLORREF    m_mTickColorInactive;
   COLORREF    m_mTickColorText;
   COLORREF    m_mTickDisColorText;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAnimationSettings)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

   // TOOLTIPS
   CToolTipCtrl    m_ToolTip;
   BOOL     OnTTN_NeedText( UINT id, NMHDR * pTTTStruct, LRESULT * pResult );


// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAnimationSettings)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSelchangeStnEnabled();
	afx_msg void OnSelchangeStnDisabled();
	afx_msg void OnSelchangeStnActive();
	afx_msg void OnSelchangeStnInactive();
	afx_msg void OnSelchangeStnText();
	afx_msg void OnSelchangeStnDisabledtext();
	afx_msg void OnPaint();
	afx_msg void OnAnimatebytes();
	afx_msg void OnAnimatewords();
	afx_msg void OnAnimTraining();
	afx_msg void OnNoanimate();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ANIMATIONSETTINGS_H__788EF6C0_384E_4725_A2D6_A20B436C0981__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?