Colors

From IceChat Wiki
Jump to: navigation, search

The Color settings tabs include several basic tabs and several additional tabs that only exist if certain plugins are installed.

Ice9-colors.jpg

Colors Palette

At the bottom of the Color settings window there's a palette of 72 colors that are used everywhere in the software.
Colors are identified by codes. These are numbers between 0 and 71 representing the ordinal place of a color on the palette.
The definition of the palette colors is located in the ColorPalette.xml file under the Data Folder. If you want to change a certain color to another, replace the existing Hex code with one of your own, then re-start IceChat 9.

Themes tab

IceChat 9 comes with several basic themes, which are saved under the Data Folder. Themes can be added, removed and re-added to IceChat 9 from this tab.
Each theme is combined of two xml files, using the theme name. One is called Colors-<theme name> and the other Messages-<theme name>. So the Blue theme will use these two files: Colors-Blue.xml and Messages-Blue.xml.


If you have used IceChat 7 and have themes there that you want to use, they can be imported from this tab. Simply point to IceChat 7 Data Folder, and press the Import IceChat 7 themes. Once imported, the themes are listed in the themes list and can be chosen.

If you have made changes to colors in the various tabs on this window, and you want to keep them, you can save them as a new theme. Press the Add new theme button, give the new theme a name, and it will be added to the themes list, and can be retrieved later at any time.

The Remove theme is used to remove a theme from the themes list. If the removed theme is the one currently used, then the default one will be restored and used the next time IceChat 9 is opened.

A previously removed theme can be loaded again into the themes list by using the Load Theme.

Messages tab

This tab handles the colors of messages and actions on different parts of the software. There are two ways to handle the colors of messages/ actions: Basic, which is opened by default, and Advanced, which is the tab to the right of the Basic.

The Advanced tab allows detailed control of parts of a single message/ action, while the Basic allows only a single color for a single message/ action.

Both provide the same set of messages/ actions to be defined. Messages and actions are divided into several groups in the list for convinience:

  • Channel Messages
  • Server Messages
  • Private Messages
  • Self Messages
  • CTCP Messages
  • DCC Messages
  • Other Messages

Basic

When you want to change the color of a certain message, select that message from the list, then select a color from the palette. A preview of the message is displayed in the Formatted message preview line.

If you want to change the message background, check the Change background color checkbox (to the left of the Formatted message title) and select a color.


Press Apply to save the changes so far, and go on to make more changes. When you have finished making changes, Save them and leave the Color Settings window.

The Reset to default button restores the original color settings of the message currently selected.

Advanced

A message is combined of several parts, each can have its own color and background color. These parts are a combination of Identifiers and, for some messages, constant text.

Each part of a message can have a specific combination of foreground and optionally background colors, starting with a CTRL+K symbol, and ending with that same symbol.


To the right of the messages list on this tab, there a small rectangle with a dynamic legends of the Identifiers that can be used for that message.

Identifiers

$message
This is the text that is relevant to the currently selected message. In case of a Channel Notice this will be the notice sent, in case of an Private Action this will be the action text, and in case of a Self Message this will be the message text.
$server
The actual server name (as oppose to the network name)
$serverip
The server IP Address
$port
The server port
$nick
This is the nickname that is relevant for the specific type of message or action currently selected. In case of an Channel Invite, that will be the nick who made the invite. In case of a Self Message that will be your own nick.
$host
The hostname of the $nick
$channel
The channel name that is relevant to this specific message. In an Channel Invite, this will be the channel to which you are invited. In a Chage Topic message, this will be the channel to which the change of the topic is made.
$status
The rank* of the $nick in that channel.
$color
This is the color of the $nick's rank* in the Nick List tab.
$account
The account name of a user, if that user connects with SASL. TBV
$kickee
The nick who was kicked
$kicker
The nick who performed the kick
$reason
The reason for an Action, such as kick or quit.
$mode
The channel mode that changed
$modeparam
The parameters for the changed $mode. For example, +Voice, -Voice, etc.
$newnick
The new nick name when a nick is changed.
$data
The whois information
$ctcp
The Ctcp you wish to request for
$file
The name of the file trying to be sent
$filesize
The size in bytes of $file

Message Coloring

Following is an example for a Channel message format, with detailed explanation.

Ice9-channel-message-color-settings.jpg

To change the colors of a Channel Message, select it in the upper list of messages.
In the Edit message here you can see the current setting of that message, and in the Formatted message below, is the preview of the settings. The Legend on the right list the $color, $status, $nick, $message, $host, $channel Identifiers as valid for this message.

Place the cursor to the left of $message (#4 in the screenshot) and open the Color Picker. Select the Yellow color. A symbol followed by the number 08 is displayed (#2 in the screenshot). Next, for the backgound of this part, type a comma, and then select the Blue color (first on the 2nd line of the palette). A symbol followed by the number 12 is displayed (#3 in the screenshot). Remove the symbol, leaving the number 12 near the comma with no spaces between. The result is displayed on the preview line bellow (#6 in the screenshot).

You can manually type the color codes using CTRL+K to create the symbol followed by the desired color code number.

A note on the $color$status$nick combination in the example screenshot:

The $color, is the one that paints this part in Dark Blue (#7 in the screenshot). In live channels, this will show each nick name painted with the color of its rank* from the Nick List. The $status Identifier will display in live channels the rank* (if exists) of the nick who wrote the message.

The result of the above example in live channel looks like this:

Ice9-channel-message.jpg

Server tree/Tabs tab

This tab handles the colors of events and messages on the Server Tree. The left side of the tab handles the foreground colors and the right side defines the background colors.

Foreground colors

Current tab
Affect the text color of the current tab on the Channel Bar and theWindow tabs
New Message
This color will be displayed on the Channel bar and on the Server Tree when there's a new message on the channel.
New Action
This color will be displayed on the Channel bar and on the Server Tree when there's a new action on the channel.
Channel Join
This color will be displayed on the Channel bar and on the Server Tree when someone joins a channel.
Channel Part
This color will be displayed on the Channel bar and on the Server Tree when someone parts a channel.
Server Quit
This color will be displayed on the Channel bar and on the Server Tree when someone disconnected from the server.
Server Message
This color will be displayed on the Channel bar and on the Server Tree when the server has some message.
Server Notice
This color will be displayed on the Channel bar and on the Server Tree when the server has some notice.
Buddy List
This color will be displayed on the Channel bar and on the Server Tree when a buddy comes on line or disconnects.
Other
This color will be displayed on the Channel bar and on the Server Tree for messages other then the ones listed above.
Default
This is the default color of the text on the Server Tree. Server names and opened channels will have this color when there are no other events that trigger the above defined colors.

Background colors

Setting different colors for Color 1 and Color 2 for elements creates gradient effect.

Current Tab - Color 1/ Color 2
Affect the background color of the current tab on the Channel Bar and theWindow tabs
Default Tab - Color 1/ Color 2
Affect the background color of the tabs other then the current on the Channel Bar and theWindow tabs
Hover Tab - Color 1/ Color 2
This is the color displayed when hovering over a tab other then the current on the Channel Bar.
Background
The background of the Channel Bar.

Nick List tab

This tab handles the color settings for the different user ranks*. Thse colors will be displayed on the Buddy List window. It is also set by default for the Channel Messages.

Other tab

This tab handles colors of the software elements (as oppose to IRC elements in other tabs).

Background colors

Console
The background of the Console tabs. This includes the Welcome tab and each of the server tabs.
Channel
The background of the channel tabs.
Query/ DCC Chat
The background of the tabs which are opened for a private communication: query and DCC chat.
Nick List
The background of the Nick List window.
Server List
The background of the Server Tree window.
Channel List
The background of the Favorite Channels window.
Input Box
The background of the Input Box.
Side Panel Header - Color 1/ Color 2
The background of the side windows headers and the buttons on the lower part of the side windows. A different Color 1 and Color 2 creates a gradient effect.
Menu Bar
The background of the Main Menu.
Tool Bar
The background of the Tool Bar.
Status Bar
The background of the Status Bar.

Foreground colors

Favorite Channel List
Side Panel Header
The text color of the side windows headers.
Unread text marker
Sets the color for the unread text marker
Status Bar
The text of the Status Bar.
Input Box
The text of the Input Box.
Hyperlink
The color of hyperlinks on the text windows

High Lite tab

This tab only appears if the High lite plugin is installed. It sets the options for that plugin.


When setting the options for a text to be highlighted, the following elemets are available:

Text to highlight
Any string added here, will be highlighted on channels when mentioned. The text can be displayed in color. To set a color for the highlighted text, select one of the colors from the palette in the lower part of the tab.
regular expression patterns can be used according to Microsoft examples.
If you want to highlight your own nick when mentioned on channels, you can use the Identifier $me.
Command to run
TBC
Sound to play
Any supported sound file from anywhere on your hard disk can be added.
Command to run
TBC
Highlight only for selected nicks
The text will be highlighted only if it was typed by the nicks listed in this line. Several nick names can be listed, separated by a space.
Highlight for all, except selected nicks
Opposite in meaning to the above: The text here will not be highlighted if it was typed by any of the nick names in this list. Several nick names can be listed, separated by a space.
Flash channel tab on highlight
If the client is not minimized to the System Tray

Nick Hilite tab

This tab only appears if the Nick Hilite plugin is installed. It sets the options for that plugin.

Nick to highlight
Type a nick name, and select a color from the palette at the bottom of the tab. The nick name will be displayed on the Nick List with the selected color.
Host to highlight
If populated, that host or any host that the text is part of, will be displayed on the Nick List with the selected color.


rank* - a local terminology representing a subset of user modes on channel, such as Voice, Op, Half Op, etc. The ranks are listed on the Nick List tab.