⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0510210204watchview.h

📁 数码管、模拟表、数字表、闹铃、秒表计时、倒计时、动画图标、闪烁窗口等功能
💻 H
字号:
// 0510210204watchView.h : interface of the CMy0510210204watchView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_0510210204WATCHVIEW_H__D690FC5A_F7E4_4690_8CFC_B9135EE8BF8B__INCLUDED_)
#define AFX_0510210204WATCHVIEW_H__D690FC5A_F7E4_4690_8CFC_B9135EE8BF8B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMy0510210204watchView : public CView
{
protected: // create from serialization only
	CMy0510210204watchView();
	DECLARE_DYNCREATE(CMy0510210204watchView)

// Attributes
public:
	CMy0510210204watchDoc * GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMy0510210204watchView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	CPoint mpoint_tens;
	CPoint mpoint_s;
	CPoint mpoint_m;
	CPoint mpoint_h;
	int mode;	
	int m_alarm_mode;
	int m_daoji_mode;
	int m_jishi_mode;

	int m_alarmm;
	int m_alarmh;	

	int m_daoji_tenso;
	int m_daoji_tens;
	int m_daoji_s;
	int m_daoji_m;
	int m_daoji_h;
	int m_daoji_so;
	int m_daoji_mo;
	int m_daoji_ho;

	int m_jishi_tenso;
	int m_jishi_so;
	int m_jishi_mo;
	int m_jishi_ho;
	int m_jishi_tens;
	int m_jishi_s;
	int m_jishi_m;
	int m_jishi_h;	
	int q;

	virtual ~CMy0510210204watchView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	void DrawZhizhen(CDC *pDC);
	void DrawFace(CDC *pDC);
	void ShowTime( int left, int top);
	//{{AFX_MSG(CMy0510210204watchView)
	afx_msg void OnCurrentTime();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnShumaTime();
	afx_msg void OnJishiBegin();
	afx_msg void OnJishiEnd();
	afx_msg void OnJishiReset();	
	afx_msg void OnDestroy();
	afx_msg void OnJishiPause();
	afx_msg void OnDaojiBegin();
	afx_msg void OnDaojiEnd();
	afx_msg void OnDaojiSet();
	afx_msg void OnDaojiPause();
	afx_msg void OnAlarmClose();
	afx_msg void OnAlarmSet();
	afx_msg void OnJisuanqi();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnJishiSet();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in 0510210204watchView.cpp
inline CMy0510210204watchDoc* CMy0510210204watchView::GetDocument()
   { return (CMy0510210204watchDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_0510210204WATCHVIEW_H__D690FC5A_F7E4_4690_8CFC_B9135EE8BF8B__INCLUDED_)

⌨️ 快捷键说明

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