ToolTip
From TrillWiki
The tooltip control is for the systray alerts. This control is needed in skins for Trillian 1.0 or higher.
The first part of the control sets a few options:
<settings name="topMargin" value=""/> <settings name="leftMargin" value=""/> <settings name="rightMargin" value=""/> <settings name="bottomMargin" value=""/> <settings name="alignment" value=""/>
The margin settings set the padding from the edge of the control to the area where the text will be displayed. The alignment (of the text) can be left, right or center
You can also set a background colo(u)r, some text colo(u)rs, and the font settings:
<font source="font name" type="type" size=""/> <color name="background" red="" green="" blue=""/> <color name="foreground" red="" green="" blue=""/> <color name="link" red="" green="" blue=""/> <color name="link-click" red="" green="" blue=""/>
Finally, you can choose to skin so icons to go with the text. These icons use the basic format:
<background name="name"> <source name="bitmap name" left="" right="" top="" bottom=""/> <rect> <left num="" width=""/> <right num="" width=""/> <top num="" height=""/> <bottom num="" height=""/> </rect> </background>
Where the <source> stuff is standard source and rect code.
The basic backgrounds are:
- contact
- metacontact (Pro 2.0)
- password-fail (Pro 2.0)
- trillian-update (Pro 2.0)
- plugin-update (Pro 2.0)
- web
- music
- stocks-up
- stocks-down
- aim-systray-mail
- aim-systray-status
- aim-systray-contactalert
- aim-systray-messagealert (Pro 2.0)
- icq-systray-mail
- icq-systray-status
- icq-systray-contactalert
- icq-systray-messagealert (Pro 2.0)
- irc-systray-messagealert (Pro 2.0)
- msn-systray-mail
- msn-systray-status
- msn-systray-contactalert
- msn-systray-messagealert (Pro 2.0)
- msn-systray-webcam-invite (Pro 2.0)
- yahoo-systray-mail
- yahoo-systray-status
- yahoo-systray-contactalert
- yahoo-systray-messagealert (Pro 2.0)
- yahoo-systray-webcam-invite (Pro 2.0)
- jabber-systray-mail (Pro 2.0)
- jabber-systray-status (Pro 2.0)
- jabber-systray-contactalert (Pro 2.0)
- jabber-systray-messagealert (Pro 2.0)
- irc-systray-status (Pro 2.0)
You may add any additional backgrounds you choose, and they will be available for use in plugins. More background names will be added as they become standard in plugins. Currently, no plugins make use of anything other than the basic backgrounds listed above.
