Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_image_s Struct Reference

struct to represent an image (IMAGE type) More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_image_s:
Collaboration graph
[legend]

Public Attributes

nbgl_obj_t obj
 
color_t foregroundColor
 
nbgl_transformation_t transformation
 usually NO_TRANSFORMATION More...
 
const nbgl_icon_details_tbuffer
 
onImageDrawCallback_t onDrawCallback
 
uint8_t token
 token to use as param of onDrawCallback More...
 

Detailed Description

struct to represent an image (IMAGE type)

Definition at line 286 of file nbgl_obj.h.

Member Data Documentation

◆ buffer

const nbgl_icon_details_t* nbgl_image_s::buffer

buffer containing bitmap, with exact same size as object (width*height*bpp/8 bytes)

Definition at line 291 of file nbgl_obj.h.

◆ foregroundColor

color_t nbgl_image_s::foregroundColor

color set to '1' bits, for 1PBB images. '0' are set to background color.

Definition at line 288 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_image_s::obj

Definition at line 287 of file nbgl_obj.h.

◆ onDrawCallback

onImageDrawCallback_t nbgl_image_s::onDrawCallback

function called if buffer is NULL, with above token as parameter. Can be NULL

Definition at line 293 of file nbgl_obj.h.

◆ token

uint8_t nbgl_image_s::token

token to use as param of onDrawCallback

Definition at line 295 of file nbgl_obj.h.

◆ transformation

nbgl_transformation_t nbgl_image_s::transformation

usually NO_TRANSFORMATION

Definition at line 290 of file nbgl_obj.h.


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