annotate lisp/toolbar/home.xpm @ 47587:7e861822d947

(gamegrid-face): new variable to emulate a buffer-local default face. (gamegrid-xbm): new variable; XBM image as a replacement for `gamegrid-xpm' on Emacsen compiled without XPM-support. (gamegrid-colorize-glyph): Ported XEmacs-code for the generation of images to Emacs. (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to convert XEmacs-type image descriptors. (gamegrid-color-display-p): Removed. (Use `display-colors-p' instead.) (gamegrid-make-image-from-vector): New function. Convert XEmacs' image descriptors. (gamegrid-display-type): Use Emacs' standard `display-.*-p' functions to check for display capabilities. Fix the recognition of image-support in Emacs 21 by this way. (gamegrid-hide-cursor): Removed. (gamegrid-setup-default-font): Ported the code from XEmacs to Emacs: create a new face and assign the variable `gamegrid-face' to it. Make sure that the face is not higher than the smallest image used by the game. (gamegrid-initialize-display): Use `(setq cursor-type nil)' instead of `gamegrid-hide-cursor'. (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an image in the buffer, instead of applying a face. (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put the face held by `gamegrid-face' in an overlay over the whole buffer to emulate a buffer-local default-face.
author Richard M. Stallman <rms@gnu.org>
date Mon, 23 Sep 2002 16:03:03 +0000
parents 54d90c318dfd
children 734ff40978ad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32287
9d63959616b7 *** empty log message ***
Dave Love <fx@gnu.org>
parents:
diff changeset
1 /* XPM */
32519
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
2 static char * home_xpm[] = {
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
3 "24 24 9 1",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
4 " c None",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
5 ". c #020202",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
6 "+ c #6C7962",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
7 "@ c #7A8A6E",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
8 "# c #FEFEFE",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
9 "$ c #7E8E76",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
10 "% c #82927A",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
11 "& c #C8CEC4",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
12 "* c #E3E7E1",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
13 " ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
14 " ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
15 " ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
16 " ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
17 " . ... ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
18 " .#. .&. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
19 " .#*%..&. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
20 " .##&&$.&. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
21 " .##&&&&$&. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
22 " .*#&&&&&&@. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
23 " .##&&&&&&&&+. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
24 " .###&&&&&&&&&+. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
25 " ...##&&&&&&&&+... ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
26 " .##&&&&&&&&+. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
27 " .##....&&&&+. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
28 " .##.&&.&&&&+. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
29 " .##.&&.&&&&+. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
30 " .#*.&&.&&&&+. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
31 " .&+.++.+++++. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
32 " ............. ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
33 " ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
34 " ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
35 " ",
54d90c318dfd Re-convert from full-color version (using the Gimp) to eliminate
Miles Bader <miles@gnu.org>
parents: 32452
diff changeset
36 " "};