More Font utils

This commit is contained in:
Ben V. Brown
2023-06-29 18:46:26 +10:00
parent 45639e5c23
commit 3a05d695f8
2 changed files with 6 additions and 3 deletions

View File

@@ -8,5 +8,6 @@ enum class FontStyle {
FROM_HEIGHT, // Pick font to best fill the height
};
constexpr uint8_t get_fontstyle_height(const FontStyle font);
constexpr uint8_t get_fontstyle_width(const FontStyle font);
constexpr uint8_t get_fontstyle_height(const FontStyle font);
constexpr uint8_t get_fontstyle_width(const FontStyle font);
constexpr FontStyle get_fontstyle_fromHeight(const uint8_t height);