EasyGUI  Version v1.0
GUI_DROPDOWN_t Struct Reference

Dropdown object structure. More...

#include <gui_dropdown.h>

Data Fields

GUI_iDim_t OldY
GUI_iDim_t OldHeight
int16_t Count
int16_t Selected
int16_t VisibleStartIndex
GUI_LinkedListRoot_t Root
GUI_Dim_t SliderWidth
uint8_t Flags

Detailed Description

Dropdown object structure.

Field Documentation

◆ C

GUI handle object, must always be first on list

◆ Count

int16_t Count

Current number of strings attached to this widget

◆ Flags

uint8_t Flags

Widget flags

◆ OldHeight

GUI_iDim_t OldHeight

Height value register before widget opened

◆ OldY

GUI_iDim_t OldY

Y coordinate register before widget opened

◆ Root

Root of linked list entries

◆ Selected

int16_t Selected

Selected text index

◆ SliderWidth

GUI_Dim_t SliderWidth

Slider width in units of pixels

◆ VisibleStartIndex

int16_t VisibleStartIndex

Index in array of string on top of visible area of widget