mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-17 04:34:44 -07:00
Update TOTP
This commit is contained in:
24
applications/external/totp/ui/fonts/font-info.h
vendored
Normal file
24
applications/external/totp/ui/fonts/font-info.h
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
/* GENERATED BY https://github.com/pavius/the-dot-factory */
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// This structure describes a single character's display information
|
||||
typedef struct {
|
||||
const uint8_t width; // width, in bits (or pixels), of the character
|
||||
const uint16_t
|
||||
offset; // offset of the character's bitmap, in bytes, into the the FONT_INFO's data array
|
||||
|
||||
} FONT_CHAR_INFO;
|
||||
|
||||
// Describes a single font
|
||||
typedef struct {
|
||||
const uint8_t height; // height, in pages (8 pixels), of the font's characters
|
||||
const uint8_t startChar; // the first character in the font (e.g. in charInfo and data)
|
||||
const uint8_t endChar; // the last character in the font
|
||||
const uint8_t spacePixels; // number of pixels that a space character takes up
|
||||
const FONT_CHAR_INFO* charInfo; // pointer to array of char information
|
||||
const uint8_t* data; // pointer to generated array of character visual representation
|
||||
|
||||
} FONT_INFO;
|
||||
Reference in New Issue
Block a user