Tutorial(Gui24): make text readable under dark theme (#241)

...by changing the text color to `SBlue`.
This commit is contained in:
Gary Wang 2025-03-17 21:33:13 +08:00 committed by GitHub
parent cf7b9961e9
commit 916253ca4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ struct MyAppWindow : TopWindow {
void Paint(Draw& w) override {
w.DrawRect(GetSize(), SLtYellow);
w.DrawText(20, 20, t_("Hello translation engine!"), Arial(30), Blue);
w.DrawText(20, 20, t_("Hello translation engine!"), Arial(30), SBlue);
}
};