SmoothProgress 1.0.0
Displays smooth progress bars on a character based LCD displays for Arduino
BarStyleVT.h
1#ifndef BAR_STYLE_V_T
2#define BAR_STYLE_V_T
3
4// Contains the bit masks defining a style for a smooth progress bar
5// to be used with SmoothProgress library
6// https://github.com/Gjorgjevikj/SmoothProgress.git
7//
8// Defines a vertical smooth progress bar for temperature gauge
9// 1 pixel frame, 1 pixel margin to frame, rounded edges
10
11#include <barstyle.h>
12
13#ifdef BAR_STYLE_V_T_IN_PROGMEM
14static const PROGMEM struct barstyle
15#else
16static const struct barstyle
17#endif
18
19barStyleVT = {
20 {
21 { // bottomANDmask
22 0b00100,
23 0b00100,
24 0b00100,
25 0b00100,
26 0b01110,
27 0b01110,
28 0b01110,
29 0b00000},
30 { // bottomORmask
31 0b01010,
32 0b01010,
33 0b01010,
34 0b01010,
35 0b10001,
36 0b10001,
37 0b10001,
38 0b01110}
39 },
40 {
41 { // topANDmask
42 0b00000,
43 0b00100,
44 0b00100,
45 0b00100,
46 0b00100,
47 0b00100,
48 0b00100,
49 0b00100},
50 { // topORmask
51 0b00100,
52 0b01010,
53 0b01010,
54 0b01010,
55 0b01010,
56 0b01010,
57 0b01010,
58 0b01010}
59 },
60 {
61 { // middleANDmask
62 0b00100,
63 0b00100,
64 0b00100,
65 0b00100,
66 0b00100,
67 0b00100,
68 0b00100,
69 0b00100},
70 { // middleORmask
71 0b01010,
72 0b01010,
73 0b01010,
74 0b01010,
75 0b01010,
76 0b01010,
77 0b01010,
78 0b01010}
79 },
80 1, // BottomOffset
81 1, // TopOffset
82 1 // orientation...
83};
84
85
86#endif // BAR_STYLE_V_T
Structure holding the bit-masks and other data used for drawing the edges of the progress bar that de...
Definition: barstyle.h:40