428
Platforms
©2000-2008 Tibbo Technology Inc.
Details
The value of this property depends on the currently selected controller/panel. S
election is made through the Customize Platform dialog, accessible through the
Project Settings dialog. This property is only relevant for color panels (
= 1- PL_LCD_PANELTYPE_COLOR).
By taking the value of the high byte you can determine the number of the steps in
which the brightness of the red "channel" can be adjusted. For example, if the high
byte is equal to 5, then there are 32 levels for red.
This property also tells you the bit position and length of the red field in values
used by
,
, and
. If, for example, the
=&h050B, then
you can reconstruct the composition of the red, green, and blue bits in a word: bit
15 -> gggggbbbbbbrrrrr <- bit 0. In this example, the red field is the first field and
occupies 5 bits (4-0).
.Rotated Property
Function:
Specifies whether the image on the display panel is to be
rotated 180 degrees.
Type:
Enum (no_yes, byte)
Value Range:
0- NO: Not rotated (default).
1- YES: Rotated 180 degrees.
See Also:
Preparing the Display for Operation
Details
Set this property according to the orientation of the display panel in your device.
This property can only be changed when the display is disabled (
=
0- NO).
.Setfont Method
Function:
Selects a font to use for printing text.
Syntax:
lcd.setfont(offset as dword) as ok_ng
Returns:
0- OK: The font was found and the data appears to be
valid.
1- NG: There is no valid font data at specified offset.
See Also:
Par
t
Description
offs
et
Offset within the compiled binary of your application at which the font file
is stored.
424
419
414
429
415
420
395
416
397