# Compile time hexcolor support ported from palladium

This commit is contained in:
2026-01-01 21:36:15 +01:00
parent b4b1144c60
commit 99b330b136
4 changed files with 23 additions and 37 deletions

View File

@@ -51,7 +51,6 @@ class Example : public Amy::App {
Top->Use();
dl->DrawTex(Mgr->Get<Amy::Texture>("icon"));
dl->DrawRectFilled(Amy::fvec2(50, 0), 48, Amy::Color(255, 255, 255, 160));
// Color only at runtime...yet (Palladium 0.6.0 dev is targeting this)
dl->DrawCircleFilled(Amy::fvec2(200, 120), 50, Amy::Color("#ffffff"), 40);
dl->DrawSolid();
dl->DrawRectFilled(0, 50, Amy::Color(0.f, 1.f, 0.f, 1.f));