[Teton] Factor drawing glyphs to screen into a separate class.

This commit is contained in:
Drew Galbraith 2023-11-21 19:32:31 -08:00
parent fe44804dd9
commit afdb024c36
6 changed files with 60 additions and 7 deletions

View file

@ -11,6 +11,9 @@ class Framebuffer {
void DrawGlyph(uint8_t* glyph);
uint64_t width() { return fb_info_.width(); }
uint64_t height() { return fb_info_.height(); }
private:
// FIXME: Implement Yunq copy or move so we
// don't have to store a reference here.