4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
630 B

Scriptname ColorForm extends Form Hidden
int Function GetColor() native
Function SetColor(int color) native
int Function GetRed()
return ColorComponent.GetRed(Self.GetColor())
EndFunction
int Function GetGreen()
return ColorComponent.GetGreen(Self.GetColor())
EndFunction
int Function GetBlue()
return ColorComponent.GetBlue(Self.GetColor())
EndFunction
float Function GetHue()
return ColorComponent.GetHue(Self.GetColor())
EndFunction
float Function GetSaturation()
return ColorComponent.GetSaturation(Self.GetColor())
EndFunction
float Function GetValue()
return ColorComponent.GetValue(Self.GetColor())
EndFunction