Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 657 Bytes

README.md

File metadata and controls

32 lines (28 loc) · 657 Bytes

reaImgui-lua-knobs

A port of imgui-rs-knobs to lua for ReaImGui, with a few extra goodies.

Knobs list

Usage:

local value = 0.0
local default_value= 0.0
local min = -6.0
local max = 6.0
local is_controllable = true
local format = "%.2fdB"

value = Knob.new(self.ctx,
    "knob_id",
    "knob_label",
    value,
    min,
    max,
    default_value,
    width,
    is_controllable,
    format
):draw(
    Knob.KnobVariant.wiper_knob,
    self.colors.base,
    self.colors.highlight,
    self.colors.lowlight
)