Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-10-05 07:27:12 +03:00
parent 6ec78cf752
commit 4d8940812a
5 changed files with 553 additions and 20 deletions

View File

@@ -33,6 +33,13 @@ auto App::tick() -> void
ClearBackground(BLANK);
DrawFPS(10, 10);
if (m_tr) {
Color const fg = theme().foreground;
Vector2 const pos { 40.0f, 60.0f };
auto text = std::string_view("Hello from Waylight");
auto size = 48;
m_tr->draw_text(m_font, text, pos, size, fg);
}
EndDrawing();