Colors in Raylib

Mike Parker aldacron at gmail.com
Tue Mar 1 15:19:14 UTC 2022


On Tuesday, 1 March 2022 at 13:15:09 UTC, meta wrote:

>
>     enum Color
>     { GRAY }
>
>     void setColor(Color color);
>
>     setColor(GRAY);

Then that defeats the purpose of having named enums.


More information about the Digitalmars-d-learn mailing list