2020-11-18 18:01:57 +01:00
|
|
|
#pragma once
|
|
|
|
|
2020-11-19 09:46:02 +01:00
|
|
|
class Point;
|
|
|
|
|
2020-11-18 18:01:57 +01:00
|
|
|
#define WIDTH 800
|
|
|
|
#define HEIGHT 600
|
|
|
|
|
|
|
|
class Display
|
|
|
|
{
|
2020-11-19 09:46:02 +01:00
|
|
|
private:
|
|
|
|
std::vector<Point> m_points;
|
|
|
|
|
2020-11-18 18:01:57 +01:00
|
|
|
public:
|
|
|
|
void show();
|
|
|
|
|
2020-11-19 09:46:02 +01:00
|
|
|
void setData (std::vector<Point>);
|
2020-11-18 18:01:57 +01:00
|
|
|
};
|