Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 13/04/2001
// PROJECT:
// SUBSYSTEM:
// FILE: MapZoomDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of MapZoomDlg.h
//----------------------------------------------------------------------------
#if !defined(AFX_MAPZOOMDLG_H__C95CC681_72B3_11D4_A1F0_0010B55CB330__INCLUDED_)
#define AFX_MAPZOOMDLG_H__C95CC681_72B3_11D4_A1F0_0010B55CB330__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MapZoomDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMapZoomDlg dialog
#include "..\DLIB\MapData.h"
#include "MapWnd.h"
#include "..\DLIB\SensorArray.h" // Added by ClassView
class CMapZoomDlg : public CDialog{// Construction
public: void SetRunningMode( int nMode ); void SetCurrentSensor( CSensor *pSensor ); void SetSensorArray( CSensorArray* pSensorArray ); void SetMapScale( double scale ); double GetMapScale(); LRESULT OnWMEnableSensor(WPARAM wParam, LPARAM lParam); void SetMapCenterAndScale( SDPOINT& point, double scale ); void SetMapData( CMapData* pMapData ); CMapZoomDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMapZoomDlg)
enum { IDD = IDD_MAP_ZOOM_DLG }; CButton m_ButtonNext; CButton m_ButtonPrev; //}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMapZoomDlg)
public: virtual BOOL DestroyWindow(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMapZoomDlg)
afx_msg void OnMoving(UINT fwSide, LPRECT pRect); virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnSizing(UINT fwSide, LPRECT pRect); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnButtonPrev(); afx_msg void OnButtonNext(); //}}AFX_MSG
DECLARE_MESSAGE_MAP()private: virtual void OnOK() {} virtual void OnCancel() {}private: int m_nRunningMode; CSensorArray *m_pSensorArray; CSensor *m_pCurrentSensor; LRESULT OnWMSensorCurrent( WPARAM wParam, LPARAM lParam ); LRESULT OnWMSensorUpdate( WPARAM wParam, LPARAM lParam ); CMapWnd* m_pMapSite;};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAPZOOMDLG_H__C95CC681_72B3_11D4_A1F0_0010B55CB330__INCLUDED_)
|