|
NetSurf
|
Content for image/x-amiga-icon (icon.library interface). More...
Go to the source code of this file.
Macros | |
| #define | amiga_icon_init() NSERROR_OK |
| #define | amiga_icon_fini() ((void) 0) |
Functions | |
| void | amiga_icon_superimpose_favicon (char *path, struct hlcache_handle *icon, char *type) |
| void | amiga_icon_superimpose_favicon_internal (struct hlcache_handle *icon, struct DiskObject *dobj) |
| struct DiskObject * | amiga_icon_from_bitmap (struct bitmap *bm) |
| void | amiga_icon_free (struct DiskObject *dobj) |
Content for image/x-amiga-icon (icon.library interface).
Definition in file icon.h.
| #define amiga_icon_init | ( | ) | NSERROR_OK |
| void amiga_icon_free | ( | struct DiskObject * | dobj | ) |
Definition at line 571 of file icon.c.
References ami_bitmap_free_icondata().
Referenced by ami_gui_appicon_remove().
| struct DiskObject * amiga_icon_from_bitmap | ( | struct bitmap * | bm | ) |
Definition at line 522 of file icon.c.
References ami_bitmap_get_native(), ami_bitmap_set_icondata(), bitmap(), ICONCTRLA_SetImageDataFormat, IDFMT_DIRECTMAPPED, nsoption_colour, THUMBNAIL_HEIGHT, and THUMBNAIL_WIDTH.
Referenced by ami_gui_event().
| void amiga_icon_superimpose_favicon | ( | char * | path, |
| struct hlcache_handle * | icon, | ||
| char * | type | ||
| ) |
Definition at line 446 of file icon.c.
References amiga_icon_convertcolouricon32(), amiga_icon_superimpose_favicon_internal(), height, ICONCTRLA_GetImageDataFormat, ICONCTRLA_SetImageDataFormat, IDFMT_DIRECTMAPPED, IDFMT_PALETTEMAPPED, path(), type, and width.
Referenced by ami_file_save().
| void amiga_icon_superimpose_favicon_internal | ( | struct hlcache_handle * | icon, |
| struct DiskObject * | dobj | ||
| ) |
Definition at line 391 of file icon.c.
References ami_bitmap_get_native(), BLITA_UseSrcAlpha, content_get_bitmap(), height, ICONCTRLA_GetImageDataFormat, IDFMT_DIRECTMAPPED, nsoption_colour, and width.
Referenced by ami_gui_event(), and amiga_icon_superimpose_favicon().