📄 miniframe.h
字号:
#if !defined(AFX_MINIFRAME_H__53F7DC56_E8F4_4A1E_A619_8BA1AC4E13A0__INCLUDED_)
#define AFX_MINIFRAME_H__53F7DC56_E8F4_4A1E_A619_8BA1AC4E13A0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MINIFRAME.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMINIFRAME dialog
class CMINIFRAME : public CDialog
{
// Construction
public:
CWnd* parent;
BOOL * objFlag;
COLORREF color[4][5];
int level[4][5];
int COLCYC;
CBitmap bitmap;
CMINIFRAME(CWnd* pParent = NULL); // standard constructor
void PassData(int *flag,int colCyc);
// Dialog Data
//{{AFX_DATA(CMINIFRAME)
enum { IDD = IDD_MINIFRAME };
CButton m_control;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMINIFRAME)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int CheckPoint(CPoint p,CRect rc);
void DrawCurrent(CDC *pDC,int x0,int y0,int dx,int dy,int percent,COLORREF curColor);
int CheckLevel(int usage, int nID);
void DrawBackGround(CDC *pDC, int x0, int y0, int dx, int dy);
void DrawDynInfo(int obj,int nID);
void GetLevelInfo();
// Generated message map functions
//{{AFX_MSG(CMINIFRAME)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnClose();
afx_msg void OnCtrl();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MINIFRAME_H__53F7DC56_E8F4_4A1E_A619_8BA1AC4E13A0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -