Microchip® Advanced Software Framework

gfx_mono_spinctrl_spincollection Struct Reference

Collection of spinners struct.

#include <gfx_mono_spinctrl.h>

Data Fields

bool active_spinner
 Boolean to tell if input should be sent directly to a spinner. More...
 
struct gfx_mono_spinctrlcollection
 Pointer to the first spinner in the collection. More...
 
struct gfx_mono_spinctrlcollection_last
 Pointer to the last spinner in the collection. More...
 
uint8_t current_selection
 Current spinner/button. More...
 
bool init
 Boolean to initialize results array when starting key processing. More...
 
uint8_t number_of_spinners
 Number of spinners in collection. More...
 
uint16_t selection
 Return value from selected spinner. More...
 

bool gfx_mono_spinctrl_spincollection::active_spinner

Boolean to tell if input should be sent directly to a spinner.

Referenced by gfx_mono_spinctrl_spincollection_init(), and gfx_mono_spinctrl_spincollection_process_key().

struct gfx_mono_spinctrl* gfx_mono_spinctrl_spincollection::collection
struct gfx_mono_spinctrl* gfx_mono_spinctrl_spincollection::collection_last

Pointer to the last spinner in the collection.

Referenced by gfx_mono_spinctrl_spincollection_add_spinner(), and gfx_mono_spinctrl_spincollection_process_key().

uint8_t gfx_mono_spinctrl_spincollection::current_selection
bool gfx_mono_spinctrl_spincollection::init

Boolean to initialize results array when starting key processing.

Referenced by gfx_mono_spinctrl_spincollection_init(), and gfx_mono_spinctrl_spincollection_process_key().

uint8_t gfx_mono_spinctrl_spincollection::number_of_spinners
uint16_t gfx_mono_spinctrl_spincollection::selection

Return value from selected spinner.

Referenced by gfx_mono_spinctrl_spincollection_process_key().