@@ -36,8 +36,8 @@ auto App::tick() -> void
|
||||
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;
|
||||
auto text = std::string_view("Hello from Waylight! 日本人ですか?");
|
||||
auto size = sin(GetTime()) * 12 + 32;
|
||||
m_tr->draw_text(m_font, text, pos, size, fg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user