gecko-dev/cmd/qtfe/icons
cls%seawood.org a69406cada Added realclean target. 1998-09-27 01:30:07 +00:00
..
images Adding QtMozilla to repository (qtfe). 1998-09-25 18:04:00 +00:00
Makefile Adding QtMozilla to repository (qtfe). 1998-09-25 18:04:00 +00:00
Makefile.in Added realclean target. 1998-09-27 01:30:07 +00:00
README Adding QtMozilla to repository (qtfe). 1998-09-25 18:04:00 +00:00

README

# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL.  You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation.  Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation.  All Rights
# Reserved.
#
---
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