[wpilib] Color: Improve string support (#8403)

Now rgb() and color constants are supported.

Changed from constructor to fromString() factory function to enable
directly returning color constant values.
This commit is contained in:
Peter Johnson
2025-11-21 16:41:05 -08:00
committed by GitHub
parent 32fc543dc8
commit e47b4a5c3b
5 changed files with 167 additions and 42 deletions

View File

@@ -168,7 +168,7 @@ classes:
b:
name: blue
int, int, int:
std::string_view:
FromString:
FromHSV:
HexString:
operator==: