WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
The PALETTE setting defines entries in the color palette.
PALETTE is specified as follows:
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.
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 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 color palette. Note that
- 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.
- 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 Examples below.)
- PALETTE settings override the default memory-resident color palette (or specific entries in the default color palette).
The [colors] section of synergy.ini.
Runtime and UI Toolkit
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).