![]() ![]() ![]() ![]() |
Table of Contents |
The VolanoChat client applet allows you to add collections of object colors and font styles called 'themes'. These themes are user-selectable on the themes menu of the client applet. VolanoChat comes with several default themes defined in your english.txt file, which you can modify or add to in order to give your chat greater visual impact. Your chatters will love the ability to customize the chat room and probably have their own suggestions for colors.
The following applet properties define a default color theme based on the foreground and background colors of each component type in the applet user interface. The default colors are shown below.
color.background=#A0B8C8 color.background.button=#FFFFCC color.background.list=#DCDCDC color.background.text=#DCDCDC color.background.text.editable=#FFFFFF color.foreground=#000000 color.foreground.button=#000000 color.foreground.list=#000000 color.foreground.text=#000000 color.foreground.text.editable=#000000 color.foreground.text.editable.inactive=#FF0000 color.foreground.text.link=#0000FF font.default=SansSerif-13
This is the theme set that will appear when the user first enters chat, or when you haven't defined any themes.
The Themes menu allows the end user to select themes in the VolanoChat and MyVolanoChat applets. The text of the themes menu is defined by the following properties, shown with sample text:
text.menu.themes.title=Themes text.menu.themes.names=Plum | Desert | Marine | Pumpkin | Lime text.menu.themes.default=Standard
The themes are selected by index with the default font, background colors, and foreground colors used for any missing definitions. For example:
# Plum theme.1.color.background=#CC99CC theme.1.color.background.button=#EEEEEE theme.1.color.background.list=#FFCCFF theme.1.color.background.text=#FFCCFF theme.1.color.foreground.text.editable.inactive=#996699 theme.1.color.foreground.text.link=#330033
The properties, above, display in the Themes menu:
Figure 1: VolanoChat Themes menu.
When a theme is selected within a chat room, the settings will apply just to that room. When a theme is selected from the main VolanoChat applet window, the theme will propagate to all open windows.
Fonts can be specified with 3 parts: a font name, style, and size. If any part specified is not found on the client system, the applet will use the system default.
A range of themes come pre-defined in the client applet property files that ship with VolanoChat. These should give you some good ideas for creating your own. If you come up with any that you find particularly good, feel free to e-mail us at service@volano.com.
See also:
[7.1.2] Client Applet Properties File
![]() ![]() ![]() ![]() |
XHTML 1.0 | Table of Contents |