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

📄 scsdoc.h

📁 将源代码转换成html,支持多操作系统
💻 H
字号:
// SCSDoc.h : interface of the CSCSDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SCSDOC_H__7A9A26DC_33ED_4621_802C_75566DDF0A79__INCLUDED_)
#define AFX_SCSDOC_H__7A9A26DC_33ED_4621_802C_75566DDF0A79__INCLUDED_

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

#define BGCOLOR  0
#define PREPROC  1
#define NORTEXT  2
#define SYMBOLS  3
#define KEYWORD  4
#define KEYTYPE  5
#define INTEGER  6
#define FLOATPT  7
#define DBLQUOT  8
#define SINQUOT  9
#define COMMENT 10

#include "cfdatapair.h"
#include <vector>
using namespace std;

class CSCSDoc : public CDocument
{
protected: // create from serialization only
	CSCSDoc();
	DECLARE_DYNCREATE(CSCSDoc)

// Attributes
public:

	vector<CFdatapair> ScsVec;
	CColorDialog ColourPicker;
	COLORREF Colours2[11];
	CString  Background;
	CString  Temp;

// Operations
public:
	void	setTypical();
	string	getColour(string Name);
	string	colourSwitch(int index);
	COLORREF hexTranslate(string Colour);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSCSDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CSCSDoc)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SCSDOC_H__7A9A26DC_33ED_4621_802C_75566DDF0A79__INCLUDED_)

⌨️ 快捷键说明

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