-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDisplayDLG.h
50 lines (36 loc) · 952 Bytes
/
DisplayDLG.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#include "Coverage FinderDlg.h"
// DisplayDLG dialog
class DisplayDLG : public CDialog
{
DECLARE_DYNAMIC(DisplayDLG)
public:
DisplayDLG(CWnd* pParent = NULL); // standard constructor
virtual ~DisplayDLG();
void ExitApp();
void DoAddRect();
void DoPathLine();
void DoResize(long Width, long Height);
// Dialog Data
enum { IDD = IDD_DISPLAY };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
DECLARE_MESSAGE_MAP()
private:
CCoverageFinderDlg ControlWindow;
//Selection variables
POINT FirstPoint;
POINT SecondPoint;
bool FirstSelect;
bool SecondSelect;
//Flags to indicate what's going on
bool AddRect;
bool PathLine;
};