@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user