mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[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:
@@ -168,7 +168,7 @@ classes:
|
||||
b:
|
||||
name: blue
|
||||
int, int, int:
|
||||
std::string_view:
|
||||
FromString:
|
||||
FromHSV:
|
||||
HexString:
|
||||
operator==:
|
||||
|
||||
Reference in New Issue
Block a user