Skip to main content

Module secret_paint

Module secret_paint 

Expand description

Whether a paint put a secret on screen.

A secret field that holds a value notes it while it draws, masked or shown. A host brackets its frame in a SecretPaint and learns whether the frame shows one, so it can withhold the window from screenshots, recordings and screen sharing while it does. Containers that replay a cached subtree instead of drawing it again replay the note with it.

Structs§

SecretPaint
Watches one paint (a frame, or a cached subtree) for secrets. Scopes nest: a secret seen inside an inner scope is also seen by every enclosing one.

Functions§

note_secret_painted
Record that the paint running on this thread drew a secret.