gecko-dev/cmd/xfe/icons/README

67 строки
2.1 KiB
Plaintext

# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
---
To add an icon to the build, add the file into the images directory.
The file will automatically be picked up into the build.
---
The images directory is only for icons that are actually built into the
client as icons. That means:
o No random GIF files that will not become icons
o No unused icons unless they will eventually be incorporated into
the client.
If you don't follow these rules, the client will end up reserving too
many colors for icons.
File suffix What it all really means
----------- ------------------------
Foo.gif Normal
Foo.i.gif Insensitive (disabled)
Foo.mo.gif Mouse-over (highlighted)
Foo.md.gif Mouse-down (pushed)
FooO.gif Open (no 'O' means closed)
_MAC.Foo.gif Conditionally compiled (see comment in mkicons.c/icondata.c)
Transparency:
Transparency color is magenta [255, 0, 255]
The gif file itself knows how to designate a color
as transparent; use giftrans to set this color:
giftrans -t #ff00ff -o newGif.gif oldGif.gif
giftrans is PD software:
/usr/local-irix/bin/giftrans
/u/mcafee/utilities/SunOS5.4/bin/giftrans
/u/mcafee/utilities/src/giftrans.c
[or go get it with Archie]
File Prefixes:
BM = Bookmarks
TB = Toolbar (Browser)
MN = Mail/News
MNTB = Mail/News toolbar
MNAB = Mail/News address book
MNC = Mail/News compose