62
7.6 Library Operations
7.6.1 Library Overview
Libraries are a way to create a collection of bitmaps, shapes and groups that apply to
the project being developed. Library objects become available to a project when the
Library they are in is attached to the project.. To view attached libraries, go to the
Library
menu, select the
Shape
,
Bitmap
or
Group
category and the
Call up Library
submenu item.
Default libraries are automatically assigned to a new project. Libraries can be added or
deleted from a project at any time. Up to 10 libraries can be assigned to a project.
EasyBuilder provides three types of libraries:
1:
Shape Library
: A Shape is a collection of drawing elements put in by the programmer with the EasyBuilder drawing
tools. Those elements, when put together, define a graphic symbol representing a button, lamp, function key etc.
2:
Bitmap Library
: A Bitmap graphics (BMP) is a collection of pixel of data. This data can come from screen captures,
paint or drawing software packages that can generate *.bmp files. Bitmaps smaller than 250 KB and up to 256 colors
are allowed.
3:
Group Library
: A Group is a collection of objects. (i.e. A keypad would be a group of function buttons.) Common
groups can be saved to this library for use in other windows of the same project or for later use in other projects.
Comparison of Shape and Bitmap Attributes
Attribute
Bit Mapped Graphics
Shapes
Arbitrary Graphic
Good
Limited to those graphics that can be designed by
basic drawing elements
Memory capacity
Very large
Small
Effect of enlarge & shrink
Fair to Bad
Good
Display Speed*
Good
Good
* The MMIs 32 bit processor displays both bit map graphics and shapes extremely fast, even during resize operations.
Click
Select Lib. ...
To attach an existing library to the
current project. Libraries are found in the Library D-
Subdirectory where EasyBuilder is installed.
Shape libraries have the *.slb file extension.
Bitmap libraries have the *.blb file extension.
Group libraries have the *.glb file extension.
A sample library dialog
Shape Select Library Dialog
Summary of Contents for MMI-1500
Page 2: ...ii...