Textblock - Argox PA-20 Programming Manual

Portable data terminal
Hide thumbs Also See for PA-20:
Table of Contents

Advertisement

TextBlock is a floating window printing rectangle area on screen. TextBlock defines it‟s
activated area anywhere within LCD screen display. A out of display area definition is not
allowed.
Each TextBlock has individual attribute definition for position, size, font , background
color or bmp. There are total 16 TextBlocks. TextBlock(0) is system default Window. The
setting of TextBlock(0) can‟t change. TextBlock(1~15) are user defined.
SetTextBlockMode
Purpose:
Set TextBlock mode for single or multi layer.
Syntax:
void SetTextBlockMode(int slMode);
Example call:
SetTextBlockMode(0);
#include "SDK.h "
Includes:
Description:
This function can set the TextBlock mode for single or multi layer.
Single layer is the same as PT-20, only backup TextBlock in only one
layer. Multi layer can backup each TextBlock in it‟s buffers.
When you change the mode setting, all the TextBlock will be reset.
Returns:
None
Notice:
slMode = 0, set mode for single layer.
slMode = 1, set mode for multi layer.
GetTextBlockMode
Purpose:
Get TextBlock mode.
Syntax:
int GetTextBlockMode(void);
Example call:
GetTextBlockMode();
#include "SDK.h "
Includes:
Description:
This function can get the TextBlock mode status.
Returns:
0:Single mode.
1.Multi mode.
DefineTextBlock
Purpose:
Define TextBlock setting.
Syntax:
BOOL DefineTextBlock(S32 slBlockNo,S32 slSelFont,S32
slBGType,U32* ulBGData,S32 slColumn,S32 slRow,S32 slXPos,S32
slYPos)
Example call:
DefineTextBlock(1,0,TYPE_IMAGE,(U32*)gausImage_PA20LOGO,10,8,
40,20);
#include "SDK.h "
Includes:
PT-20 Programming Guide

TextBlock

84

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pa-21Pa-2110Pa-2010

Table of Contents