Basic rendering of the font
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
|
||||
namespace JabyEngine {
|
||||
struct FontWriter {
|
||||
static void setup(const FontBufferInfo& buffer_info, const SimpleTIM& vram_dst, const FontInfo& font_info);
|
||||
static void render();
|
||||
struct Cursor {
|
||||
GPU::PositionI16 pos;
|
||||
|
||||
void write(const char* str);
|
||||
};
|
||||
|
||||
static void setup(const FontBufferInfo& buffer_info, const SimpleTIM& vram_dst, const FontInfo& font_info);
|
||||
static Cursor start(const GPU::PositionI16& pos);
|
||||
static void render();
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user