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

#include <property_panel.hpp>

Public Attributes

std::string key
 Persistence + lookup key.
std::string label
 Display label.
Kind kind = Kind::Text
Value value {}
float min = 0.0f
float max = 1.0f
std::vector< std::string > options
std::function< void(const Value &)> on_change
std::function< void()> on_click

Member Data Documentation

◆ key

std::string pulp::view::PropertyPanel::Property::key

Persistence + lookup key.

◆ kind

Kind pulp::view::PropertyPanel::Property::kind = Kind::Text

◆ label

std::string pulp::view::PropertyPanel::Property::label

Display label.

◆ max

float pulp::view::PropertyPanel::Property::max = 1.0f

◆ min

float pulp::view::PropertyPanel::Property::min = 0.0f

◆ on_change

std::function<void(const Value&)> pulp::view::PropertyPanel::Property::on_change

◆ on_click

std::function<void()> pulp::view::PropertyPanel::Property::on_click

◆ options

std::vector<std::string> pulp::view::PropertyPanel::Property::options

◆ value

Value pulp::view::PropertyPanel::Property::value {}

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