MakeSkinView.h
上传用户:hkb425
上传日期:2007-06-16
资源大小:34191k
文件大小:2k
- // MakeSkinView.h : interface of the CMakeSkinView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAKESKINVIEW_H__AF260AAD_45A3_11D6_812C_5254AB37CDC9__INCLUDED_)
- #define AFX_MAKESKINVIEW_H__AF260AAD_45A3_11D6_812C_5254AB37CDC9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CMakeSkinView : public CView
- {
- protected: // create from serialization only
- CMakeSkinView();
- DECLARE_DYNCREATE(CMakeSkinView)
- // Attributes
- public:
- CMakeSkinDoc* GetDocument();
- // Operations
- public:
- char id[10],version;
- int width,height;
-
- unsigned char baseA[256][256][3];
- unsigned char baseB[256][256][3];
- unsigned char mask1[256][256];
- unsigned char mask2[256][256];
- unsigned char mask3[256][256];
- bool ReadPicture();
- bool MakeTerSkin();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMakeSkinView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMakeSkinView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMakeSkinView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in MakeSkinView.cpp
- inline CMakeSkinDoc* CMakeSkinView::GetDocument()
- { return (CMakeSkinDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAKESKINVIEW_H__AF260AAD_45A3_11D6_812C_5254AB37CDC9__INCLUDED_)