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

📄 paletvw.h

📁 C:Documents and SettingsAdministrator桌面VC++多媒体特效制作百例CHAR02CreatePalet
💻 H
字号:
// paletvw.h : interface of the CPaletexpView class
//
/////////////////////////////////////////////////////////////////////////////

#define BLUE 1
#define RED 2
#define GREEN 3
#define PALSIZE 256

class CPaletexpView : public CView
{
protected: // create from serialization only
	CPaletexpView();
	DECLARE_DYNCREATE(CPaletexpView)

// Attributes
public:
	CPaletexpDoc* GetDocument();
	BOOL CPaletexpView::m_ChangePalette(int colors);

	CPalette palette;		//Holds new palette.
	BOOL newPalette;		//New palette Flag.

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPaletexpView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	protected:
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CPaletexpView)
	afx_msg void OnPaint();
	afx_msg void OnEditBlues();
	afx_msg void OnEditGreens();
	afx_msg void OnEditReds();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in paletvw.cpp
inline CPaletexpDoc* CPaletexpView::GetDocument()
   { return (CPaletexpDoc*)m_pDocument; }
#endif

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

⌨️ 快捷键说明

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