From 66fe43c4993cb4317d5627c4d0cf3939e392d95a Mon Sep 17 00:00:00 2001 From: GenevensiS <66968533+G-e-n-e-v-e-n-s-i-S@users.noreply.github.com> Date: Fri, 13 Jun 2025 00:35:33 +0200 Subject: [PATCH] add "silver" and "gold" color words --- src/gfx/color.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gfx/color.cpp b/src/gfx/color.cpp index 5f286a9b..eeda2ac1 100644 --- a/src/gfx/color.cpp +++ b/src/gfx/color.cpp @@ -62,6 +62,10 @@ optional parse_color(const String& v) { return nullopt; } else if (v == _("transparent")) { return Color(0,0,0,0); + } else if (v == _("silver")) { + return Color(200,200,200); + } else if (v == _("gold")) { + return Color(200,180,0); } else { // Try to find a named color wxColour c = wxTheColourDatabase->Find(v);