-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLegendScreen.h
66 lines (52 loc) · 1.85 KB
/
LegendScreen.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//-----------------------------------------------------------------
// LegendScreen File
// C++ Header - LegendScreen.h - version 0.1 (2013/06/13)
//-----------------------------------------------------------------
#ifndef LEDGENDSCREEN_H
#define LEDGENDSCREEN_H
//-----------------------------------------------------------------
// Include Files
//-----------------------------------------------------------------
#include "Screen.h"
#include "../external/QCustomPlot/qcustomplot.h"
//-----------------------------------------------------------------
// LegendScreen Class
//-----------------------------------------------------------------
class LegendScreen : public Screen
{
public:
//---------------------------
// Constructor(s)
//---------------------------
LegendScreen(CEzLcd *, QString);
//---------------------------
// Destructor
//---------------------------
virtual ~LegendScreen();
//---------------------------
// General Methods
//---------------------------
void draw();
void update();
ScreenType getScreenType();
void setData(QList<GraphLine>);
QList<GraphLine> getData();
void setBackground(QString background);
void cleanData();
void openCustomScreen();
private:
// -------------------------
// Datamembers
// -------------------------
QList<GraphLine> graphData_;
HANDLE bitmapHandle_;
HBITMAP bitmap_;
// -------------------------
// Disabling default copy constructor and default assignment operator.
// If you get a linker error from one of these functions, your class is internally trying to use them. This is
// an error in your class, these declarations are deliberately made without implementation because they should never be used.
// -------------------------
LegendScreen(const LegendScreen& t);
LegendScreen& operator=(const LegendScreen& t);
};
#endif