Color Display Options
Purpose of This Note
This note describes how to use the INI (Windows) or Setup (Mac) file options that control the colors used to display objects in DesignWorks and LogicWorks.
| This note applies to: |
Windows |
Macintosh |
| DesignWorks Professional |
All |
All |
| DesignWorks Lite |
All |
All |
| LogicWorks |
All |
All |
| Notes: N/A - not applicable to this version. "3.0 +" indicates version 3.0 and later. Since this note may apply to multiple versions and platforms, there may be some variation in exact configuration of menu commands and screen layouts from that shown in this note, but the same principles apply. |
Click here for Macintosh versions
Windows Versions
All color settings are controlled by keywords in the INI settings file in the program folder. With the exception of graphic elements in device symbols or graphics pasted from outside applications, no color settings are stored with an individual design and you can't change color settings on individual lines or text items.
Editing the INI File
All of the options described here are modified by editing the file dw.ini (DesignWorks, DesignWorks Professional and DesignWorks Lite) or lw.ini (LogicWorks) which is located in the same directory as the program files. The ini file can be edited using NotePad or any basic text editor. If you use a word processor such as Microsoft Word, make sure to use a Text Only option when saving the file.
INI File Color Options
All the following options must be in the [Drawing] section of the file. The available color keywords are:
 |
RED |
 |
GREEN |
 |
BLUE |
 |
CYAN |
 |
MAGENTA |
 |
YELLOW |
 |
BLACK |
 |
DKGRAY |
 |
GRAY |
 |
LTGRAY |
 |
WHITE |
All items in a schematic, except the page background, default to black. The page background defaults to white. The possible item keywords are:
 |
Default_Col |
 |
DeviceAttrs_Col |
 |
SignalAttrs_Col |
 |
BusAttr_Col |
 |
PinNumber_Col |
 |
PinNumber_Selected_Col |
 |
Device_Col |
 |
Signal_Col |
 |
Signal_Selected_Col |
 |
Pin_Col |
 |
Pin_Selected_Col |
 |
Bus_Col |
 |
Bus_Selected_Col |
 |
BusPin_Col |
 |
BusPin_Selected_Col |
 |
Page_Col |
 |
Boundary_Col |
 |
GridMajor_Col |
 |
GridMinor_Col |
 |
RandowText_Col |
 |
RandowTextFrame_Col |
Here is a typical listing:
[Drawing]
Page_Col=White
GridMajor_Col=Gray
GridMinor_Col=Ltgray
Boundary_Col=Blue
BorderText_Col=Blue
DeviceAttrs_Col=Magenta
SignalAttrs_Col=Magenta
Signal_Col=Red
Signal_Selected_Col=Yellow
Bus_Col=Blue
Bus_Selected_Col=Yellow
BusPin_Col=Blue
BusPin_Selected_Col=Yellow
Pin_Col=Black
Pin_Selected_Col=Yellow
PinNumber_Col=Blue
PinNumber_Selected_Col=Green
Macintosh Versions
A setup file can be created or edited using your favorite programming editor or word processor. If you use a word processor, be sure to save the file using a "text only" option. For DesignWorks Professional and DesignWorks Lite, the file is called DesignWorks Setup and is usually located in the DesignWorks program folder. Similarly, LogicWorks versions call the file LogicWorks Setup.
This option can be specified using either spelling:
COLOURS colourList;
or
COLORS colorList;
(depending on whose dictionary you use)
This specifies colors to be used in displaying objects on the Macintosh screen. Each number in the list corresponds to a different type of circuit object. The COLOUR keyword is followed by a number of names which will determine the colour displayed on the screen for various types of objects. If less numbers then object types appear in the COLOUR statement, the remaining ones are left unchanged from the defaults, which are specified in a resource entry called CTAB in the DesignWorks file. Extra numbers on the line are ignored.
Valid colour names must be from the following list:
 |
BLACK |
 |
WHITE |
 |
RED |
 |
GREEN |
 |
BLUE |
 |
CYAN |
 |
MAGENTA |
 |
YELLOW |
Device pictures and graphic items that have been created using external applications can only be displayed in the colour they were originally created in.
These colors are read in the following order:
 |
1 Default colour for items not specified |
 |
2 Name on a selected signal |
 |
3 Name on an unselected signal |
 |
4 Pin numbers on selected signal |
 |
5 Pin numbers on unselected signal |
 |
6 Reserved |
 |
7 New internally-created device symbols |
 |
8 Pin line in selected signal |
 |
9 Pin line in unselected signal |
 |
10 Non-pin line in selected signal |
 |
11 Non-pin line in unselected signal |
 |
12 Delay in selected device |
 |
13 Delay in unselected device |
 |
14 Name in selected device |
 |
15 Name in unselected device |
 |
16 Drawing boundary |
 |
17 Drawing grid |
 |
18 Print page outlines |
 |
19 Random text |
 |
20 Frame on random text |
 |
21 Rulings on random text |
 |
22 Frame on random pictures |
 |
23 Reserved |
 |
24 Reserved |
 |
25 Reserved |
 |
26 Reserved |
 |
27 Reserved |
 |
28 Reserved |
 |
29 Reserved |
 |
30 Reserved |
 |
31 Reserved |
 |
32 Reserved |
 |
33 Reserved |
 |
34 Reserved |
 |
35 Reserved |
 |
36 Reserved |
 |
37 Reserved |
 |
38 Pin line in selected bus |
 |
39 Pin line in unselected bus |
 |
40 Non-pin line in selected bus |
 |
|