Very WIP: Add keyboard

This commit is contained in:
Pk11
2021-08-28 20:54:11 -05:00
parent a80633f316
commit c32bb5dd6d
8 changed files with 861 additions and 0 deletions
+4
View File
@@ -87,6 +87,10 @@ void Gui::clearTextBufs(void) {
DefaultFont->clear();
}
void Gui::updateTextBufs(bool top) {
DefaultFont->update(top);
}
void Gui::DrawSprite(Spritesheet &sheet, size_t imgindex, int x, int y, float ScaleX, float ScaleY) {
sheet[imgindex].draw(x, y, 0x20, ScaleX, ScaleY);
}