Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/dial"

Index

Functions

Const dial

  • dial(gui: IMGUI, layout: IGridLayout | LayoutBox, id: string, min: number, max: number, prec: number, val: number, label?: undefined | string, fmt?: Fn<number, string>, info?: undefined | string): undefined | number
  • Parameters

    • gui: IMGUI
    • layout: IGridLayout | LayoutBox
    • id: string
    • min: number
    • max: number
    • prec: number
    • val: number
    • Optional label: undefined | string
    • Optional fmt: Fn<number, string>
    • Optional info: undefined | string

    Returns undefined | number

Const dialGroup

  • dialGroup(gui: IMGUI, layout: IGridLayout, id: string, min: number, max: number, prec: number, horizontal: boolean, vals: number[], label: string[], fmt?: Fn<number, string>, info?: string[]): undefined | number[]
  • Parameters

    • gui: IMGUI
    • layout: IGridLayout
    • id: string
    • min: number
    • max: number
    • prec: number
    • horizontal: boolean
    • vals: number[]
    • label: string[]
    • Optional fmt: Fn<number, string>
    • Default value info: string[] = []

    Returns undefined | number[]

Const dialRaw

  • dialRaw(gui: IMGUI, id: string, x: number, y: number, w: number, h: number, min: number, max: number, prec: number, val: number, lx: number, ly: number, label?: undefined | string, fmt?: Fn<number, string>, info?: undefined | string): undefined | number
  • Parameters

    • gui: IMGUI
    • id: string
    • x: number
    • y: number
    • w: number
    • h: number
    • min: number
    • max: number
    • prec: number
    • val: number
    • lx: number
    • ly: number
    • Optional label: undefined | string
    • Optional fmt: Fn<number, string>
    • Optional info: undefined | string

    Returns undefined | number

Generated using TypeDoc