Skip to content

Thumbnail ​

cpp
#include <Media/Snapshot.h>
cpp
struct Thumbnail

Defined in Media/Snapshot.h:20

A screenshot that is stored inside a snapshot.

Public Attributes ​

ReturnNameDescription
i32widthImage width.
i32heightImage height.
u32screenRaw texture data.
time_ttimestampCreation date and time.

width ​

cpp
i32 width

Defined in Media/Snapshot.h:23

Image width.


height ​

cpp
i32 height

Defined in Media/Snapshot.h:24

Image height.


screen ​

cpp
u32 screen[(HPIXELS/2) *(VPIXELS/1)]

Defined in Media/Snapshot.h:27

Raw texture data.


timestamp ​

cpp
time_t timestamp

Defined in Media/Snapshot.h:30

Creation date and time.

Public Methods ​

ReturnNameDescription
voidtakeTakes a screenshot from the current texture.

take ​

cpp
void take(class Amiga & amiga, isize dx = 2, isize dy = 1)

Defined in Media/Snapshot.h:33

Takes a screenshot from the current texture.