Files
Upsilon/apps/shared/dots.h
Émilie Feral d61336936e [apps/shared] Create a class Dots to share dots masks between CurveView
and RoundCursorView. Use the same dot for illustrations of additional
results in Calculation app and Function app
2020-02-12 15:13:21 +01:00

21 lines
521 B
C++

#ifndef SHARED_DOTS_H
#define SHARED_DOTS_H
#include <kandinsky/coordinate.h>
namespace Shared {
class Dots {
public:
static constexpr KDCoordinate SmallDotDiameter = 5;
static const uint8_t SmallDotMask[SmallDotDiameter][SmallDotDiameter];
static constexpr KDCoordinate MediumDotDiameter = 7;
static const uint8_t MediumDotMask[MediumDotDiameter][MediumDotDiameter];
static constexpr KDCoordinate LargeDotDiameter = 10;
static const uint8_t LargeDotMask[LargeDotDiameter][LargeDotDiameter];
};
}
#endif