Category: IGI
Syntax:
igiColourEdit:Int(label:String, rgb:Int)
Int
Red, green and blue boxes and a swatch; click the swatch for a colour picker.
Takes label (The text beside it), rgb (The colour as one number: r * 65536 + g * 256 + b).
Returns: The new colour, packed the same way.
View detailed documentation online
shipColour = igiColourEdit("Ship", shipColour)
b2dSetColor((shipColour Shr 16) BitAnd 255, (shipColour Shr 8) BitAnd 255, shipColour BitAnd 255)
BambooBasic © 2026 Michael Denathorn