Padmemloadbitmap; Padmemloadbitmapfile - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

Parameter
pcName
wNameLen
pcData
pwDataLen
Returns
Returns TRUE if the function succeeds, FALSE otherwise.
See Also
padMemSetVar, padFormSaveFld

padMemLoadBitmap

Loads a raw unformatted bitmap into the non-volatile memory with the given Id. This function overwrites any item already
assigned to Id. (Use "padMemFind" on page 3-29 to determine if the given Id is being used already.) This command does
not accept BMP style bitmaps with header data; it only accepts raw bitmap data with no header. The maximum number of
bitmaps that can be loaded depends on how much non-volatile memory is available (see "padMemGetFree" on page 3-30),
and how large the bitmaps are.
On the Transaction Team 3100 Series the bitmap data should be stored using the standard 1 bit per pixel black and white
scheme since the Transaction Team 3100 Series has a black and white display only. See Supported Bitmap
Format beginning on page 4-1.
Syntax
BOOL padMemLoadBitmap(
WORD Id,
padPOINT *pptSize,
BYTE *Bits
)
Parameter
Id
pptSize
Bits
Returns
Returns TRUE if the function succeeds, FALSE otherwise.
See Also
padMemReset, padMemClear, padMemDelete, padMemFind, padMemLoadText, padMemGetFree,
padMemGetChecksum, padPutBits, padPutBmpFile, padDisplayObject, padMemLoadBitmapFile

padMemLoadBitmapFile

Loads a BMP-style bitmap file into the non-volatile memory with the given Id. This function overwrites any item already
assigned to Id. (Use "padMemFind" on page 3-29 to determine if the given Id is being used already.) Only 1 bit per pixel
black and white BMP formats are accepted. The maximum number of bitmaps that can be loaded depends on how much
non-volatile memory is available (see "padMemGetFree" on page 3-30), and how large the bitmaps are.
Description
Variable name containing the data
Name length
Pointer to a buffer where retrieved data is placed
Buffer length
Description
ID of the memory item
Horizontal and vertical size of the bitmap in pixels. The maximum horizontal and
vertical values allowable for the bitmap are identical to the values returned by
padLcdWidth (equivalent to 320 for the Transaction Team 3100 Series) and
padLcdHeight (equivalent to 240 for the Transaction Team 3100 Series).
Pointer to the raw bitmap data to be loaded. On the TT3100 Series the bitmap data
should be stored using the standard 1 bit per pixel black and white scheme since the
TT3100 Series has a black and white display only. See Supported Bitmap
Format beginning on page 4-1.
3 - 31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents