This commit is contained in:
Ilusha 2024-03-16 12:07:49 +03:00
parent 65cb26a627
commit 1ead32d84a
71 changed files with 199 additions and 282 deletions

View file

@ -2,7 +2,7 @@
#include "GraphicsCommon.hpp"
// TODO : fix this ugly shit
// TODO : ugly
namespace tp {
class Window;
@ -85,7 +85,7 @@ namespace tp {
void pushClamp(const RectF& rec);
void popClamp();
void rect(const RectF& rec, const RGBA& col, halnf round = 0);
void text(const String&, const RectF&, halnf size, Align, halnf marging, const RGBA&);
void text(const char*, const RectF&, halnf size, Align, halnf marging, const RGBA&);
// TODO : API

View file

@ -2,9 +2,10 @@
#include "Color.hpp"
#include "Rect.hpp"
#include "Strings.hpp"
#include "Timing.hpp"
#include "Allocators.hpp"
namespace tp {
extern ModuleManifest gModuleGraphics;
}