📄 wholemapdialog.h
字号:
#if !defined(AFX_WHOLEMAPDIALOG_H__CE573A22_11B9_11D1_8035_444553540000__INCLUDED_)
#define AFX_WHOLEMAPDIALOG_H__CE573A22_11B9_11D1_8035_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// WholeMapDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CWholeMapDialog dialog
class CWholeMapDialog : public CDialog
{
// Construction
public:
DWORD m_dwThisHeight;
DWORD m_dwThisWidth;
DWORD m_dwWidth;
DWORD m_dwHeight;
//DWORD m_dwZoomOutRate;
COLORREF m_pPal[256];
BYTE *m_pDisplayData;
CRect m_Rect;
CRect m_OldRect;
CRect m_NewRect;
BOOL m_bSelect;
int m_nDeltaX;
int m_nDeltaY;
LPBYTE m_pData;
CWholeMapDialog(CView* pParent = NULL); // standard constructor
~CWholeMapDialog();
void Update();
// Dialog Data
//{{AFX_DATA(CWholeMapDialog)
enum { IDD = IDD_WHOLEMAPDIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWholeMapDialog)
public:
virtual BOOL Create();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
CView *m_pView;
void DrawImage(CDC* pDC);
void OnCancel();
void OnOK();
// Generated message map functions
//{{AFX_MSG(CWholeMapDialog)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WHOLEMAPDIALOG_H__CE573A22_11B9_11D1_8035_444553540000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -