fortschritt plottyfile
This commit is contained in:
parent
0f71e121fa
commit
71b156aa6f
13 changed files with 71 additions and 17 deletions
26
drv/dot.h
Normal file
26
drv/dot.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef DOT_H
|
||||
#define DOT_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
enum DotColor
|
||||
{
|
||||
PURPLE = 0,
|
||||
GREEN = 32,
|
||||
};
|
||||
|
||||
class Dot
|
||||
{
|
||||
public:
|
||||
Dot(uint16_t x, uint16_t y, DotColor color);
|
||||
uint16_t getX(void) const;
|
||||
uint16_t getY(void) const;
|
||||
DotColor getColor(void) const;
|
||||
|
||||
private:
|
||||
uint16_t x, y;
|
||||
DotColor color;
|
||||
};
|
||||
|
||||
|
||||
#endif // DOT_H
|
Loading…
Add table
Add a link
Reference in a new issue