PALETTE
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
|
|
The PALETTE setting defines entries in the color palette.
Value
PALETTE is specified as follows:
PALETTE=f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b,f/b
where each f/b pair is a color palette entry with a foreground color (f) and a background color (b). The first f/b pair is for color palette entry 1, the second is for color palette entry 2, and so forth.
Discussion
The color palette has 16 entries that are used to assign colors to renditions, which define the appearance of user interface elements in UI Toolkit programs and Synergy programs that use the windowing API. (A PALETTE setting does not need to include all 16 color palette entries. You can omit an entry, but you must include a comma placeholder for the omitted entry unless it is at the end of the string. See the Examples below.)
A default color palette is loaded into memory when the Synergy runtime starts, but you can use PALETTE to override the entire default color palette or just specific entries in the default palette.
There are 256 user colors (color 0 through color 255) and 30 system colors (color 256 through color 285) that you can assign to palette entries. See Colors and the color palette for more information.
Setting location
The [colors] section of synergy.ini.
Used by
Runtime and UI Toolkit
See also
- COLORn environment variable
- Customizing the look of your application
The following example defines the entire color palette.
[colors] PALETTE=264/271,0/15,264/271,270/269,0/7,0/7,0/7,0/7,0/7,0/7,0/7,0/7,0/7, 0/7,0/7,0/15
The next example defines the second and fourth color palette entries as 270/269. All other color palette entries will have their default values (or values set in synergy.ini if this setting is in synuser.ini).
[colors] PALETTE=,270/269,,270/269