414
Platforms
©2000-2008 Tibbo Technology Inc.
.Backcolor Property
Function:
Specifies current background color.
Type:
Word
Value Range:
0-65535. Default= 0.
See Also:
Understanding Controller Properties
,
,
,
Details
The background color is used when drawing filled rectangles (
)
and performing fills (
).
Property value interpretation depends on the currently selected controller/panel. S
election is made through the Customize Platform dialog, accessible through the
Project Settings dialog.
The property is of word type, but only the
lower bits of this
value will be relevant. All higher bits will be ignored.
For monochrome and grayscale controllers/panels (
= 0-
PL_LCD_PANELTYPE_GRAYSCALE), this value will relate to the brightness of the
pixel. For color panels/controllers (lcd.paneltype= 1- PL_LCD_PANELTYPE_COLOR)
the value is composed of three fields -- one each for the red, green, and blue
"channels". Check
,
properties to
see how the fields are combined into the color word.
.Bitsperpixel R/O Property
Function:
Returns the number of bits available for each pixel of the
currently selected controller/panel.
Type:
Byte
Value Range:
Value depends on the currently selected controller/panel
See Also:
Understanding Controller Properties
,
Details
Controller/panel selection is made through the Customize Platform dialog,
accessible through the Project Settings dialog.
For monochrome controllers/panels (see
) the lcd.bitsperpixel will
return 1, that is, the pixel can only be on or off. For grayscale panels, this value
will be >1, which indicates that each pixel can be set to a number of brightness
levels. For example, if the lcd.bitsperpixel=4, then each pixel's brightness can be
adjusted in 16 steps.
For color panels, this property reflects the combined number of red, green, and
blue bits available for each pixel (see
, and
).
The number of bits per pixel affects how
,
, and
are interpreted. Also, the output produced by
depends
393
395
419
423
418
417
414
424
427
420
415
393
395
424
427
420
415
419
414
429
415