gtk/pixmaps/smileys/THEMES-HOWTO

Sun, 20 May 2007 06:19:49 +0000

author
William Ehlhardt <williamehlhardt@gmail.com>
date
Sun, 20 May 2007 06:19:49 +0000
branch
gaim
changeset 20470
77693555855f
parent 4252
pixmaps/smileys/THEMES-HOWTO@06a5761c6d5c
parent 14253
pixmaps/smileys/THEMES-HOWTO@b63ebf84c42b
child 20471
1966704b3e42
permissions
-rw-r--r--

merge of 'b98e72d4089afb8a1879e5fe9627cfb132ee88de'
and 'b2836a24d81e7a1bd1d21b3aea8794b094391344'

4252
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
1 Gaim Smiley Themes Documentation
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
2 Sean M. Egan
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
3 5 Jan 2003
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
4
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
5 Version 0.60 of Gaim brings up all themable smileys. In the preferences dialog, a user can choose from a selection of looks his smileys will take. This guide is to serve as a reference to those interested in creating third-party smiley themes.
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
6
13822
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
7 Your theme should be contained in a single directory. This directory will be installed in the Gaim smiley theme directory ($HOME/.gaim/smileys/). This directory will contain a file called `theme' that specifies the theme metadata and image files that are used by the theme. The format of the `theme' file is as follows.
4252
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
8
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
9 The beginning of the file contains some metainformation about the theme in the format
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
10
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
11 Key=Value
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
12
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
13 Valid keys include:
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
14 Name - Name of the theme
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
15 Description - Description of the theme
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
16 Icon - An image used to represent the theme in the theme selector UI
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
17 Author - The author's name
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
18
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
19 Following this meta-information are "sml" groups. A "sml" group is a group of smileys that will be shown together. For example, each protocol has its own "sml" group (MSN, Yahoo, Gadu-Gadu, etc.). The name of the group is surrounded in square brackets, and each line beneath it (until the next sml group or the end of the file) defines a smiley.
13822
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
20 Each line of the group starts with a filename of the icon followed by a space-delimited list of the characters that represent it.
4252
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
21
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
22 Example:
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
23 [AIM/ICQ]
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
24 smiley.png :) :-)
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
25
06a5761c6d5c [gaim-migrate @ 4502]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
26 In the smiley selector UI, each icon will only be shown once, and the first string representing it will be used. To keep a smiley out of the selector altogether, make the first two characters of the line "! " followed by the filename and emoticons.
13822
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
27
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
28 As of 2.0.0beta2, spaces and backslashes in the "list of characters" (see above) must be escaped by prepending them with a backslash. For example, to define a smiley that is represented by ":-/" and ":-\", use:
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
29
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
30 [AIM/ICQ]
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
31 think.png :-/ :-\\
5e5a3db9ce6c [gaim-migrate @ 16252]
Richard Laager <rlaager@pidgin.im>
parents: 4252
diff changeset
32

mercurial