NetSurf
Macros | Functions
icon.h File Reference

Content for image/x-amiga-icon (icon.library interface). More...

#include "utils/config.h"
#include "utils/errors.h"
Include dependency graph for icon.h:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Content for image/x-amiga-icon (icon.library interface).

Definition in file icon.h.

Macro Definition Documentation

◆ amiga_icon_fini

#define amiga_icon_fini ( )    ((void) 0)

Definition at line 37 of file icon.h.

◆ amiga_icon_init

#define amiga_icon_init ( )    NSERROR_OK

Definition at line 36 of file icon.h.

Function Documentation

◆ amiga_icon_free()

void amiga_icon_free ( struct DiskObject *  dobj)

Definition at line 569 of file icon.c.

References ami_bitmap_free_icondata().

Referenced by ami_gui_appicon_remove().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ amiga_icon_from_bitmap()

struct DiskObject * amiga_icon_from_bitmap ( struct bitmap bm)

Definition at line 521 of file icon.c.

References ami_bitmap_get_native(), ami_bitmap_set_icondata(), bitmap(), ICONCTRLA_SetImageDataFormat, IDFMT_DIRECTMAPPED, THUMBNAIL_HEIGHT, and THUMBNAIL_WIDTH.

Referenced by ami_gui_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ amiga_icon_superimpose_favicon()

void amiga_icon_superimpose_favicon ( char *  path,
struct hlcache_handle icon,
char *  type 
)

Definition at line 445 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ amiga_icon_superimpose_favicon_internal()

void amiga_icon_superimpose_favicon_internal ( struct hlcache_handle icon,
struct DiskObject *  dobj 
)

Definition at line 390 of file icon.c.

References ami_bitmap_get_native(), BLITA_UseSrcAlpha, content_get_bitmap(), height, ICONCTRLA_GetImageDataFormat, IDFMT_DIRECTMAPPED, and width.

Referenced by ami_gui_event(), and amiga_icon_superimpose_favicon().

Here is the call graph for this function:
Here is the caller graph for this function: