|
Embedded SDK
Embedded SDK
|
Common structure for all graphical objects. More...
#include <nbgl_obj.h>

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_s * | parent |
| parent of this object (automatically set) | |
| struct nbgl_obj_s * | alignTo |
| 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) | |
Common structure for all graphical objects.
Definition at line 353 of file nbgl_obj.h.
| nbgl_aligment_t nbgl_obj_s::alignment |
type of alignment
Definition at line 357 of file nbgl_obj.h.
| int16_t nbgl_obj_s::alignmentMarginX |
horizontal margin when aligning
Definition at line 360 of file nbgl_obj.h.
| int16_t nbgl_obj_s::alignmentMarginY |
vertical margin when aligning
Definition at line 361 of file nbgl_obj.h.
| struct nbgl_obj_s* nbgl_obj_s::alignTo |
object to align to (parent if NULL)
Definition at line 359 of file nbgl_obj.h.
| 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.
| 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.
| struct nbgl_obj_s* nbgl_obj_s::parent |
parent of this object (automatically set)
Definition at line 358 of file nbgl_obj.h.
| 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.
| 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.
| 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.