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

#include <design_frame_view.hpp>

Public Attributes

float x = 0.0f
float y = 0.0f
float w = 0.0f
float h = 0.0f
std::string factory_id
std::string props
 opaque (typically JSON); Pulp does not parse it
std::string source_node_id
float default_value = 0.5f
 opening value.

Member Data Documentation

◆ default_value

float pulp::view::DesignControlContext::default_value = 0.5f

opening value.

A DesignControl also receives this via set_control_value() right after build (that seed is authoritative), so a factory that reads default_value in its ctor need not — it will be seeded regardless.

◆ factory_id

std::string pulp::view::DesignControlContext::factory_id

◆ h

float pulp::view::DesignControlContext::h = 0.0f

◆ props

std::string pulp::view::DesignControlContext::props

opaque (typically JSON); Pulp does not parse it

◆ source_node_id

std::string pulp::view::DesignControlContext::source_node_id

◆ w

float pulp::view::DesignControlContext::w = 0.0f

◆ x

float pulp::view::DesignControlContext::x = 0.0f

◆ y

float pulp::view::DesignControlContext::y = 0.0f

The documentation for this struct was generated from the following file: