mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
23 lines
708 B
C++
23 lines
708 B
C++
#include "font.h"
|
|
|
|
static constexpr KDCoordinate glyphWidth = 8;
|
|
|
|
static constexpr KDCoordinate glyphHeight = 8;
|
|
|
|
static constexpr uint16_t glyphDataOffset[] = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
|
};
|
|
|
|
static constexpr uint8_t glyphData[] = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00
|
|
};
|
|
|
|
constexpr KDFont font(glyphWidth, glyphHeight, glyphDataOffset, glyphData);
|
|
|
|
const KDFont * KDFont::SmallFont = &font;
|