Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::AutoUi Class Reference

#include <auto_ui.hpp>

Classes

struct  SizeHint
 Logical-pixel size that fits AutoUi's generated grid without clipping. More...

Static Public Member Functions

static std::unique_ptr< View > build (state::StateStore &store)
static SizeHint preferred_size (state::StateStore &store)
 Compute a design size that fits every parameter tile AutoUi would generate for store — the grid wrapped to a sensible column count, plus the "Parameters" title, padding, and (when present) group boxes.
static void sync (View &root, state::StateStore &store)

Member Function Documentation

◆ build()

std::unique_ptr< View > pulp::view::AutoUi::build ( state::StateStore & store)
static

◆ preferred_size()

SizeHint pulp::view::AutoUi::preferred_size ( state::StateStore & store)
static

Compute a design size that fits every parameter tile AutoUi would generate for store — the grid wrapped to a sensible column count, plus the "Parameters" title, padding, and (when present) group boxes.

The format adapters adopt this as the editor's preferred size (via view_size_from_design()) when the processor declares no explicit size, so the default editor OPENS large enough to show all knobs and resizes proportionally instead of clipping its top row. Kept in AutoUi so the fit math and build()'s layout share the same tile constants.

◆ sync()

void pulp::view::AutoUi::sync ( View & root,
state::StateStore & store )
static

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/auto_ui.hpp