Loading...
Searching...
No Matches
IconEntry Struct Reference

One cached icon. Its resource id, the loaded picture, and the extra state icon_tint and the auto-trim scan keep between calls. More...

Data Fields

uint32_t res
 The resource id this entry was loaded for.
GBitmap * bmp
 The loaded picture.
IconMargins margin
 Measured once when the icon is first cached.
GColor tint
 Last colour written into the palette.
bool tinted
 False until the first tint so the first draw always writes.
uint32_t used
 Stamp of the last time anything asked for this icon.

Detailed Description

One cached icon. Its resource id, the loaded picture, and the extra state icon_tint and the auto-trim scan keep between calls.


The documentation for this struct was generated from the following file: