a
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
#if !defined(AFX_DISPGRAPCERSPTDVIEW_H__B54AAD7A_9B1C_43C2_B5FA_D0BADDD34C06__INCLUDED_)
|
||||
#define AFX_DISPGRAPCERSPTDVIEW_H__B54AAD7A_9B1C_43C2_B5FA_D0BADDD34C06__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// dispgrapcersptdview.h : header file
|
||||
//
|
||||
|
||||
class CTdChannel;
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDispGrapCERSPTdView view
|
||||
|
||||
class CDispGrapCERSPTdView : public CView
|
||||
{
|
||||
protected:
|
||||
CDispGrapCERSPTdView(); // protected constructor used by dynamic creation
|
||||
DECLARE_DYNCREATE(CDispGrapCERSPTdView)
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
CTdChannel* m_pTdChannel;
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CDispGrapCERSPTdView)
|
||||
public:
|
||||
virtual void OnInitialUpdate();
|
||||
protected:
|
||||
virtual void OnDraw(CDC* pDC); // overridden to draw this view
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
virtual ~CDispGrapCERSPTdView();
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(CDispGrapCERSPTdView)
|
||||
// NOTE - the ClassWizard will add and remove member functions here.
|
||||
afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message);
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
private:
|
||||
CRect DrawPoint(int iX, int iY, CDC* const pDC, COLORREF crColor = RGB(0x00, 0x00, 0x00));
|
||||
void DrawEX(CDC* const pDC);
|
||||
void DrawLY(CDC* const pDC);
|
||||
|
||||
int CoordinateMapping(float fValue, float fMappingRange, int MappingFactor);
|
||||
|
||||
int m_iCXOffset;
|
||||
int m_iCYOffset;
|
||||
|
||||
float m_fMaxCX;
|
||||
float m_fMaxCY;
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_DISPGRAPCERSPTDVIEW_H__B54AAD7A_9B1C_43C2_B5FA_D0BADDD34C06__INCLUDED_)
|
||||
Reference in New Issue
Block a user