-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathHKCPDisplay.hpp
79 lines (53 loc) · 2.25 KB
/
HKCPDisplay.hpp
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#pragma once
#include "stdafx.h"
#include "EuroScopePlugIn.h"
#include "MissedApproach/MissedApproachAlarm.hpp"
#include "AT3/AT3RadarTargetDisplay.hpp"
#include "Constant.hpp"
#include <sstream>
#include <vector>
#include <thread>
#include <mmsystem.h>
#include <string>
#include <iostream>
#include <ctime>
using namespace std;
using namespace EuroScopePlugIn;
class MissedApproachAlarm;
class HKCPDisplay :
public EuroScopePlugIn::CRadarScreen
{
private:
MissedApproachAlarm* MissAlarm;
AT3RadarTargetDisplay* RadarTargets;
bool isESRadarDisplay;
public:
HKCPDisplay(int CJSLabelSize,
int CJSLabelOffset,
bool CJSLabelShowWhenTracked,
double PlaneIconScale,
string RadarDisplayType,
COLORREF colorA,
COLORREF colorNA,
COLORREF colorR);
virtual ~HKCPDisplay();
//---OnAsrContentLoaded--------------------------------------------
virtual void OnAsrContentLoaded(bool Loaded);
//---OnAsrContentToBeSaved------------------------------------------
virtual void OnAsrContentToBeSaved();
//---OnRefresh------------------------------------------------------
virtual void OnRefresh(HDC hDC, int Phase);
//---OnClickScreenObject-----------------------------------------
virtual void OnClickScreenObject(int ObjectType, const char* sObjectId, POINT Pt, RECT Area, int Button);
//---OnMoveScreenObject---------------------------------------------
virtual void OnMoveScreenObject(int ObjectType, const char* sObjectId, POINT Pt, RECT Area, bool Released);
//---OnButtonDownScreenObject---------------------------------------------
virtual void OnButtonDownScreenObject(int ObjectType, const char* sObjectId, POINT Pt, RECT Area, int Button);
//---OnButtonDownScreenObject---------------------------------------------
virtual void OnButtonUpScreenObject(int ObjectType, const char* sObjectId, POINT Pt, RECT Area, int Button);
virtual void OnDoubleClickScreenObject(int ObjectType, const char* sObjectId, POINT Pt, RECT Area, int Button);
virtual void OnOverScreenObject(int ObjectType, const char* sObjectId, POINT Pt, RECT Area);
virtual void OnFlightPlanControllerAssignedDataUpdate(CFlightPlan FlightPlan, int DataType);
virtual bool OnCompileCommand(const char* sCommandLine);
virtual void OnAsrContentToBeClosed(void);
};