📄 movewnd.h
字号:
#if !defined(AFX_MOVEWND_H__C44BB241_7871_4D90_955C_655D368A8991__INCLUDED_)
#define AFX_MOVEWND_H__C44BB241_7871_4D90_955C_655D368A8991__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MoveWnd.h : header file
//
#include "Graph.h"
/////////////////////////////////////////////////////////////////////////////
// CMoveWnd window
class CMoveWnd : public CWnd
{
// Construction
public:
CMoveWnd(int IDC, CGraph *G);
void ChangeDWnd();
// Attributes
public:
CGraph *m_pG;
char m_Status; // "V": Vertex "E": Edge "D" : 显示图
BOOL m_From;
int m_From_V;
// Operations
public:
protected:
int m_IDC;
COLORREF m_R_Color, m_G_Color, m_B_Color, m_Bai_Color, m_Hei_Color;
UINT m_Blank_Width, m_Blank_Heigh, m_Rect_Width, m_Rect_Heigh, m_radius;
CString m_Blank_String;
CPen RPen, BackPen;
CBrush RBrush, BackBrush, WBrush;
CRect m_Origin_Rect;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMoveWnd)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMoveWnd();
// Generated message map functions
protected:
//{{AFX_MSG(CMoveWnd)
afx_msg void OnPaint();
afx_msg void OnLButtonUp(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_MOVEWND_H__C44BB241_7871_4D90_955C_655D368A8991__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -