SmoothProgress 1.0.0
Displays smooth progress bars on a character based LCD displays for Arduino
BarStyleV0.h
1#ifndef BAR_STYLE_V_0
2#define BAR_STYLE_V_0
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 PLAIN smooth progress bar
9// No frame, full height, square edges, plain
10
11#include <barstyle.h>
12
13#ifdef BAR_STYLE_V_0_IN_PROGMEM
14static const PROGMEM struct barstyle
15#else
16static const struct barstyle
17#endif
18
19barStyleV0 = {
20 {
21 { // bottomANDmask
22 0b11111,
23 0b11111,
24 0b11111,
25 0b11111,
26 0b11111,
27 0b11111,
28 0b11111,
29 0b11111},
30 { // bottomORmask
31 0b00000,
32 0b00000,
33 0b00000,
34 0b00000,
35 0b00000,
36 0b00000,
37 0b00000,
38 0b00000}
39 },
40 {
41 { // topANDmask
42 0b11111,
43 0b11111,
44 0b11111,
45 0b11111,
46 0b11111,
47 0b11111,
48 0b11111,
49 0b11111},
50 { // topORmask
51 0b00000,
52 0b00000,
53 0b00000,
54 0b00000,
55 0b00000,
56 0b00000,
57 0b00000,
58 0b00000}
59 },
60 {
61 { // middleANDmask
62 0b11111,
63 0b11111,
64 0b11111,
65 0b11111,
66 0b11111,
67 0b11111,
68 0b11111,
69 0b11111},
70 { // middleORmask
71 0b00000,
72 0b00000,
73 0b00000,
74 0b00000,
75 0b00000,
76 0b00000,
77 0b00000,
78 0b00000}
79 },
80 0, // LeftOffset
81 0, // RightOffset
82 1 // orientation...
83};
84
85#endif // !BAR_STYLE_V_0
Structure holding the bit-masks and other data used for drawing the edges of the progress bar that de...
Definition: barstyle.h:40