CheeseBoard
A library for use with the CheeseBoard Cheddar platform
GfxFont.h
1 #pragma once
2 
3 #include <stdint.h>
4 #include "CbOledDisplay.h"
5 
8 class GfxFont {
9 public:
15  GfxFont(const uint8_t* font, uint8_t fontHeight);
16 
21  uint8_t height();
22 
25  void use();
26 
27 private:
28  const uint8_t* _font;
29  uint8_t _height;
30 
31 };
32 
33 extern GfxFont GfxDefaultFont;
Definition: GfxFont.h:8
GfxFont(const uint8_t *font, uint8_t fontHeight)
Definition: GfxFont.cpp:5
uint8_t height()
Definition: GfxFont.cpp:11
void use()
Definition: GfxFont.cpp:16