Bitmap palettes - configuration dialog box
Bitmap palette can consist the bitmaps or the icons from a group of D2000 objects - Bitmap. These objects can contain more raster formats. Only the bitmaps and icons are completely supported in the bitmap palettes. Because of simplification we will use a term "bitmaps" for both types of objects in the text.
Bitmap palette is being configured in the following dialog box. Dialog box can be opened by clicking on a particular palette in dialog box for object selection that is available in process D2000 GrEditor via menu Configuration Gr -> Bitmap palettes.
This configuration dialog box can be opened also in process D2000 CNF - clicking on button in D2000 GrEditor and selection the bitmap palette.
1 | Selection of object value type. |
2 | Each palette line represents one status script and a group of parameters which are to be applied to given bitmap if the script is valid. It is possible to define up to 30 rows. |
3 | Selection of display mode. |
Description
A text string describing the bitmap palette. Possibility to use the Dictionary (to open press CTRL+L).
Buttons to select keywords
Clicking on some of these buttons (States, Limits, Flags, Alarms, Layers) opens a list of the keywords for status script. Separate the keywords by comma. The button is used to enter a range. More detailed description is mentioned in the chapter Status script.
Definition of bitmap parameters
For each bitmap palette line, it is possible to define the following
parameters (1 up to
6):
1 | Keywords which create the status script. |
2 | Selection of mode to display the bitmap. |
3 | Selection of first color for monochromatic bitmap. |
4 | Selection of second color for monochromatic bitmap. |
5 | Selection of bitmap background. |
6 | Selection of a bitmap or definition of a bitmaps sequence. Bitmaps sequence may be defined only for display modes Switch, Slow switch, Quick switch and Very quick switch. Due to the size of the buttons intended for selecting bitmaps, the buttons are placed in two column. More information on bitmaps sequence you can find in the topic Definition of animated sequence. |
Color corresponding to the item 4 is being defined for the display modes Slowly blink, Blink and Quick blink. Monochromatic bitmap is then drawn alternately by the colors defined in the parameters 1.F (item 3) a 2.F (item 4).
Left-click on an item opens opens the color palette (default
label of the items is ).
Right-click on an item opens the menu containing three items:
- Select color - opens the color palette (as well as left mouse click on item). Item label: selected color.
- Use previous - the parameter will not be used, there will stay last valid parameter value. Item label : .
- Default color - the same value as when defining the bitmap. Item label: .
The palette parameters, which are not predefined (labelled by ), are to be displayed according to last valid palette line.
Clicking a button to define a bitmap - the item 6 (default label of the
buttons is "Previous") opens a list of bitmaps. If you select one of
the display modes Switch, Slow switch or Quick switch,
clicking the button opens the dialog box to define a bitmaps sequence.
Right-click on the button opens the menu containing three items:
- Select bitmap - opens a list of bitmaps or the dialog box to define a bitmaps sequence (as well as left mouse click on the button). Button label: selected bitmap / bitmap sequence.
- Use previous - there will be used last valid bitmap. Item label : Previous.
- Default bitmap - there will be used the bitmap placed in the picture. Item label: Default.
Modes to display bitmaps
For each bitmap palette line, it is possible to define a method to display defined bitmap. The method defines how the bitmap will be drawn in the picture opened in D2000 HI. The following table contains all the available methods.
Display mode | Drawing |
Use previous | There is used the method defined for last valid status script. |
Normal | Bitmap is drawn in first color - the item 3. For monochromatic bitmap only. |
Not drawn | Bitmap is not drawn in the picture opened in D2000 HI. |
Blink Slow blink Quick blink |
Bitmap is blinking - it is alternately drawn in first color (1.F - the item 3) and second color (2.F - the item 4). For monochromatic bitmaps only. |
Switch Slow switch Quick switch Very quick switch |
These modes are being used to display a bitmaps sequence. Bitmaps in defined sequence are alternately switched - easy animation. If these methods are used for other graphic object than bitmap, then the graphic object is drawn as well as for the mode Normal. |