text rendering + food couter, minor fixes

This commit is contained in:
programsnail 2024-07-26 20:25:52 +03:00
parent 421574ab40
commit 0d30ca5575
8 changed files with 216 additions and 17 deletions

18
include/Text.hpp Normal file
View file

@ -0,0 +1,18 @@
#pragma once
#include "Canvas.hpp"
namespace canvas {
struct Text : public Object {
uint scale;
uint value;
};
} // namespace canvas
namespace paint {
void text(const canvas::Text &t);
} // namespace paint