Color Added (#251)

* More colors

* Added colors and fixed tpp
This commit is contained in:
Cubolt 2025-04-30 19:46:24 +06:00 committed by GitHub
parent ce8d51f8ce
commit acdae3d348
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 57 additions and 12 deletions

View file

@ -140,15 +140,25 @@ inline Color White() { return Color(255, 255, 255); }
inline Color Red() { return Color(128, 0, 0); }
inline Color Green() { return Color(0, 128, 0); }
inline Color Brown() { return Color(128, 128, 0); }
inline Color Blue() { return Color(0, 0, 128); }
inline Color Brown() { return Color(128, 128, 0); }
inline Color Orange() { return Color(255, 128, 0); }
inline Color Pink() { return Color(255, 0, 128); }
inline Color Magenta() { return Color(128, 0, 255); }
inline Color Cyan() { return Color(0, 128, 128); }
inline Color Yellow() { return Color(255, 255, 0); }
inline Color DkRed() { return Color(64, 0, 0); }
inline Color DkGreen() { return Color(0, 64, 0); }
inline Color DkBlue() { return Color(0, 0, 64); }
inline Color DkYellow() { return Color(192, 192, 0); }
inline Color DkMagenta() { return Color(128, 0, 128); }
inline Color DkCyan() { return Color(0, 128, 128); }
inline Color LtRed() { return Color(255, 0, 0); }
inline Color LtGreen() { return Color(0, 255, 0); }
inline Color LtYellow() { return Color(255, 255, 192); }
inline Color LtBlue() { return Color(0, 0, 255); }
inline Color LtYellow() { return Color(255, 255, 128); }
inline Color LtMagenta() { return Color(255, 0, 255); }
inline Color LtCyan() { return Color(0, 255, 255); }

View file

@ -436,12 +436,22 @@ predefined color value.&]
[s2; Green.&]
[s3;%- &]
[s4;%- &]
[s5;:Blue`(`):%- [_^Color^ Color]_[* Blue]()&]
[s2; Blue.&]
[s3;%- &]
[s4;%- &]
[s5;:Brown`(`):%- [_^Color^ Color]_[* Brown]()&]
[s2; Brown.&]
[s3;%- &]
[s4;%- &]
[s5;:Blue`(`):%- [_^Color^ Color]_[* Blue]()&]
[s2; Blue.&]
[s5;:Orange`(`):%- [_^Color^ Color]_[* Orange]()&]
[s2; Orange.&]
[s3; &]
[s3;%- &]
[s4;%- &]
[s5;:Pink`(`):%- [_^Color^ Color]_[* Pink]()&]
[s2; Pink.&]
[s3; &]
[s3;%- &]
[s4;%- &]
[s5;:Magenta`(`):%- [_^Color^ Color]_[* Magenta]()&]
@ -456,27 +466,52 @@ predefined color value.&]
[s2; Yellow.&]
[s3; &]
[s4;%- &]
[s5;:DkRed`(`):%- [_^Color^ Color]_[* DkRed]()&]
[s2; Dark Red.&]
[s3;%- &]
[s4;%- &]
[s5;:DkGreen`(`):%- [_^Color^ Color]_[* DkGreen]()&]
[s2; Dark Green.&]
[s3;%- &]
[s4;%- &]
[s5;:DkBlue`(`):%- [_^Color^ Color]_[* DkBlue]()&]
[s2; Dark Blue.&]
[s3;%- &]
[s4;%- &]
[s5;:DkYellow`(`):%- [_^Color^ Color]_[* DkYellow]()&]
[s2; Dark Yellow.&]
[s3;%- &]
[s4;%- &]
[s5;:DkMagenta`(`):%- [_^Color^ Color]_[* DkMagenta]()&]
[s2; Dark Magenta.&]
[s3; &]
[s3;%- &]
[s4;%- &]
[s5;:DkCyan`(`):%- [_^Color^ Color]_[* DkCyan]()&]
[s2; Dark Cyan.&]
[s3; &]
[s3;%- &]
[s4;%- &]
[s5;:LtRed`(`):%- [_^Color^ Color]_[* LtRed]()&]
[s2; Light red.&]
[s2; Light Red.&]
[s3;%- &]
[s4;%- &]
[s5;:LtGreen`(`):%- [_^Color^ Color]_[* LtGreen]()&]
[s2; Light green.&]
[s2; Light Green.&]
[s3;%- &]
[s4;%- &]
[s5;:LtYellow`(`):%- [_^Color^ Color]_[* LtYellow]()&]
[s2; Light yellow.&]
[s2; Light Yellow.&]
[s3;%- &]
[s4;%- &]
[s5;:LtBlue`(`):%- [_^Color^ Color]_[* LtBlue]()&]
[s2; Light blue.&]
[s2; Light Blue.&]
[s3;%- &]
[s4;%- &]
[s5;:LtMagenta`(`):%- [_^Color^ Color]_[* LtMagenta]()&]
[s2; Light magenta.&]
[s2; Light Magenta.&]
[s3;%- &]
[s4;%- &]
[s5;:LtCyan`(`):%- [_^Color^ Color]_[* LtCyan]()&]
[s2; Light cyan.&]
[s3;%- &]
[s0; ]]
[s2; Light Cyan.&]
[s0; ]]