UNPKG

@thi.ng/imgui

Version:

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

11 lines 926 B
import type { Fn, Maybe } from "@thi.ng/api"; import type { IGridLayout, LayoutBox } from "@thi.ng/layout"; import type { ReadonlyVec } from "@thi.ng/vectors"; import type { Color, GUITheme } from "../api.js"; import type { IMGUI } from "../gui.js"; export declare const textLabel: (gui: IMGUI, layout: IGridLayout<any> | LayoutBox, label: string, pad?: boolean) => void; export declare const textLabelRaw: (p: ReadonlyVec, attribs: Color | any, label: string) => import("@thi.ng/geom").Text; export declare const textTransformH: (theme: GUITheme, x: number, y: number, _: number, h: number) => number[]; export declare const textTransformV: (theme: GUITheme, x: number, y: number, w: number, h: number) => number[]; export declare const dialValueLabel: (gui: IMGUI, id: string, key: number, v: number, x: number, y: number, label: Maybe<string>, fmt: Maybe<Fn<number, string>>) => any; //# sourceMappingURL=textlabel.d.ts.map