SparkFun SSD168x Library  v1.0.2
Library for SSD1680 / SSD1681 e-paper displays on SPI
Loading...
Searching...
No Matches
qw_ep_fnt_7segment.h
Go to the documentation of this file.
1
19#pragma once
20
21#include "qwiic_resdef.h"
22
23class QwEpFont7Segment final : public fontEpSingleton<QwEpFont7Segment> {
24
25public:
26 const uint8_t* data(void)
27 {
28 // include font data (static const), and attribute defines.
29 // Doing this here makes the data variable a static (aka only one instance ever)
30 // variable in this method.
31#include "_fnt_7segment.h"
32
33 return segment7_data;
34 }
35
43 {
44 }
45};
46
47#define QW_EP_FONT_7SEGMENT QwEpFont7Segment::instance()
#define FONT_7SEG_MAP_WIDTH
Definition: _fnt_7segment.h:33
#define FONT_7SEG_HEIGHT
Definition: _fnt_7segment.h:30
#define FONT_7SEG_START
Definition: _fnt_7segment.h:31
#define FONT_7SEG_NAME
Definition: _fnt_7segment.h:34
#define FONT_7SEG_NCHAR
Definition: _fnt_7segment.h:32
#define FONT_7SEG_WIDTH
Definition: _fnt_7segment.h:29
Definition: qw_ep_fnt_7segment.h:23
QwEpFont7Segment()
Definition: qw_ep_fnt_7segment.h:36
const uint8_t * data(void)
Definition: qw_ep_fnt_7segment.h:26
Definition: qwiic_resdef.h:164