|
GEOS SDK TechDocs
|
|
2 Importing Icons
|
4 Writing Source Code
There are a number of features that are useful when editing icons:
-
You can create a format for the icon, and scale it to help create the other formats, using the "Transform Format" dialog under the Format menu.
-
The pixel-edit size can be set using the Options menu. It defaults to 8-bit-wide pixels.
-
The "Preview" dialog allows you to view a format in a generic object. If the format is intended for use in a generic object, you can see what it looks like inverted, and (in the case of triggers and tools) what it looks like with different background colors.
-
You can add your own formats, or delete existing ones, using commands from the Format menu. You might, for example, want to add a SuperVGA format for the icon (system supervga file-icons are 64x40).
-
256-color icons are technically supported, but no special tools are provided for editing them. You can select the red, green, and blue components of the area or line color from the "Area Color" and "Line Color" dialogs. 256-color icons aren't much use unless either:
-
They use colors only from the system's default palette, or
-
They are being used in a 24-bit color environment.
-
You can select the aspect ratio for your icon. This will allow the system to make the best choice among formats when selecting from your moniker list. The choices are CGA, EGA, and VGA. The "VGA" aspect ratio should be used for VGA, MCGA (monochrome VGA), and SVGA formats.
-
You are not required to create multiple formats for your artwork; however we recommend that if you are creating art that could be used under many video modes that you create the three standard formats for the art (VGA, mono VGA, CGA). This shouldn't be too difficult, since there are several tools for working with several formats:
-
The "Transform Format" dialog can be used to create exact copies, or transformed copies, of one format to another.
-
The "Resize Format" dialog changes the size and shape of a single format.
-
The "Flip Format" dialog allows you to flip an icon format horizontally or vertically, or to rotate it 90 degrees.
|
GEOS SDK TechDocs
|
|
2 Importing Icons
|
4 Writing Source Code