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

struct to represent a switch (size is fixed) (SWITCH type) More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_switch_s:
Collaboration graph
[legend]

Public Attributes

nbgl_obj_t obj
 
color_t onColor
 color set to border and knob, when ON (knob on the right). More...
 
color_t offColor
 color set to border and knob, when OFF (knob on the left). More...
 
nbgl_state_t state
 state of the switch. More...
 

Detailed Description

struct to represent a switch (size is fixed) (SWITCH type)

Definition at line 338 of file nbgl_obj.h.

Member Data Documentation

◆ obj

nbgl_obj_t nbgl_switch_s::obj

Definition at line 339 of file nbgl_obj.h.

◆ offColor

color_t nbgl_switch_s::offColor

color set to border and knob, when OFF (knob on the left).

Definition at line 341 of file nbgl_obj.h.

◆ onColor

color_t nbgl_switch_s::onColor

color set to border and knob, when ON (knob on the right).

Definition at line 340 of file nbgl_obj.h.

◆ state

nbgl_state_t nbgl_switch_s::state

state of the switch.

Definition at line 342 of file nbgl_obj.h.


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