GUIslice  0.16.0
Embedded GUI in C
gslc_tsGui Struct Reference

GUI structure. More...

#include <GUIslice.h>

Collaboration diagram for gslc_tsGui:

Data Fields

uint16_t nDispW
 Width of the display (pixels) More...
 
uint16_t nDispH
 Height of the display (pixels) More...
 
uint16_t nDisp0W
 Width of the display (pixels) in native orientation. More...
 
uint16_t nDisp0H
 Height of the display (pixels) in native orientation. More...
 
uint8_t nDispDepth
 Bit depth of display (bits per pixel) More...
 
uint8_t nRotation
 Adafruit GFX Rotation of display. More...
 
uint8_t nTouchRotation
 Touchscreen rotation offset vs display. More...
 
uint8_t nSwapXY
 Adafruit GFX Touch Swap x and y axes. More...
 
uint8_t nFlipX
 Adafruit GFX Touch Flip x axis. More...
 
uint8_t nFlipY
 Adafruit GFX Touch Flip x axis. More...
 
int16_t nTouchCalXMin
 Calibration X minimum reading. More...
 
int16_t nTouchCalXMax
 Calibration X maximum reading. More...
 
int16_t nTouchCalYMin
 Calibration Y minimum reading. More...
 
int16_t nTouchCalYMax
 Calibration Y maximum reading. More...
 
int16_t nTouchCalPressMin
 Calibration minimum pressure threshold. More...
 
int16_t nTouchCalPressMax
 Calibration maximum pressure threshold. More...
 
gslc_tsFontasFont
 Collection of loaded fonts. More...
 
uint8_t nFontMax
 Maximum number of fonts to allocate. More...
 
uint8_t nFontCnt
 Number of fonts allocated. More...
 
uint8_t nRoundRadius
 Radius for rounded elements. More...
 
gslc_tsColor sTransCol
 Color used for transparent image regions (GSLC_BMP_TRANS_EN=1) More...
 
gslc_tsElem sElemTmp
 Temporary element. More...
 
gslc_tsElemRef sElemRefTmp
 Temporary element reference. More...
 
gslc_tsElem sElemTmpProg
 Temporary element for Flash compatibility. More...
 
gslc_teInitStat eInitStatTouch
 Status of touch initialization. More...
 
int16_t nTouchLastX
 Last touch event X coord. More...
 
int16_t nTouchLastY
 Last touch event Y coord. More...
 
uint16_t nTouchLastPress
 Last touch event pressure (0=none)) More...
 
bool bTouchRemapEn
 Enable touch remapping? More...
 
bool bTouchRemapYX
 Enable touch controller swapping of X & Y. More...
 
void * pvDriver
 Driver-specific members (gslc_tsDriver*) More...
 
bool bRedrawPartialEn
 Driver supports partial page redraw. More...
 
gslc_tsImgRef sImgRefBkgnd
 Image reference for background. More...
 
uint8_t nFrameRateCnt
 Diagnostic frame rate count. More...
 
uint8_t nFrameRateStart
 Diagnostic frame rate timestamp. More...
 
gslc_tsPageasPage
 Array of all pages defined in system. More...
 
uint8_t nPageMax
 Maximum number of pages that can be defined. More...
 
uint8_t nPageCnt
 Current number of pages defined. More...
 
gslc_tsPageapPageStack [GSLC_STACK__MAX]
 Stack of pages. More...
 
bool abPageStackActive [GSLC_STACK__MAX]
 Whether page in stack can receive touch events. More...
 
bool abPageStackDoDraw [GSLC_STACK__MAX]
 Whether page in stack is still actively drawn. More...
 
bool bScreenNeedRedraw
 Screen requires a redraw. More...
 
bool bScreenNeedFlip
 Screen requires a page flip. More...
 
bool bInvalidateEn
 A region of the display has been invalidated. More...
 
gslc_tsRect rInvalidateRect
 The rect region that has been invalidated. More...
 
GSLC_CB_PIN_POLL pfuncPinPoll
 Callback func ptr for pin polling. More...
 
gslc_tsInputMapasInputMap
 Array of input maps. More...
 
uint8_t nInputMapMax
 Maximum number of input maps. More...
 
uint8_t nInputMapCnt
 Current number of input maps. More...
 
uint8_t nInputMode
 Input mode: 0=navigate, 1=edit. More...
 

Detailed Description

GUI structure.

  • Contains all GUI state and content
  • Maintains list of one or more pages

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