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

📄 boyecutterdoc.h

📁 本程序为激光切割机的源代码
💻 H
字号:
// BoyeCutterDoc.h : interface of the CBoyeCutterDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BOYECUTTERDOC_H__92589B28_8153_470F_866D_078A580B321B__INCLUDED_)
#define AFX_BOYECUTTERDOC_H__92589B28_8153_470F_866D_078A580B321B__INCLUDED_

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


class CBoyeCutterDoc : public COleDocument
{
protected: // create from serialization only
	CBoyeCutterDoc();
	DECLARE_DYNCREATE(CBoyeCutterDoc)

// Attributes
public:

// Operations
public:
    void setDrawHline(bool bDraw) {m_bDrawHline = bDraw;}
    void setDrawVline(bool bDraw) {m_bDrawVline = bDraw;}
    void setDrawCircle(bool bDraw) {m_bDrawCircle = bDraw;}
    void setDrawRect(bool bDraw) {m_bDrawRect = bDraw;}
    bool drawHline() {return m_bDrawHline;}
    bool drawVline() {return m_bDrawVline;}
    bool drawRect() {return m_bDrawRect;}
    bool drawCircle() {return m_bDrawCircle;}
    void clearContent();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBoyeCutterDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CBoyeCutterDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
    bool m_bDrawHline;
    bool m_bDrawVline;
    bool m_bDrawCircle;
    bool m_bDrawRect;

// Generated message map functions
protected:
	//{{AFX_MSG(CBoyeCutterDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_BOYECUTTERDOC_H__92589B28_8153_470F_866D_078A580B321B__INCLUDED_)

⌨️ 快捷键说明

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