Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
live_constant_editor.hpp File Reference
#include <pulp/view/view.hpp>
#include <string>
#include <vector>
#include <map>
#include <functional>
#include <mutex>

Go to the source code of this file.

Classes

struct  pulp::view::LiveConstant
 A single live-editable constant. More...
class  pulp::view::LiveConstantRegistry
 Registry of live constants — thread-safe singleton. More...
class  pulp::view::LiveConstantEditor
 Debug overlay that shows sliders for all live constants. More...

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Macros

#define PULP_LIVE_CONSTANT(default_val, min_val, max_val)

Macro Definition Documentation

◆ PULP_LIVE_CONSTANT

#define PULP_LIVE_CONSTANT ( default_val,
min_val,
max_val )
Value:
#default_val, __FILE__, __LINE__, default_val, min_val, max_val))
float & register_constant(std::string_view name, std::string_view file, int line, float default_value, float min_val, float max_val)
Register a constant. Returns a reference to the stored value.
static LiveConstantRegistry & instance()