The colour popup allows users to select a standard colour or set-up and use a user-defined colour.
For some menus special context colours are available, for example "Entity", "Default" or "Background".
These options are explained in more detail in the sections of the manual about that menu.
Standard Core Colours
The top two rows show the 30 standard core colours.
|
|
When you hover over the colour the name is shown.
This name can be used to specify this colour in preferences and dialogue inputs.
In T/HIS this name can be used in JavaScript and FAST-TCF.
When using the name, "_" is used instead of " ", for example "Hot Pink" becomes "HOT_PINK".
|
|
The standard core colours available are very similar in D3PLOT and T/HIS. The following colours are a similar shade but have different names:
|
D3PLOT
|
T/HIS
|
|
Red/Magenta
|
Orange
|
|
Green/Cyan
|
Turquoise
|
|
Yellow/Green
|
Lime
|
|
Light Blue
|
Sky
|
|
Dark Orange
|
Pink
|
|
Cyan/Blue
|
Medium Blue
|
|
Red/Orange
|
Light Pink
|
|
Grey
|
Medium Grey
|
User-Defined Colours
|
|
The lower rows show the user-defined colours. There can be up to 150 user-defined colours.
Click on a user-defined colour to apply it, or click on an empty slot to create a new user-defined colour.
|
|
User-defined colours can be used in the dialogue input by specifying their name.
In T/HIS user-defined colours can be used in FAST-TCF.
|
Creating
To create a new user colour click on an empty slot. This maps a colour palette.
The colour can be edited a number of ways:
-
Using sliders to set the red, green and blue value,
-
Inputting a hex colour code,
-
Clicking on the colour wheel and cone, or
-
Using sliders to set the hue, light and saturation levels.
When you create a colour it is applied.
|
|
Editing
|
|
Hover over a user colour to edit it. You have the choice to change the name of the colour, Edit it, or Delete it.
|
|
|
The user-defined colours are given the standard name, for example "user_1". They can be renamed. The name must start with a letter and gets set to all lower case. If the name is not unique, a number will be appended to it, for example "green_1".
Edit maps the colour palette. If you edit a colour it is then applied.
Delete removes a colour. The colour is no longer available when you next open the colour popup.
|
Saving
The user-defined colours can be saved. The same user-defined colour are then available when you next run D3PLOT or T/HIS.
|
|
|
The user-defined colours are stored in the user_colours.xml file. If the user has permission to modify things in the INSTALL directory, the user is given the option to either save the user colours to the INSTALL directory (which is sometimes visible to multiple users) or their HOME directory.
Alternatively, the preference user_colour_file can be set to specify an .xml file.
When D3PLOT or T/HIS is next started the user_colours.xml file is read in.
If the same colour, for example "user_1", is defined in the user_colours.xml file in both the INSTALL and HOME directory, the HOME directory user_colours.xml file takes precedence.
If the preference user_colour_file has been set, any user_colours.xml file in the HOME directory is ignored. If a colour is also defined in the user_colours.xml file in the INSTALL directory, the user_colour_file .xml file takes precedence.
For T/HIS, if a user colour was previously set-up using a preference, for example this*user_colour1 , and that colour slot is also defined in a user_colours.xml file, the user_colours.xml file takes precedence.
T/HIS Link
When running the T/HIS link any user colours created in D3PLOT (or in T/HIS) will be available in the other program. When T/HIS is first opened it sets-up the user colours to match the current D3PLOT session, rather than using a saved user_colours.xml file.
|
|