Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
nbgl_obj_s Struct Reference

Common structure for all graphical objects. More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_obj_s:
Collaboration graph
[legend]

Public Attributes

nbgl_area_t area
 
nbgl_obj_type_t type
 type of the graphical object, must be explicitly set
 
nbgl_aligment_t alignment
 type of alignment
 
struct nbgl_obj_sparent
 parent of this object (automatically set)
 
struct nbgl_obj_salignTo
 object to align to (parent if NULL)
 
int16_t alignmentMarginX
 horizontal margin when aligning
 
int16_t alignmentMarginY
 vertical margin when aligning
 
uint16_t touchMask
 bit mask to tell engine which touch events are handled by this object
 
uint8_t touchId
 
uint8_t objId
 id of the obj in the screen (only used externally)
 

Detailed Description

Common structure for all graphical objects.

Note
this type must never be instantiated

Definition at line 353 of file nbgl_obj.h.

Member Data Documentation

◆ alignment

nbgl_aligment_t nbgl_obj_s::alignment

type of alignment

Definition at line 357 of file nbgl_obj.h.

◆ alignmentMarginX

int16_t nbgl_obj_s::alignmentMarginX

horizontal margin when aligning

Definition at line 360 of file nbgl_obj.h.

◆ alignmentMarginY

int16_t nbgl_obj_s::alignmentMarginY

vertical margin when aligning

Definition at line 361 of file nbgl_obj.h.

◆ alignTo

struct nbgl_obj_s* nbgl_obj_s::alignTo

object to align to (parent if NULL)

Definition at line 359 of file nbgl_obj.h.

◆ area

nbgl_area_t nbgl_obj_s::area

absolute position, backGround color and size of the object. DO NOT MOVE THIS FIELD

Definition at line 354 of file nbgl_obj.h.

◆ objId

uint8_t nbgl_obj_s::objId

id of the obj in the screen (only used externally)

Definition at line 365 of file nbgl_obj.h.

◆ parent

struct nbgl_obj_s* nbgl_obj_s::parent

parent of this object (automatically set)

Definition at line 358 of file nbgl_obj.h.

◆ touchId

uint8_t nbgl_obj_s::touchId

a unique identifier (by screen) to be used by external test environment (TTYT or Screenshots)

Definition at line 363 of file nbgl_obj.h.

◆ touchMask

uint16_t nbgl_obj_s::touchMask

bit mask to tell engine which touch events are handled by this object

Definition at line 362 of file nbgl_obj.h.

◆ type

nbgl_obj_type_t nbgl_obj_s::type

type of the graphical object, must be explicitly set

Definition at line 356 of file nbgl_obj.h.


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