Embedded SDK
Embedded SDK
|
Common structure for all graphical objects. More...
#include <nbgl_obj.h>
Public Attributes | |
nbgl_area_t | area |
int16_t | rel_x0 |
horizontal position of top-left corner relative to parent's top-left corner More... | |
int16_t | rel_y0 |
struct nbgl_obj_s * | parent |
parent of this object More... | |
struct nbgl_obj_s * | alignTo |
object to align to (parent by default) More... | |
nbgl_aligment_t | alignment |
type of alignment More... | |
int16_t | alignmentMarginX |
horizontal margin when aligning More... | |
int16_t | alignmentMarginY |
vertical margin when aligning More... | |
nbgl_obj_type_t | type |
type of the graphical object, must be explicitly set More... | |
uint16_t | touchMask |
bit mask to tell engine which touch events are handled by this object More... | |
uint8_t | touchId |
Common structure for all graphical objects.
Definition at line 228 of file nbgl_obj.h.
nbgl_aligment_t nbgl_obj_s::alignment |
type of alignment
Definition at line 237 of file nbgl_obj.h.
int16_t nbgl_obj_s::alignmentMarginX |
horizontal margin when aligning
Definition at line 238 of file nbgl_obj.h.
int16_t nbgl_obj_s::alignmentMarginY |
vertical margin when aligning
Definition at line 239 of file nbgl_obj.h.
struct nbgl_obj_s* nbgl_obj_s::alignTo |
object to align to (parent by default)
Definition at line 236 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 229 of file nbgl_obj.h.
struct nbgl_obj_s* nbgl_obj_s::parent |
parent of this object
Definition at line 235 of file nbgl_obj.h.
int16_t nbgl_obj_s::rel_x0 |
horizontal position of top-left corner relative to parent's top-left corner
Definition at line 232 of file nbgl_obj.h.
int16_t nbgl_obj_s::rel_y0 |
vertical position of top-left corner relative to parent's top-left corner, must be multiple of 4
Definition at line 233 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 242 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 241 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 240 of file nbgl_obj.h.