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§
- Secret
Paint - 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.