textrue.h

来自「《数字图象工程案例》原码」· C头文件 代码 · 共 78 行

H
78
字号
#if !defined(AFX_TEXTRUE_H__BDEBDDA4_2F40_4774_A71A_1FC12C9518A5__INCLUDED_)
#define AFX_TEXTRUE_H__BDEBDDA4_2F40_4774_A71A_1FC12C9518A5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TEXTRUE.h : header file
//
#define MAXJW 20
/////////////////////////////////////////////////////////////////////////////
// TEXTRUE dialog
//#include "afxdlg.h"
class TEXTRUE : public CDialog
{
// Construction

private:
	
public:
	
	TEXTRUE::TEXTRUE(CView *pView)	; 
	BOOL Create();
public:
	BOOL m_type;
	float m_coeff;
	void FillGrid(CDC *dc);
	int m_jwlabel[MAXJW][MAXJW];
	int m_wei_num;
	int m_jing_num;
	CPoint m_centerpoint;
	COLORREF m_texture_color;
	void SetTextureRect(void);
	RECT GridRect;
	void ChangeButtonColor(CDC* pDC);
	void DrawGrid(CDC *dc);
	RECT m_texture_chart;
	TEXTRUE(CWnd* pParent = NULL);   // standard constructor
		
// Dialog Data
	//{{AFX_DATA(TEXTRUE)
	enum { IDD = IDD_DIALOG_TEXTURE };
	float		m_jm;
	float		m_wm;
	int		m_WN;
	int		m_JN;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(TEXTRUE)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(TEXTRUE)
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonBlue();
	afx_msg void OnButtonGreen();
	afx_msg void OnButtonRed();
	afx_msg void OnButtonYellow();
	afx_msg void OnButtonTextureSave();
	afx_msg void OnMoveTexture();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TEXTRUE_H__BDEBDDA4_2F40_4774_A71A_1FC12C9518A5__INCLUDED_)

⌨️ 快捷键说明

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