OpenTTD Source 20250220-master-gf89924a727
|
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 = void(void *userdata, 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 = void(void *userdata, 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.