Control Surface  1.1.0
MIDI Control Surface library for Arduino
XBitmaps.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Arduino.h>
4 #include <stdint.h>
5 #include <Settings/SettingsWrapper.hpp>
6 
8 
9 /**
10  * @brief A struct containing X Bitmap width, height and data.
11  */
12 struct XBitmap {
13  XBitmap(uint16_t width, uint16_t height, const uint8_t bits[])
14  : width(width), height(height), bits(bits) {}
15  uint16_t width;
16  uint16_t height;
17  const uint8_t *bits;
18 };
19 
20 /**
21  * @brief A namespace containing XBitmap definitions.
22  *
23  * @note Don't edit this file directly, place your XBM image in the
24  * ./XBM folder, and run the python script in ./Scripts.
25  */
26 namespace XBM
27 {
28 
29 // ========================================================================== //
30 
31 // Automatically generated file: do not edit
32 
33 #include "mute_10B.axbm"
34 /**
35  * XBitmap&emsp;<b>mute_10B</b>&emsp;(10px × 10px)
36  * <img src="mute_10B.png" alt="mute_10B" class="xbm" style="width:7.5em;">
37  */
38 const XBitmap mute_10B = { mute_10B_width, mute_10B_height, mute_10B_bits };
39 
40 #include "mute_14B.axbm"
41 /**
42  * XBitmap&emsp;<b>mute_14B</b>&emsp;(14px × 14px)
43  * <img src="mute_14B.png" alt="mute_14B" class="xbm" style="width:10.5em;">
44  */
45 const XBitmap mute_14B = { mute_14B_width, mute_14B_height, mute_14B_bits };
46 
47 #include "mute_7.axbm"
48 /**
49  * XBitmap&emsp;<b>mute_7</b>&emsp;(7px × 7px)
50  * <img src="mute_7.png" alt="mute_7" class="xbm" style="width:5.25em;">
51  */
52 const XBitmap mute_7 = { mute_7_width, mute_7_height, mute_7_bits };
53 
54 #include "play_10x9.axbm"
55 /**
56  * XBitmap&emsp;<b>play_10x9</b>&emsp;(10px × 9px)
57  * <img src="play_10x9.png" alt="play_10x9" class="xbm" style="width:7.5em;">
58  */
59 const XBitmap play_10x9 = { play_10x9_width, play_10x9_height, play_10x9_bits };
60 
61 #include "play_7.axbm"
62 /**
63  * XBitmap&emsp;<b>play_7</b>&emsp;(7px × 7px)
64  * <img src="play_7.png" alt="play_7" class="xbm" style="width:5.25em;">
65  */
66 const XBitmap play_7 = { play_7_width, play_7_height, play_7_bits };
67 
68 #include "play_8x7.axbm"
69 /**
70  * XBitmap&emsp;<b>play_8x7</b>&emsp;(8px × 7px)
71  * <img src="play_8x7.png" alt="play_8x7" class="xbm" style="width:6.0em;">
72  */
73 const XBitmap play_8x7 = { play_8x7_width, play_8x7_height, play_8x7_bits };
74 
75 #include "rec_rdy_10B.axbm"
76 /**
77  * XBitmap&emsp;<b>rec_rdy_10B</b>&emsp;(10px × 10px)
78  * <img src="rec_rdy_10B.png" alt="rec_rdy_10B" class="xbm" style="width:7.5em;">
79  */
80 const XBitmap rec_rdy_10B = { rec_rdy_10B_width, rec_rdy_10B_height, rec_rdy_10B_bits };
81 
82 #include "rec_rdy_14B.axbm"
83 /**
84  * XBitmap&emsp;<b>rec_rdy_14B</b>&emsp;(14px × 14px)
85  * <img src="rec_rdy_14B.png" alt="rec_rdy_14B" class="xbm" style="width:10.5em;">
86  */
87 const XBitmap rec_rdy_14B = { rec_rdy_14B_width, rec_rdy_14B_height, rec_rdy_14B_bits };
88 
89 #include "rec_rdy_7.axbm"
90 /**
91  * XBitmap&emsp;<b>rec_rdy_7</b>&emsp;(7px × 7px)
92  * <img src="rec_rdy_7.png" alt="rec_rdy_7" class="xbm" style="width:5.25em;">
93  */
94 const XBitmap rec_rdy_7 = { rec_rdy_7_width, rec_rdy_7_height, rec_rdy_7_bits };
95 
96 #include "record_7.axbm"
97 /**
98  * XBitmap&emsp;<b>record_7</b>&emsp;(7px × 7px)
99  * <img src="record_7.png" alt="record_7" class="xbm" style="width:5.25em;">
100  */
101 const XBitmap record_7 = { record_7_width, record_7_height, record_7_bits };
102 
103 #include "record_9.axbm"
104 /**
105  * XBitmap&emsp;<b>record_9</b>&emsp;(9px × 9px)
106  * <img src="record_9.png" alt="record_9" class="xbm" style="width:6.75em;">
107  */
108 const XBitmap record_9 = { record_9_width, record_9_height, record_9_bits };
109 
110 #include "solo_10B.axbm"
111 /**
112  * XBitmap&emsp;<b>solo_10B</b>&emsp;(10px × 10px)
113  * <img src="solo_10B.png" alt="solo_10B" class="xbm" style="width:7.5em;">
114  */
115 const XBitmap solo_10B = { solo_10B_width, solo_10B_height, solo_10B_bits };
116 
117 #include "solo_14B.axbm"
118 /**
119  * XBitmap&emsp;<b>solo_14B</b>&emsp;(14px × 14px)
120  * <img src="solo_14B.png" alt="solo_14B" class="xbm" style="width:10.5em;">
121  */
122 const XBitmap solo_14B = { solo_14B_width, solo_14B_height, solo_14B_bits };
123 
124 #include "solo_7.axbm"
125 /**
126  * XBitmap&emsp;<b>solo_7</b>&emsp;(7px × 7px)
127  * <img src="solo_7.png" alt="solo_7" class="xbm" style="width:5.25em;">
128  */
129 const XBitmap solo_7 = { solo_7_width, solo_7_height, solo_7_bits };
130 
131 }
132 
XBitmap::bits
const uint8_t * bits
Definition: XBitmaps.hpp:17
XBM::solo_10B
const XBitmap solo_10B
XBitmap solo_10B (10px × 10px)
Definition: XBitmaps.hpp:115
XBM::rec_rdy_10B
const XBitmap rec_rdy_10B
XBitmap rec_rdy_10B (10px × 10px)
Definition: XBitmaps.hpp:80
XBM::play_7
const XBitmap play_7
XBitmap play_7 (7px × 7px)
Definition: XBitmaps.hpp:66
XBitmap::width
uint16_t width
Definition: XBitmaps.hpp:15
XBM::play_10x9
const XBitmap play_10x9
XBitmap play_10x9 (10px × 9px)
Definition: XBitmaps.hpp:59
XBM::mute_14B
const XBitmap mute_14B
XBitmap mute_14B (14px × 14px)
Definition: XBitmaps.hpp:45
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:9
XBitmap
A struct containing X Bitmap width, height and data.
Definition: XBitmaps.hpp:12
XBitmap::height
uint16_t height
Definition: XBitmaps.hpp:16
XBM
A namespace containing XBitmap definitions.
Definition: XBitmaps.hpp:26
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:10
XBM::rec_rdy_14B
const XBitmap rec_rdy_14B
XBitmap rec_rdy_14B (14px × 14px)
Definition: XBitmaps.hpp:87
XBM::play_8x7
const XBitmap play_8x7
XBitmap play_8x7 (8px × 7px)
Definition: XBitmaps.hpp:73
XBM::mute_7
const XBitmap mute_7
XBitmap mute_7 (7px × 7px)
Definition: XBitmaps.hpp:52
XBM::rec_rdy_7
const XBitmap rec_rdy_7
XBitmap rec_rdy_7 (7px × 7px)
Definition: XBitmaps.hpp:94
XBM::solo_14B
const XBitmap solo_14B
XBitmap solo_14B (14px × 14px)
Definition: XBitmaps.hpp:122
XBitmap::XBitmap
XBitmap(uint16_t width, uint16_t height, const uint8_t bits[])
Definition: XBitmaps.hpp:13
XBM::mute_10B
const XBitmap mute_10B
XBitmap mute_10B (10px × 10px)
Definition: XBitmaps.hpp:38
XBM::record_7
const XBitmap record_7
XBitmap record_7 (7px × 7px)
Definition: XBitmaps.hpp:101
XBM::record_9
const XBitmap record_9
XBitmap record_9 (9px × 9px)
Definition: XBitmaps.hpp:108
XBM::solo_7
const XBitmap solo_7
XBitmap solo_7 (7px × 7px)
Definition: XBitmaps.hpp:129