comparison lisp/msw-glyphs.el @ 265:8efd647ea9ca r20-5b31

Import from CVS: tag r20-5b31
author cvs
date Mon, 13 Aug 2007 10:25:37 +0200
parents
children 966663fcf606
comparison
equal deleted inserted replaced
264:682d2a9d41a5 265:8efd647ea9ca
1 ;;; msw-glyphs.el --- Support for glyphs in ms windows
2
3 ;; Copyright (C) 1994, 1997 Free Software Foundation, Inc.
4
5 ;; Author: Kirill M. Katsnelson <kkm@kis.ru>
6 ;; Maintainer: XEmacs Development Team
7 ;; Keywords: extensions, internal, dumped
8
9 ;; This file is part of XEmacs.
10
11 ;; XEmacs is free software; you can redistribute it and/or modify it
12 ;; under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
15
16 ;; XEmacs is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 ;; General Public License for more details.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with XEmacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
25
26 ;;; Synched up with: Not in FSF.
27
28 ;;; Commentary:
29
30 ;; This file contains temporary definitions for 'mswindows glyphs.
31 ;; Since there currently is no image support, the glyps are defined
32 ;; TTY-style. This file has to be removed or reworked completely
33 ;; when we have images.
34
35 ;; This file is dumped with XEmacs.
36
37 ;;; Code:
38
39 (eval-and-compile
40 (set-console-type-image-conversion-list
41 'mswindows
42 '(("^#define" [string :data "[xpm]"])
43 ("\\`X-Face:" [string :data "[xface]"])
44 ("\\`/\\* XPM \\*/" [string :data "[xpm]"])
45 ("\\`GIF87" [string :data "[gif]"])
46 ("\\`\377\330\340\000\020JFIF" [string :data "[jpeg]"])
47 ("" [string :data nil] 2)
48 ;; this last one is here for pointers and icons and such --
49 ;; strings are not allowed so they will be ignored.
50 ("" [nothing])))
51
52 ;; finish initializing truncation glyph -- created internally
53 ;; because it has a built-in bitmap
54 (set-glyph-image truncation-glyph "$" 'global 'mswindows)
55
56 ;; finish initializing continuation glyph -- created internally
57 ;; because it has a built-in bitmap
58 (set-glyph-image continuation-glyph "\\" 'global 'mswindows)
59
60 ;; finish initializing hscroll glyph -- created internally
61 ;; because it has a built-in bitmap
62 (set-glyph-image hscroll-glyph "$" 'global 'mswindows)
63
64 (set-glyph-image octal-escape-glyph "\\")
65 (set-glyph-image control-arrow-glyph "^")
66 (set-glyph-image invisible-text-glyph " ...")
67
68 (set-glyph-image xemacs-logo
69 "XEmacs <Images support is due in 20.6!>"
70 'global 'mswindows)
71 )
72
73 ;;; msw-glyphs.el ends here