-
Notifications
You must be signed in to change notification settings - Fork 6
/
as.predefined
5223 lines (5221 loc) · 183 KB
/
as.predefined
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// as.predefined
// AngelScript definitions in OpenSiv3D v0.6.15 (https://github.com/Siv3D/OpenSiv3D)
// This file was generated automatically.
// In many cases, as.predefined can be generated automatically.
// Please refer to make_predefined.cpp in this directory.
enum TextEncoding {
Unknown,
UTF8_NO_BOM,
UTF8_WITH_BOM,
UTF16LE,
UTF16BE,
Default
}
enum OpenMode {
Trunc,
Append
}
enum SpecialFolder {
Desktop,
Documents,
LocalAppData,
Pictures,
Music,
Videos,
Caches,
Movies,
SystemFonts,
LocalFonts,
UserFonts,
UserProfile,
ProgramFiles
}
enum CopyOption {
Default,
SkipExisting,
OverwriteExisting,
UpdateExisting
}
enum WindowStyle {
Fixed,
Sizable,
Frameless
}
enum CursorStyle {
Arrow,
IBeam,
Cross,
Hand,
NotAllowed,
ResizeUpDown,
ResizeLeftRight,
ResizeNWSE,
ResizeNESW,
ResizeAll,
Hidden,
Default
}
enum ResizeMode {
Actual,
Virtual,
Keep
}
enum TextInputMode {
DenyControl,
AllowEnter,
AllowTab,
AllowBackSpace,
AllowDelete,
AllowEnterTab,
AllowEnterBackSpace,
AllowEnterBackSpaceDelete,
AllowTabBackSpace,
AllowTabBackSpaceDelete,
AllowBackSpaceDelete,
AllowEnterTabBackSpace,
AllowEnterTabBackSpaceDelete,
Default
}
enum LanguageCode {
ArabicSA,
ChineseCN,
ChineseHK,
ChineseTW,
EnglishAU,
EnglishGB,
EnglishUS,
FrenchFR,
GermanDE,
HindiIN,
ItalianIT,
Japanese,
Korean,
PortugueseBR,
RussianRU,
SpanishES,
Unspecified
}
enum TextureDesc {
Unmipped,
UnmippedSRGB,
Mipped,
MippedSRGB,
SDF
}
enum TexturePixelFormat {
Unknown,
R8G8B8A8_Unorm,
R8G8B8A8_Unorm_SRGB,
R16G16_Float,
R32_Float,
R10G10B10A2_Unorm,
R11G11B10_UFloat,
R16G16B16A16_Float,
R32G32_Float,
R32G32B32A32_Float
}
enum FontStyle {
Default,
Bold,
Italic,
BoldItalic,
Bitmap,
BoldBitmap,
ItalicBitmap,
BoldItalicBitmap
}
enum Typeface {
CJK_Regular_JP,
CJK_Regular_KR,
CJK_Regular_SC,
CJK_Regular_TC,
CJK_Regular_HK,
MonochromeEmoji,
ColorEmoji,
Mplus_Thin,
Mplus_Light,
Mplus_Regular,
Mplus_Medium,
Mplus_Bold,
Mplus_Heavy,
Mplus_Black,
Icon_Awesome_Solid,
Icon_Awesome_Brand,
Icon_MaterialDesign,
Thin,
Light,
Regular,
Medium,
Bold,
Heavy,
Black
}
enum FontMethod {
Bitmap,
SDF,
MSDF
}
enum ImageFormat {
Unknown,
DDS,
PNG,
JPEG,
JPEG2000,
BMP,
WebP,
GIF,
TIFF,
TGA,
PPM,
SVG,
Unspecified
}
enum AdaptiveThresholdMethod {
Mean,
Gaussian
}
enum BorderType {
Replicate,
Reflect,
Reflect_101
}
enum FloodFillConnectivity {
Value4,
Value8
}
enum InterpolationAlgorithm {
Nearest,
Linear,
Cubic,
Area,
Lanczos,
Auto
}
enum AudioFormat {
Unknown,
WAVE,
MP3,
AAC,
OggVorbis,
Opus,
WMA,
AIFF,
FLAC,
MIDI,
Unspecified
}
enum GMInstrument {
Piano1,
Piano2,
Piano3,
Piano4,
ElectricPiano1,
ElectricPiano2,
Harpsichord,
Clavinet,
Celesta,
Glockenspiel,
MusicBox,
Vibraphone,
Marimba,
Xylophone,
TubularBells,
Dulcimer,
DrawbarOrgan,
PercussiveOrgan,
RockOrgan,
ChurchOrgan,
ReedOrgan,
Accordion,
Harmonica,
TangoAccordion,
NylonGuitar,
SteelGuitar,
JazzGuitar,
CleanGuitar,
PianMutedGuitaro1,
OverdrivenGuitar,
DistortionGuitar,
GuitarHarmonics,
AcousticBass,
FingeredBass,
PickedBass,
FretlessBass,
SlapBass1,
SlapBass2,
SynthBass1,
SynthBass2,
Violin,
Viola,
Cello,
Contrabass,
TremoloStrings,
PizzicatoStrings,
OrchestralHarp,
Timpani,
StringEnsemble1,
StringEnsemble2,
SynthStrings1,
SynthStrings2,
ChoirAahs,
VoiceOohs,
SynthChoir,
OrchestraHit,
Trumpet,
Trombone,
Tuba,
MutedTrumpet,
FrenchHorn,
BrassSection,
SynthBrass1,
SynthBrass2,
SopranoSax,
AltoSax,
TenorSax,
BaritoneSax,
Oboe,
EnglishHorn,
Bassoon,
Clarinet,
Piccolo,
Flute,
Recorder,
PanFlute,
Blownbottle,
Shakuhachi,
Whistle,
PiaOcarinano1,
SquareWave,
SawWave,
SynCalliope,
ChifferLead,
Charang,
SoloVox,
FifthSawWave,
BassAndLead,
Fantasia,
WarmPad,
Polysynth,
SpaceVoice,
BowedGlass,
MetalPad,
HaloPad,
SweepPad,
IceRain,
Soundtrack,
Crystal,
Atmosphere,
Brightness,
Goblin,
EchoDrops,
StarTheme,
Sitar,
Banjo,
Shamisen,
Koto,
Kalimba,
Bagpipe,
Fiddle,
Shanai,
TinkleBell,
Agogo,
SteelDrums,
Woodblock,
TaikoDrum,
MelodicTom,
SynthDrum,
ReverseCymbal,
GuitarFretNoise,
BreathNoise,
Seashore,
BirdTweet,
TelephoneRing,
Helicopter,
Applause,
Gunshot
}
enum PianoKey {
C_1,
CS_1,
DF_1,
D_1,
DS_1,
EF_1,
E_1,
FF_1,
F_1,
ES_1,
FS_1,
GF_1,
G_1,
GS_1,
AF_1,
A_1,
AS_1,
BF_1,
B_1,
C0,
CS0,
DF0,
D0,
DS0,
EF0,
E0,
FF0,
F0,
ES0,
FS0,
GF0,
G0,
GS0,
AF0,
A0,
AS0,
BF0,
B0,
C1,
CS1,
DF1,
D1,
DS1,
EF1,
E1,
FF1,
F1,
ES1,
FS1,
GF1,
G1,
GS1,
AF1,
A1,
AS1,
BF1,
B1,
C2,
CS2,
DF2,
D2,
DS2,
EF2,
E2,
FF2,
F2,
ES2,
FS2,
GF2,
G2,
GS2,
AF2,
A2,
AS2,
BF2,
B2,
C3,
CS3,
DF3,
D3,
DS3,
EF3,
E3,
FF3,
F3,
ES3,
FS3,
GF3,
G3,
GS3,
AF3,
A3,
AS3,
BF3,
B3,
C4,
CS4,
DF4,
D4,
DS4,
EF4,
E4,
FF4,
F4,
ES4,
FS4,
GF4,
G4,
GS4,
AF4,
A4,
AS4,
BF4,
B4,
C5,
CS5,
DF5,
D5,
DS5,
EF5,
E5,
FF5,
F5,
ES5,
FS5,
GF5,
G5,
GS5,
AF5,
A5,
AS5,
BF5,
B5,
C6,
CS6,
DF6,
D6,
DS6,
EF6,
E6,
FF6,
F6,
ES6,
FS6,
GF6,
G6,
GS6,
AF6,
A6,
AS6,
BF6,
B6,
C7,
CS7,
DF7,
D7,
DS7,
EF7,
E7,
FF7,
F7,
ES7,
FS7,
GF7,
G7,
GS7,
AF7,
A7,
AS7,
BF7,
B7,
C8,
CS8,
DF8,
D8,
DS8,
EF8,
E8,
FF8,
F8,
ES8,
FS8,
GF8,
G8,
GS8,
AF8,
A8,
AS8,
BF8,
B8,
C9,
CS9,
DF9,
D9,
DS9,
EF9,
E9,
FF9,
F9,
ES9,
FS9,
GF9,
G9
}
enum MixBus {
Index0,
Index1,
Index2,
Index3
}
enum CameraControl {
None_,
WASDKeys,
UpDownKeys,
RightClick,
Wheel,
Keyboard,
Mouse,
Default
}
namespace Transformer2D {
enum Target {
PushLocal,
PushCamera,
SetLocal,
SetCamera
}
}
class Array<T>{
Array<T>& opAssign(const Array<T>&in);
T& opIndex(uint index);
const T& opIndex(uint index) const;
Array<T>& opShl(const T&in);
T& choice();
const T& choice() const;
T& front();
const T& front() const;
T& back();
const T& back() const;
uint size() const;
bool empty() const;
bool isEmpty() const;
void reserve(uint length);
void resize(uint length);
void push_front(const T&in);
void push_back(const T&in);
void pop_front();
void pop_back();
void clear();
void insert(uint index, const T&in value);
void insert(uint index, const Array<T>&inout arr);
void insertAt(uint index, const T&in value);
void insertAt(uint index, const Array<T>&inout arr);
void removeAt(uint index);
uint count() const;
void sort();
void sortAsc();
void sortAsc(uint startAt, uint count);
void sortDesc();
void sortDesc(uint startAt, uint count);
void reverse();
int find(const T&in value) const;
int find(uint startAt, const T&in value) const;
int findByRef(const T&in value) const;
int findByRef(uint startAt, const T&in value) const;
bool opEquals(const Array<T>&in) const;
void sort(Array::less&in, uint startAt = 0, uint count = uint ( - 1 ));
funcdef bool less(const T&in, const T&in);
}
class Grid<T>{
T& opIndex(uint, uint);
const T& opIndex(uint, uint) const;
void resize(uint width, uint height);
uint width() const;
uint height() const;
void fill(const T&in);
}
namespace Arg {
class topLeft_{
Arg::topLeft_Vec2 opAssign(Vec2) const;
Arg::topLeft_Vec2 opCall(double, double) const;
Arg::topLeft_Vec2 opCall(Vec2) const;
}
}
namespace Arg {
class topLeft_Vec2{
topLeft_Vec2();
topLeft_Vec2(const Arg::topLeft_Vec2&in);
}
}
namespace Arg {
class center_{
Arg::center_Vec2 opAssign(Vec2) const;
Arg::center_Vec2 opCall(double, double) const;
Arg::center_Vec2 opCall(Vec2) const;
}
}
namespace Arg {
class center_Vec2{
center_Vec2();
center_Vec2(const Arg::center_Vec2&in);
}
}
namespace Arg {
class sampleRate_{
Arg::sampleRate_uint32 opAssign(uint) const;
Arg::sampleRate_uint32 opCall(uint) const;
}
}
namespace Arg {
class sampleRate_uint32{
sampleRate_uint32();
sampleRate_uint32(const Arg::sampleRate_uint32&in);
}
}
class char32{
uint opImplConv() const;
char32& opAssign(uint);
char32 opAdd(uint) const;
char32 opSub(uint) const;
Vec2& opAddAssign(uint);
Vec2& opSubAssign(uint);
bool opEquals(char32) const;
int opCmp(char32) const;
}
class String{
~String();
String();
String(const String&in);
String& opAssign(const String&in);
String& opAddAssign(const String&in);
bool opEquals(const String&in) const;
int opCmp(const String&in) const;
String opAdd(const String&in) const;
char32& opIndex(uint);
const char32& opIndex(uint) const;
uint size() const;
uint length() const;
void resize(uint);
bool empty() const;
bool isEmpty() const;
String& opShl(uint ch);
void push_front(uint ch);
void push_back(uint ch);
void pop_front();
void pop_front_N(uint64);
void pop_back();
void pop_back_N(uint64);
char32& front();
const char32& front() const;
char32& back();
const char32& back() const;
String substr(uint start = 0, int count = - 1) const;
void insert(uint pos, const String&in other);
void erase(uint pos, int count = - 1);
int indexOf(const String&in, uint start = 0) const;
int lastIndexOf(const String&in, int start = - 1) const;
int indexOfAny(const String&in, uint start = 0) const;
int indexNotOfAny(const String&in, uint start = 0) const;
int lastIndexOfAny(const String&in, int start = - 1) const;
int lastIndexNotOfAny(const String&in, int start = - 1) const;
}
class None_t{
None_t();
}
class Optional<T>{
~Optional();
Optional(int&in);
Optional(int&in, const T&in value);
Optional(int&in, None_t);
Optional<T>& opAssign(const Optional<T>&in);
Optional<T>& opAssign(const T&in);
Optional<T>& opAssign(None_t);
Optional<T>& opEquals(None_t) const;
T& value();
const T& value() const;
const T& value_or(const T&in value) const;
bool opImplConv() const;
bool has_value() const;
void reset();
void reset(const T&in value);
}
class Duration{
Duration();
Duration(const Duration&in);
Duration(double);
double count() const;
double _rep;
}
class Date{
Date();
Date(const Date&in);
Date(int year, int month = 1, int day = 1);
bool isToday() const;
bool isLeapYear() const;
int daysInYear() const;
int daysInMonth() const;
bool isValid() const;
String format(const String&in format = "yyyy-MM-dd") const;
int opCmp(const Date&in) const;
uint64 hash() const;
int year;
int month;
int day;
}
class DateTime{
DateTime();
DateTime(const DateTime&in);
DateTime(int year, int month, int day, int _hour = 0, int minute = 0, int second = 0, int milliseconds = 0);
DateTime(const Date&in date, int _hour = 0, int minute = 0, int second = 0, int milliseconds = 0);
bool isToday() const;
bool isLeapYear() const;
int daysInYear() const;
int daysInMonth() const;
bool isValid() const;
String format(const String&in format = "yyyy-MM-dd HH:mm:ss") const;
int opCmp(const DateTime&in) const;
uint64 hash() const;
int year;
int month;
int day;
int hour;
int minute;
int second;
int milliseconds;
}
class Stopwatch{
~Stopwatch();
Stopwatch();
Stopwatch(bool startImmediately);
Stopwatch(const Duration&in, bool startImmediately = false);
bool isStarted() const;
bool isPaused() const;
bool isRunning() const;
void start();
void pause();
void resume();
void reset();
void restart();
void set(const Duration&in);
int d() const;
int64 d64() const;
double dF() const;
int h() const;
int64 h64() const;
double hF() const;
int min() const;
int64 min64() const;
double minF() const;
int s() const;
int64 s64() const;
double sF() const;
int ms() const;
int64 ms64() const;
double msF() const;
int64 us() const;
int64 us64() const;
double usF() const;
Duration elapsed() const;
String format(const String&in format = "H:mm:ss.xx");
int opCmp(const Duration&in) const;
}
class VariableSpeedStopwatch{
~VariableSpeedStopwatch();
VariableSpeedStopwatch();
VariableSpeedStopwatch(bool startImmediately);
VariableSpeedStopwatch(double speed, bool startImmediately = false);
VariableSpeedStopwatch(const Duration&in, double speed = 1.0, bool startImmediately = false);
bool isStarted() const;
bool isPaused() const;
bool isRunning() const;
void start();
void pause();
void resume();
void reset();
void restart();
void set(const Duration&in);
void setSpeed(double speed);
double getSpeed() const;
int d() const;
int64 d64() const;
double dF() const;
int h() const;
int64 h64() const;
double hF() const;
int min() const;
int64 min64() const;
double minF() const;
int s() const;
int64 s64() const;
double sF() const;
int ms() const;
int64 ms64() const;
double msF() const;
int64 us() const;
int64 us64() const;
double usF() const;
Duration elapsed() const;
String format(const String&in format = "H:mm:ss.xx");
int opCmp(const Duration&in) const;
}
class Timer{
~Timer();
Timer();
Timer(const Duration&in, bool startImmediately = false);
bool isStarted() const;
bool isPaused() const;
bool isRunning() const;
bool reachedZero() const;
void start();
void pause();
void resume();
void reset();
void restart();
void restart(const Duration&in);
void set(const Duration&in);
void setRemaining(const Duration&in);
int d() const;
int64 d64() const;
double dF() const;
int h() const;
int64 h64() const;
double hF() const;
int min() const;
int64 min64() const;
double minF() const;
int s() const;
int64 s64() const;
double sF() const;
int ms() const;
int64 ms64() const;
double msF() const;
int64 us() const;
int64 us64() const;
double usF() const;
Duration duration() const;
Duration remaining() const;
double progress1_0() const;
double progress0_1() const;
String format(const String&in format = "H:mm:ss.xx");
int opCmp(const Duration&in) const;
}
class MillisecClock{
~MillisecClock();
MillisecClock();
uint64 ms() const;
void log() const;
void console() const;
void print() const;
}
class MicrosecClock{
~MicrosecClock();
MicrosecClock();
uint64 us() const;
void log() const;
void console() const;
void print() const;
}
class RDTSCClock{
~RDTSCClock();
RDTSCClock();
uint64 cycles() const;
void log() const;
void console() const;
void print() const;
}
class TextReader{
~TextReader();
TextReader();
TextReader(const TextReader&in);
TextReader(const String&in, TextEncoding);
TextReader(const String&in, None_t = unspecified);
bool open(const String&in, TextEncoding);
bool open(const String&in, None_t = unspecified);
void close() const;
bool isOpen() const;
bool opImplConv() const;
Optional<char32> readChar();
Optional<String> readLine();
String readAll();
bool readChar(char32&out);
bool readLine(String&out);
bool readAll(String&out);
TextEncoding encoding() const;
String path() const;
}
class TextWriterBuffer{
TextWriterBuffer& opShl(const String&in text);
TextWriterBuffer& opShl(const ?&in);
}
class TextWriter{
~TextWriter();
TextWriter();
TextWriter(const TextWriter&in);
TextWriter(const String&in, TextEncoding);
TextWriter(const String&in, OpenMode openMode = OpenMode :: Trunc, TextEncoding encoding = TextEncoding :: UTF8_WITH_BOM);
bool open(const String&in, TextEncoding);
bool open(const String&in, OpenMode openMode = OpenMode :: Trunc, TextEncoding encoding = TextEncoding :: UTF8_WITH_BOM);
void close() const;
bool isOpen() const;
bool opImplConv() const;
void clear() const;
void write(uint);
void write(const String&inout);
void writeln(uint);
void writeln(const String&inout);
TextWriterBuffer@ opShl(const String&in text) const;
TextWriterBuffer@ opShl(const ?&in) const;
TextEncoding encoding() const;
String path() const;
}
class INI{
~INI();
INI();
INI(const INI&in);
INI(const String&in);
bool load(const String&in);
void clear();
bool isEmpty() const;
bool opImplConv() const;
bool hasSection(const String&in) const;
bool hasValue(const String&in, const String&in) const;
String getValue(const String&in, const String&in) const;
bool hasGlobalValue(const String&in) const;
String getGlobalValue(const String&in) const;
String opIndex(const String&in) const;
void addSection(const String&in);
void removeSection(const String&in);
void write(const String&in, const String&in, const String&in);
void writeGlobal(const String&in, const String&in);
bool save(const String&in);
}
class Color{
Color(const Color&in);
Color(uint8 r, uint8 g, uint8 b, uint8 a = 255);
Color(uint8 rgb, uint8 a = 255);
Color(const Color&in, uint8 a);
Color(const ColorF&in);
Color(const ColorF&in, uint8 a);
Color(const HSV&in);
Color(const HSV&in, uint8 a);
Color(const String&in);
Color& opAssign(const Color&in);
Color& opAssign(const ColorF&in);
Color& opAssign(const HSV&in);
Color opCom() const;
bool opEquals(const Color&in) const;
Color withR(uint r);
Color withG(uint g);
Color withB(uint b);
Color withA(uint a);
Color& setR(uint r);
Color& setG(uint g);
Color& setB(uint b);
Color& setA(uint a);
Color& setRGB(uint rgb);
Color& setRGB(uint r, uint g, uint b);
Color& set(uint rgb, uint a = 255);
Color& set(uint r, uint g, uint b, uint a = 255);
Color& set(Color);
uint8 grayscale0_255() const;