home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 3
/
CDASC03.ISO
/
maj
/
657
/
docs
/
iconedit.doc
< prev
next >
Wrap
Text File
|
1993-04-01
|
6KB
|
110 lines
ICONEDIT
(and VGAEDIT)
ICONEDIT was born out of the necessity to create small graphic
images for use with the ObjectEase library objects, namely, buttons and icons.
It was always meant to be nothing more than a developer's tool, not a full
blown graphics tool by any means. It serves its function with a minimum of
bells and whistles, but quite effectively all the same.
The controls in ICONEDIT give the user the ability to:
1. Choose between button or icon image editing.
2. Shift the entire image within the editing area in any
direction.
3. Copy 'cels' for easy creation of animation sequences
within icons.
4. Select individual 'cels' for editing.
5. Play back the animation as a repeated sequence or as a
back and forth sequence. For instance 1->10,1->10...
or 1->10,10->1...
6. Save the images for use with the ObjectEase library
functions.
Start the ICONEDIT program by entering ICONEDIT on the DOS command
line. Use the two animated icons on the control panel to select whether you
will be editing an icon or a button. Icon editing is the initial default
mode. Whenever you switch between the different editing modes the editing
area is redrawn to reflect you choice. Note that this mode change is made
with no warning of any unsaved files. Be sure to save your work before
switching to a different editing mode.
Color selection can be made at any time by moving the mouse pointer
to the desired color on the color bar and pressing the left mouse button.
To color any pixel of the image, move the mouse cursor to the appropriate
location within the editing area and press the left mouse key. Continuous
drawing can be done by holding down the left mouse key as you move the
mouse cursor around the editing area.
There are six different buttons with arrows on them in the control
panel. Each of the single headed arrows will shift the entire editing area
one pixel in that direction. The row or column of pixels that is shifted
off of the end is moved to the beginning row or column. The double headed
arrows will flip or mirror the entire editing area.
The COPY button and the two animation buttons are only active while
editing an icon. After creating the first 'cel' of your animation use the
COPY button to copy the image to 'cel' number two. The FRAME SELECTION
panel on the main control panel shows at all time how many 'cels' are in
the current animation sequence, and which of these is the current active
'cel'in the editiong area. All of the 'cels' in the animation are shown
in blue, and the active 'cel' is highlighted in red. Once you have copied
one 'cel' to the next, simply move the mouse cursor to the number of the
'cel' you wish to modify in the FRAME SELECTION panel and press the left
mouse key, The newly selected frame will be displayed in the editing area.
Keep in mind that at this point it is still exactly the same as the
previous frame. You must now make any necessary changes to the image to
create the illusion of animation. After making modifications to this 'cel',
copy it to the next 'cel', repeating this process until you have finished
all of the frames in the animation sequence.
You can preview the animation at any point by pressing one of the
two animation control buttons on the main control panel. Once selected, two
additional button will appear labelled "FASTER" and "SLOWER." Use these
buttons to change the speed of your animation. For your reference when
including these icons in your programs, the initial delay speed when
previewing is 3 and pressing either FASTER or SLOWER increases or decreases
the current value by one. To stop the animation and return to editing mode
either press the right mouse key or any key on the keyboard.
Use the two buttons at the top of the control panel to SAVE and
RESTORE your images. When saving or restoring DO NOT give your filename
an extension. File extensions are appended by ICONEDIT and are .BTN and
.ICN for buttons and icons respectively. No menu of available images is
given so you will have to know the name of the file you want to retrieve
or press <ESCAPE> to end the retrieval.
You can experiment with the buttons and icons which are part of
the ICONEDIT program. All of these files are in the same directory as the
executable code. The icons used are ICON.ICN and BUTTON.ICN. You can
recognize the many buttons used by their .BTN extension.
That's all there is to it in a nutshell. The saved images you
create are in proper form to be used by the functions in the ObjectEase
library. I continually make improvements to this program as my needs
change, and registered users of the ObjectEase library will receive the
updated ICONEDIT program along with the ObjectEase library updates. Your
suggestion for improvements are welcomed as well.
VGAEDIT
VGAEDIT is a much simpler program than ICONEDIT. It also serves
to create button and icon images, this time though for the 320x200 256
color graphics mode. You cannot create animated icons with VGAEDIT at
this time. Also, there is no distinction within the program as to whether
you are creating a button or an icon. In this particular mode these two
objects are the same size so no distinction is needed. The files are saved
by default with the ".BTN" extension. If you are going to use the image
as an icon be sure to change the extension to ".ICN". Choose a drawing
color by moving the cursor to the color bar at the top of the screen and
then carefully sliding it back off of the bar once positioned on the
desired color. You can also select a color by positioning the mouse cursor
over a previously colored square and pressing the right mouse button. This
will effectively "pick up" that color.