beautypg.com

Text, Textmode, Framemode – PrehKeyTec MCI TouchKey User Manual

Page 15

background image

The text written on the key. Special characters have to be written using character
references as follows: "&#character;" An example for creating a new line will be
" ". A list of the ASCI characters is found at the end of this document. Numbers
are to be written in decimal form.

Example: drinks table 1

This describes the characteristics of the fonts used in labeling buttons.
The following table lists the HEX values for the font properties:

Bit 0 Center text horizontally
Bit 1 Center text vertically
Bit 2 Right justify text
Bit 3 Bottom justify text
Bit 4 Do not word wrap text
Bit 5 Add horizontal space for border
Bit 6 Add vertical space for border
Bit 7 Turn alignment on

Example: 0

Describes the properties of the frame around a button.
Value ranges from 0-255(dezimal).
The table below list the HEX values:

Bit 0 The rectangle is drawn with rounded corner
Bit 1 A shadow is drawn at the right and the bottom
Bit 2 Blank pixels are drawn outside the rectangle
Bit 3 The inner part of the rectangle will be erased
Bit 4 Erasing of the inner part is done with the inverse setting
Bit 7 Display no frame

Example: 128

PrehKeyTec GmbH

MCI_TouchKey_TechDoc_RevC_en.doc - 2011-02-09

Page 15/40