415
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
on this property.
.Bluebits R/O Property
Function:
A 16-bit value packing two 8-bit parameters: number of
"blue" bits per pixel (high byte) and the position of the
least significant blue bit within the color word (low byte).
Type:
Word
Value Range:
Value depends on the currently selected controller/panel.
See Also:
Understanding Controller Properties
,
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 blue "channel" can be adjusted. For example, if the
high byte is equal to 6, then there are 64 levels for blue.
This property also tells you the bit position and length of the blue field in color
values used by
,
. If, for
example, the
=&h0500, lcd.bluebits=&h0605, and
=&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 blue field
is in the middle and occupies 6 bits (10-5).
.Bmp Method
Function:
Displays a portion of or full image stored in a BMP file.
Syntax:
lcd.bmp(offset as dword, x as word, y as word,
x_offset as word, y_offset as word, maxwidth as word,
maxheight as word) as ok_ng
Returns:
0- OK: Processed successfully.
1- NG: Unsupported or invalid file format.
See Also:
Par
t
Description
offs
et
Offset within the compiled binary of your application at which the BMP file
is stored.
x
X coordinate of the top-left point of the image position on the screen.
Value range is 0 to
-1.
393
395
424
419
414
429
427
420
404
432