Skip to main content

Module capture_studio

Module capture_studio 

Expand description

The capture tool: one see-through bar to take a screenshot, record, or float a live picture in picture of a selection, a window, the screen or the strip.

The bar holds two segmented controls (what comes out, what it is of), the shutter and an options popover; nothing else. A capture is of a thing, never of pixels at a position: a window is captured whole wherever it is, a selection made inside a window stays anchored to that window, and only a selection that is not inside any window is a region of the screen. Pixel readback stays in the compositor; this widget emits semantic intents.

Structs§

CaptureIntent
CapturePreview
CaptureStudio
CaptureTarget
A live window the capture tool can take, whether or not it is on this output now. virtual_rect is its place in Tilo’s continuous desktop; visible_rect is the part of it on this output.
LiveCapture
The live windows a capture repaints whole, outside the output clip.
RegionAnchor
A selection made inside a window, in that window’s own coordinates: it goes with the window wherever the window moves or scrolls to.
ScreenshotKept
What became of a screenshot: kept as a file in Screenshots, put on the clipboard, or both (what the shutter and Print Screen do).
ScreenshotSendDevice
One of your online devices, as the shell offers it to “Send…”.

Enums§

AudioCaptureMode
CaptureDestination
CaptureMode
What a capture puts out.
PipLayout
How several selections are combined into one capture.
RecordingCommand
Commands for the compositor-owned recording session. Keeping controls in the same semantic intent stream as Start makes shell chrome, shortcuts and future remote controls share one state machine.
ReplayCommand
ScreenshotCommand
ScreenshotSendTarget
Where “Send…” delivers the last screenshot.
SourceMode