Home › Forums › Technical Notes › Color Display Options
- This topic has 0 replies, 1 voice, and was last updated 10 years, 1 month ago by NeilMackenzie.
-
AuthorPosts
-
July 30, 2014 at 3:23 am #792NeilMackenzieKeymaster
Color Display Options
Purpose of This Note
This note applies to: Windows Macintosh DesignWorks Professional All All DesignWorks Lite All All LogicWorks All All 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.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_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:
- Default colour for items not specified
- Name on a selected signal
- Name on an unselected signal
- Pin numbers on selected signal
- Pin numbers on unselected signal
- Reserved
- New internally-created device symbols
- Pin line in selected signal
- Pin line in unselected signal
- Non-pin line in selected signal
- Non-pin line in unselected signal
- Delay in selected device
- Delay in unselected device
- Name in selected device
- Name in unselected device
- Drawing boundary
- Drawing grid
- Print page outlines
- Random text
- Frame on random text
- Rulings on random text
- Frame on random pictures
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Reserved
- Pin line in selected bus
- Pin line in unselected bus
- Non-pin line in selected bus
- Non-pin line in unselected bus
July 30, 2014 at 7:49 pm #793NeilMackenzieKeymasterColor Display Options
Purpose of This Note
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. -
AuthorPosts
- You must be logged in to reply to this topic.