Skip to content

gadgets/colorwheel.gadget

The colour wheel is a gadget class of AmigaOS, a wheel for choosing a colour by hue and saturation. Its two calls convert colours between RGB and HSB values. A program that uses these calls opens the gadget when it starts; on a system without it, the calls must not be used.

Declared by deflibs library 219.

Calls

CallArgumentsRegistersOffset
ConvertHSBToRGB_(hsb,rgb)a0, a1-30
ConvertRGBToHSB_(rgb,hsb)a0, a1-36