23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.5.6 Background Bitmaps<br />

In this view, the circle is now in the foreground.<br />

In certain cases, Bring Forward or Send Backward<br />

must be selected several times since the object is only<br />

moved one layer at a time. The order in which objects<br />

were created is relevant here.<br />

Graphic panels provide the possibility to display monochrome or 256−color bitmaps on the display.<br />

Before bitmaps can be used, they must first be imported into the <strong>Visual</strong> <strong>Components</strong> or have already been<br />

created (see Bitmap Management).<br />

Static bitmaps (background bitmaps) are only output once when a page is changed and cannot be modified<br />

during runtime. If a modification is necessary during runtime, the 'Output Bitmap' output field must be used.<br />

Bitmaps can be combined with other objects, i.e. text or Overlapping Objects.<br />

If the display supports bitmap display, then they can be inserted using the icon in the toolbar. After selecting<br />

a bitmap, it can be inserted on the display by clicking where the upper−left corner of the bitmaps should be.<br />

Once the bitmap has been positioned, the dialog box for inserting background bitmaps is opened.<br />

Bitmap<br />

A Bitmap from any bitmap existing in the project can be<br />

selected in the combo box. Bitmaps are sorted<br />

alphabetically.<br />

Size<br />

Specifies the pixel size of the selected bitmap. This is<br />

only for display; input is not possible. If the size of the<br />

bitmap should be changed, this must be taken care of<br />

in a suitable graphics program before being imported<br />

into the <strong>Visual</strong> <strong>Components</strong> editor.<br />

Position<br />

Shows the X and Y pixel coordinates where this bitmap<br />

is inserted on the display.<br />

Status<br />

The status variable is of data type UINT. For bitmaps,<br />

bit 0 is responsible for determining whether the bitmap<br />

is drawn or not.<br />

BIT 0 == 1 − Bitmap not shown<br />

BIT 0 == 0 − Bitmap shown<br />

Preview<br />

Shows a reduced image of the bitmap to simplify<br />

selection and insertion. The preview is detailed<br />

according to the output size.<br />

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

An appropriate error message is given if the position and size of the bitmap exceed the display size in pixels.<br />

320 4.5.6 Background Bitmaps

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!