Appearance
Thumbnail
cpp
#include <Media/Snapshot.h>cpp
struct ThumbnailDefined in Media/Snapshot.h:24
Preview image of a snapshot.
Public Attributes
| Return | Name | Description |
|---|---|---|
i32 | width | Image size. |
u32 | screen | Raw texture data. |
time_t | timestamp | Creation date and time. |
width
cpp
i32 widthDefined in Media/Snapshot.h:27
Image size.
screen
cpp
u32 screen[Tex::height *Tex::width]Defined in Media/Snapshot.h:30
Raw texture data.
timestamp
cpp
time_t timestampDefined in Media/Snapshot.h:33
Creation date and time.
Public Methods
| Return | Name | Description |
|---|---|---|
void | take | Takes a screenshot from the current texture. |
take
cpp
void take(const C64 & c64, isize dx = 1, isize dy = 1)Defined in Media/Snapshot.h:39
Takes a screenshot from the current texture.
Public Static Methods
| Return | Name | Description |
|---|---|---|
Thumbnail * | makeWithC64 static | Factory methods. |
makeWithC64
static
cpp
static Thumbnail * makeWithC64(const C64 & c64, isize dx = 1, isize dy = 1)Defined in Media/Snapshot.h:36
Factory methods.