GUIslice  0.16.0
Embedded GUI in C
gslc_tsXTextbox Struct Reference

Extended data for Textbox element. More...

#include <XTextbox.h>

Data Fields

char * pBuf
 Ptr to the text buffer (circular buffer)) More...
 
int8_t nMarginX
 Margin for text area within element rect (X) More...
 
int8_t nMarginY
 Margin for text area within element rect (Y) More...
 
bool bWrapEn
 Enable for line wrapping. More...
 
uint16_t nBufRows
 Number of rows in buffer. More...
 
uint16_t nBufCols
 Number of columns in buffer. More...
 
bool bScrollEn
 Enable for scrollbar. More...
 
uint16_t nScrollPos
 Current scrollbar position. More...
 
uint8_t nChSizeX
 Width of characters (pixels) More...
 
uint8_t nChSizeY
 Height of characters (pixels) More...
 
uint8_t nWndCols
 Window X size. More...
 
uint8_t nWndRows
 Window Y size. More...
 
uint8_t nCurPosX
 Cursor X position. More...
 
uint8_t nCurPosY
 Cursor Y position. More...
 
uint8_t nBufPosX
 Buffer X position. More...
 
uint8_t nBufPosY
 Buffer Y position. More...
 
uint8_t nWndRowStart
 First row of current window. More...
 
int16_t nRedrawRow
 Specific row to update in redraw (if not -1) More...
 

Detailed Description

Extended data for Textbox element.

Field Documentation

bool gslc_tsXTextbox::bScrollEn

Enable for scrollbar.

bool gslc_tsXTextbox::bWrapEn

Enable for line wrapping.

uint16_t gslc_tsXTextbox::nBufCols

Number of columns in buffer.

uint8_t gslc_tsXTextbox::nBufPosX

Buffer X position.

uint8_t gslc_tsXTextbox::nBufPosY

Buffer Y position.

uint16_t gslc_tsXTextbox::nBufRows

Number of rows in buffer.

uint8_t gslc_tsXTextbox::nChSizeX

Width of characters (pixels)

uint8_t gslc_tsXTextbox::nChSizeY

Height of characters (pixels)

uint8_t gslc_tsXTextbox::nCurPosX

Cursor X position.

uint8_t gslc_tsXTextbox::nCurPosY

Cursor Y position.

int8_t gslc_tsXTextbox::nMarginX

Margin for text area within element rect (X)

int8_t gslc_tsXTextbox::nMarginY

Margin for text area within element rect (Y)

int16_t gslc_tsXTextbox::nRedrawRow

Specific row to update in redraw (if not -1)

uint16_t gslc_tsXTextbox::nScrollPos

Current scrollbar position.

uint8_t gslc_tsXTextbox::nWndCols

Window X size.

uint8_t gslc_tsXTextbox::nWndRows

Window Y size.

uint8_t gslc_tsXTextbox::nWndRowStart

First row of current window.

char* gslc_tsXTextbox::pBuf

Ptr to the text buffer (circular buffer))


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