Files
coco df489d5640 a
2026-07-03 16:05:30 +08:00

74 lines
2.1 KiB
C++

#if !defined(AFX_BROWSE2DSCRIPTVIEW_H__72D5F93E_4191_48D9_A57D_AC25ACC01FFB__INCLUDED_)
#define AFX_BROWSE2DSCRIPTVIEW_H__72D5F93E_4191_48D9_A57D_AC25ACC01FFB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Browse2DScriptView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBrowse2DScriptView view
class CBrowse2DScriptView : public CScrollView
{
protected:
CBrowse2DScriptView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CBrowse2DScriptView)
// Attributes
public:
CDC* m_pMemDC;
CChannel* m_pNewChannel;
CSptRecord* m_pCurSptRecord;
int m_iEAmount;
int m_iMul;
int m_iWinWidth;
int m_iWinHeight;
BOOL m_bIsDraw;
// Operations
public:
void SetSelectPoint(CPtrArray *pSource);
void DrawRecPoint(int iRecCount, CDC* const pMemDC);
void DrawLY(CDC* const pMemDC);
void DrawEX(CDC* const pMemDC);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBrowse2DScriptView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CBrowse2DScriptView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CBrowse2DScriptView)
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CPtrArray *m_pSource;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BROWSE2DSCRIPTVIEW_H__72D5F93E_4191_48D9_A57D_AC25ACC01FFB__INCLUDED_)