NetSurf
Functions
sprite.h File Reference

Content for image/x-riscos-sprite (RISC OS interface). More...

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

Go to the source code of this file.

Functions

static nserror sprite_init (void)
 
byte sprite_bpp (const osspriteop_header *s)
 Returns the bit depth of a sprite. More...
 

Detailed Description

Content for image/x-riscos-sprite (RISC OS interface).

Definition in file sprite.h.

Function Documentation

◆ sprite_bpp()

byte sprite_bpp ( const osspriteop_header *  s)

Returns the bit depth of a sprite.

Parameters
ssprite
Returns
depth in bpp

Definition at line 249 of file sprite.c.

References type.

Referenced by riscos_bitmap_overlay_sprite(), and ro_gui_window_iconise().

Here is the caller graph for this function:

◆ sprite_init()

static nserror sprite_init ( void  )
inlinestatic

Definition at line 35 of file sprite.h.

References NSERROR_OK.

Referenced by main().

Here is the caller graph for this function: