|
OpenTTD Source 20251117-master-g7398d2e290
|
Types related to screenshot providers. More...
Go to the source code of this file.
Data Structures | |
| class | ScreenshotProvider |
| Base interface for a SoundLoader implementation. More... | |
Typedefs | |
| using | ScreenshotCallback = std::function< void(void *buf, uint y, uint pitch, uint n)> |
| Callback function signature for generating lines of pixel data to be written to the screenshot file. | |
Types related to screenshot providers.
Definition in file screenshot_type.h.
| using ScreenshotCallback = std::function<void (void *buf, uint y, uint pitch, uint n)> |
Callback function signature for generating lines of pixel data to be written to the screenshot file.
| userdata | Pointer to user data. |
| buf | Destination buffer. |
| y | Line number of the first line to write. |
| pitch | Number of pixels to write (1 byte for 8bpp, 4 bytes for 32bpp). |
| n | Number of lines to write. |
Definition at line 24 of file screenshot_type.h.