import { Vec3 } from "../../Math/Vector"; import { IControl } from "../UiControl"; import { WindowLike } from "./UiWindow"; export declare enum ColorPickerType { Cube = 0, HsvWheel = 1 } export declare enum ColorPickerCubePrimary { RgbR = 0, RgbG = 1, RgbB = 2, HsvH = 3, HsvS = 4, HsvV = 5 } export interface IColorPicker extends IControl { new (window: WindowLike): IColorPicker; SetPickerType(nType: ColorPickerType): ColorPicker; GetPickerType(): ColorPickerType; SetCubePrimary(n: ColorPickerCubePrimary): ColorPicker; GetCubePrimary(): ColorPickerCubePrimary; SetColor(v: Vec3): ColorPicker; GetColor(): Vec3; OnChange(fn: (sender: ColorPicker) => void): ColorPicker; } declare const ColorPicker_base: IColorPicker; export declare class ColorPicker extends ColorPicker_base { GetColor(): Vec3; } export {};