mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Move out FontStyle
This commit is contained in:
12
source/Core/Inc/FontUtils.h
Normal file
12
source/Core/Inc/FontUtils.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
enum class FontStyle {
|
||||
SMALL,
|
||||
LARGE,
|
||||
EXTRAS,
|
||||
FROM_TEXT, // Magically pick from the text
|
||||
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);
|
||||
Reference in New Issue
Block a user