TEXTENTRY Structure

Microchip Graphics Library

Microchip Graphics Library
TEXTENTRY Structure
C
typedef struct {
  OBJ_HEADER hdr;
  SHORT horizontalKeys;
  SHORT verticalKeys;
  XCHAR * pTeOutput;
  WORD CurrentLength;
  WORD outputLenMax;
  KEYMEMBER * pActiveKey;
  KEYMEMBER * pHeadOfList;
  void * pDisplayFont;
} TEXTENTRY;
Overview

Defines the parameters required for a TextEntry Object.

Members
Members 
Description 
OBJ_HEADER hdr; 
Generic header for all objects (see OBJ_HEADER). 
SHORT horizontalKeys; 
Number of horizontal keys 
SHORT verticalKeys; 
Number of vertical keys 
XCHAR * pTeOutput; 
Pointer to the buffer assigned by the user which holds the text shown in the editbox. 
WORD CurrentLength; 
Current length of the string in the buffer. The maximum value of this is equal to outputLenMax. 
WORD outputLenMax; 
Maximum expected length of output buffer pTeOutput 
KEYMEMBER * pActiveKey; 
Pointer to the active key KEYMEMBER. This is only used by the Widget. User must not change 
KEYMEMBER * pHeadOfList; 
Pointer to head of the list 
void * pDisplayFont; 
Pointer to the font used in displaying the text. 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved