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

What the tree had marked when a batch of script work started, so the bridge can tell whether that work already asked for exactly the repaints it needs (see View::damage_request_count()). More...

#include <widget_bridge.hpp>

Public Member Functions

bool self_damaged (const View &root) const
bool untouched (const View &root) const

Public Attributes

std::uint64_t damage_requests = 0
std::uint64_t unmarked_mutations = 0
std::uint64_t layout_generation = 0

Detailed Description

What the tree had marked when a batch of script work started, so the bridge can tell whether that work already asked for exactly the repaints it needs (see View::damage_request_count()).

Member Function Documentation

◆ self_damaged()

bool pulp::view::WidgetBridge::DamageLedger::self_damaged ( const View & root) const

◆ untouched()

bool pulp::view::WidgetBridge::DamageLedger::untouched ( const View & root) const

Member Data Documentation

◆ damage_requests

std::uint64_t pulp::view::WidgetBridge::DamageLedger::damage_requests = 0

◆ layout_generation

std::uint64_t pulp::view::WidgetBridge::DamageLedger::layout_generation = 0

◆ unmarked_mutations

std::uint64_t pulp::view::WidgetBridge::DamageLedger::unmarked_mutations = 0

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