Module ui_dsl

Module ui_dsl 

Source
Expand description

UI DSL - Declarative UI System for Glitcher

“UI as Data, Not Code”

MODs define UI structure (What), Host renders it (How). This provides:

  • Unified look & feel across all MODs
  • Automatic LFO/MIDI assignment for any parameter
  • Theme switching affects all MODs at once
  • Lightweight WASM (no UI code in modules)

Structs§

LayoutConfig
Layout configuration for control panel
LayoutPosition
2D position for grid/absolute layout
LayoutSize
Size hints for layout
ModSlotConfig
MOD UI slot configuration
SectionConfig
Section configuration with optional 2D positioning
UiTab
Tab definition for Tabs component

Enums§

AudioSource
Audio source for AudioScope widget
NoteDivision
Note division for BeatButton (musical note values)
UiComponent
UI Component - the AST of the UI DSL