Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
continuous_frames.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
25
26namespace pulp::view {
27
28class View;
29enum class RuntimeViewKind : std::uint8_t;
30
31using ContinuousFramePredicate = bool (*)(const View*);
32
37
43
44} // namespace pulp::view
Definition view.hpp:73
Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
bool(*)(const View *) ContinuousFramePredicate
Definition continuous_frames.hpp:31
bool needs_continuous_frames(const View *view)
True if view (or any descendant) needs continuous per-frame repaints.
RuntimeViewKind
Internal concrete-type hint for the two whole-tree hot paths.
Definition view.hpp:46
void register_continuous_frame_predicate(RuntimeViewKind kind, ContinuousFramePredicate predicate)
Install the allocation-free predicate for a framework-owned runtime kind.