14 Inserting Icons
There are two types of icons that are available in the Nokia 9000/9110 Development
Environment, the status pane icon and the file list icon. The Status pane icon appears on the left-
hand side of the screen and the status pane icon appears in the file list window.
Status pane icon settings
Width (pixels)
Height (pixels)
Color scheme
Aspect ratio
Format type
Display size
File list icon settings
Width (pixels)
Height (pixels)
Color scheme
Aspect ratio
Format type
Display size
14.1 Creating the PCX File
There are four steps that must be followed to create a GEOS compliant PCX file. These steps are:
1. Install Paint Shop pro or similar tool that can write pcx version 2 format. Paint Shop pro can
be obtained from
http://www.jasc.com
2. Start up Paint Shop pro and create your image. If you are creating a status pane icon, make
sure you have created a 64x50 or 25x18 image depending on the icon type. Later tools in
this process will crop the upper left hand corner of the image if your image is larger and
abort with errors if the image is smaller.
3. Set the image to 4-bit color.
4. Save the image as pcx in a known directory. (Note: Using version 2 from the options box in
paint shop saves the palette information with the image).
14.2 PCX to GOH Manual Conversion
The PCX file can be converted into GEOS code (visMoniker data structure) that can then be
included into a GOH or GOC file. A utility exists within the pcgeos\bin directory that performs the
PCX conversion, called cvtpcx.
Converting a PCX file to a status pane icon:
cvtpcx –2 –G –w50 –h64 –otest.goh test.pcx
64
50
16-color
VGA
Icon
Standard
25
18
16-color
VGA
Icon
Tiny
Need help?
Do you have a question about the 9000 and is the answer not in the manual?
Questions and answers