Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
inspector_overlay.hpp File Reference
#include <pulp/view/view.hpp>
#include <pulp/view/input_events.hpp>
#include <pulp/canvas/canvas.hpp>
#include <pulp/design/design_knobs.hpp>
#include <pulp/inspect/editor_url.hpp>
#include <pulp/inspect/source_jump.hpp>
#include <pulp/inspect/tweak_store.hpp>
#include <pulp/state/edit_history.hpp>
#include <choc/containers/choc_Value.h>
#include <array>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <unordered_set>
#include <vector>

Go to the source code of this file.

Classes

class  pulp::inspect::InspectorOverlay
struct  pulp::inspect::InspectorOverlay::ReparentSourceEdit
 Structural reparent → lock-to-source. More...
struct  pulp::inspect::InspectorOverlay::KnobApplyEdit
struct  pulp::inspect::InspectorOverlay::AgentRequestEdit
 Send-to-agent → free-text request. More...
struct  pulp::inspect::InspectorOverlay::KnobHit
 One knob control's on-screen hit-rect from the last paint. More...
struct  pulp::inspect::InspectorOverlay::PassAttribution
 Aggregated attribution data for a single render pass type, computed over the rolling frame history. More...
struct  pulp::inspect::InspectorOverlay::ReconcileRow
 One classified tweak row in the reconciliation report. More...
struct  pulp::inspect::InspectorOverlay::ReconcileReport
 Aggregate reconciliation report over every tweak in the attached TweakStore, classified against the current live view tree. More...
struct  pulp::inspect::BadgePlacement
 Computed top-left placement for a selection badge (the type W×H hover tooltip and the grid-refuse "can't move" badge). More...

Namespaces

namespace  pulp
namespace  pulp::render
namespace  pulp::inspect

Functions

bool pulp::inspect::apply_move_tweak_to_view (View &view, std::string_view property_path, const choc::value::Value &value)
 Move-tweak namespace bridge.
BadgePlacement pulp::inspect::compute_badge_placement (float sel_x, float sel_y, float sel_h, float badge_w, float badge_h, float root_w, float gap=5.0f, float top_margin=0.0f)
 Place a badge of size (badge_w × badge_h) for a selection whose top-left is at (sel_x, sel_y) with height sel_h.
void pulp::inspect::install_inspector_hooks (InspectorOverlay &inspector)
 Install the inspector into the View system's paint and input hooks.
void pulp::inspect::uninstall_inspector_hooks ()
 Tear down what install_inspector_hooks() set up: nulls g_active_inspector and releases all five View hook slots.

Variables

InspectorOverlay * pulp::inspect::g_active_inspector = nullptr
 Global inspector instance for the current window.