Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
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:

Public Attributes

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

Detailed Description

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

Definition at line 349 of file nbgl_obj.h.

Member Data Documentation

◆ obj

nbgl_obj_t nbgl_switch_s::obj

Definition at line 350 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 352 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 351 of file nbgl_obj.h.

◆ state

nbgl_state_t nbgl_switch_s::state

state of the switch.

Definition at line 353 of file nbgl_obj.h.


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