/***************************************************************************** * * Copyright (c) 1999, KL GROUP INC. All Rights Reserved. * http://www.klgroup.com * * This file is provided for demonstration and educational uses only. * Permission to use, copy, modify and distribute this file for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of KL Group not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * KL Group. * * KL GROUP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. KL GROUP SHALL NOT BE LIABLE FOR ANY * DAMAGES SUFFERED BY USERS AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ // radarView.h : interface of the CRadarView class // ///////////////////////////////////////////////////////////////////////////// #include "Chart2D.h" #if !defined(AFX_RADARVIEW_H__D19BB3BD_A98C_11D2_9BE2_00105AE62ECE__INCLUDED_) #define AFX_RADARVIEW_H__D19BB3BD_A98C_11D2_9BE2_00105AE62ECE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CRadarView : public CView { protected: // create from serialization only CRadarView(); DECLARE_DYNCREATE(CRadarView) void SetupTheChart(); // Attributes public: CRadarDoc* GetDocument(); CChart2D m_chart; // The Chart long TotalPoints; // # of Data // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRadarView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: //}}AFX_VIRTUAL // Implementation public: virtual ~CRadarView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CRadarView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnHelpAboutolectrachart(); afx_msg void OnOptionsFilled(); afx_msg void OnOptionsStacked(); afx_msg void OnUpdateOptionsStacked(CCmdUI* pCmdUI); afx_msg void OnUpdateOptionsFilled(CCmdUI* pCmdUI); afx_msg void OnSize(UINT nType, int cx, int cy); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in radarView.cpp inline CRadarDoc* CRadarView::GetDocument() { return (CRadarDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RADARVIEW_H__D19BB3BD_A98C_11D2_9BE2_00105AE62ECE__INCLUDED_)