1#ifndef BAR_STYLE_STRUCT
2#define BAR_STYLE_STRUCT
12constexpr uint8_t MaskLSBs()
14 return MaskLSBs<N - 1>() << 1 | 1;
18constexpr uint8_t MaskLSBs<0>()
24constexpr uint8_t MaskLSBs<1>()
41 enum dotMatrixDim :
byte { CharPatRows = 8, CharPatCols = 5 };
42 enum bitMasks :
byte { AllRows = MaskLSBs<CharPatRows>(), AllCols = MaskLSBs<CharPatCols>() };
43 enum andOrMaskIndex :
byte { ANDmask, ORmask };
44 enum orientation :
byte { Horizontal, Vertical };
45 uint8_t startMask[2][CharPatRows];
46 uint8_t endMask[2][CharPatRows];
47 uint8_t middleMask[2][CharPatRows];
50 unsigned char startOffset : 3;
51 unsigned char endOffset : 3;
52 unsigned char dir : 2;
Definition: barstyle.h:49
Structure holding the bit-masks and other data used for drawing the edges of the progress bar that de...
Definition: barstyle.h:40