UNPKG

@thi.ng/imgui

Version:

Immediate mode GUI with flexible state handling & data only shape output

10 lines 713 B
import type { FnN4 } from "@thi.ng/api"; import type { IShape } from "@thi.ng/geom"; import type { Vec } from "@thi.ng/vectors"; import type { IMGUI } from "../gui.js"; export declare const isHoverSlider: (gui: IMGUI, id: string, shape: IShape, cursor?: string) => boolean; export declare const slider1Val: FnN4; export declare const slider2Val: (v: Vec, min: Vec, max: Vec, prec: number) => Vec<number>; export declare const handleSlider1Keys: (gui: IMGUI, min: number, max: number, prec: number, value: number) => number | undefined; export declare const handleSlider2Keys: (gui: IMGUI, min: Vec, max: Vec, prec: number, value: Vec, yUp: boolean) => Vec<number> | undefined; //# sourceMappingURL=slider.d.ts.map