GUIslice  0.16.0
Embedded GUI in C
gslc_tsXKeyPadCfg Struct Reference

Configuration for the KeyPad. More...

#include <XKeyPad.h>

Collaboration diagram for gslc_tsXKeyPadCfg:

Data Fields

uint8_t nDispMax
 Maximum length to display. More...
 
bool bRoundEn
 Enable rounded corners. More...
 
int8_t nButtonSzW
 Button width (in pixels) More...
 
int8_t nButtonSzH
 Button height (in pixels) More...
 
int8_t nButtonSpaceX
 Button X spacing (in pixels) More...
 
int8_t nButtonSpaceY
 Button Y spacing (in pixels) More...
 
gslc_tsKeypLayout
 Current selected layout. More...
 
gslc_tsKey ** pLayouts
 Key Positions for each KeyPad layout. More...
 
int8_t eLayoutDef
 Default KeyPad layout (type gslc_teXKeyPadSel) More...
 
int8_t eLayoutSel
 Current KeyPad layout (type gslc_teXKeyPadSel) More...
 
int16_t nFontId
 Configured font for KeyPad labels. More...
 
int16_t nOffsetX
 Configured offset (X direction) for buttons from parent container. More...
 
int16_t nOffsetY
 Configured offset (Y direction) for buttons from parent container. More...
 
int8_t nFrameMargin
 Margin around text value field. More...
 
uint8_t nMaxCols
 Maximum number of columns to occupy. More...
 
uint8_t nMaxRows
 Maximum number of rows to occupy. More...
 
GSLC_CB_XKEYPAD_RESET pfuncReset
 Callback function whenever keypad needs to be reset. More...
 
GSLC_CB_XKEYPAD_TXT_INIT pfuncTxtInit
 Callback function whenever text string initialized. More...
 
GSLC_CB_XKEYPAD_LABEL_GET pfuncLabelGet
 Callback function to get a key label. More...
 
GSLC_CB_XKEYPAD_SYTLE_GET pfuncStyleGet
 Callback function to get a key's style. More...
 
GSLC_CB_XKEYPAD_BTN_EVT pfuncBtnEvt
 Callback function to handle a key. More...
 

Detailed Description

Configuration for the KeyPad.

Field Documentation

bool gslc_tsXKeyPadCfg::bRoundEn

Enable rounded corners.

int8_t gslc_tsXKeyPadCfg::eLayoutDef

Default KeyPad layout (type gslc_teXKeyPadSel)

int8_t gslc_tsXKeyPadCfg::eLayoutSel

Current KeyPad layout (type gslc_teXKeyPadSel)

int8_t gslc_tsXKeyPadCfg::nButtonSpaceX

Button X spacing (in pixels)

int8_t gslc_tsXKeyPadCfg::nButtonSpaceY

Button Y spacing (in pixels)

int8_t gslc_tsXKeyPadCfg::nButtonSzH

Button height (in pixels)

int8_t gslc_tsXKeyPadCfg::nButtonSzW

Button width (in pixels)

uint8_t gslc_tsXKeyPadCfg::nDispMax

Maximum length to display.

int16_t gslc_tsXKeyPadCfg::nFontId

Configured font for KeyPad labels.

int8_t gslc_tsXKeyPadCfg::nFrameMargin

Margin around text value field.

uint8_t gslc_tsXKeyPadCfg::nMaxCols

Maximum number of columns to occupy.

uint8_t gslc_tsXKeyPadCfg::nMaxRows

Maximum number of rows to occupy.

int16_t gslc_tsXKeyPadCfg::nOffsetX

Configured offset (X direction) for buttons from parent container.

int16_t gslc_tsXKeyPadCfg::nOffsetY

Configured offset (Y direction) for buttons from parent container.

GSLC_CB_XKEYPAD_BTN_EVT gslc_tsXKeyPadCfg::pfuncBtnEvt

Callback function to handle a key.

GSLC_CB_XKEYPAD_LABEL_GET gslc_tsXKeyPadCfg::pfuncLabelGet

Callback function to get a key label.

GSLC_CB_XKEYPAD_RESET gslc_tsXKeyPadCfg::pfuncReset

Callback function whenever keypad needs to be reset.

GSLC_CB_XKEYPAD_SYTLE_GET gslc_tsXKeyPadCfg::pfuncStyleGet

Callback function to get a key's style.

GSLC_CB_XKEYPAD_TXT_INIT gslc_tsXKeyPadCfg::pfuncTxtInit

Callback function whenever text string initialized.

gslc_tsKey* gslc_tsXKeyPadCfg::pLayout

Current selected layout.

gslc_tsKey** gslc_tsXKeyPadCfg::pLayouts

Key Positions for each KeyPad layout.


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