comparison lisp/msw-glyphs.el @ 267:966663fcf606 r20-5b32

Import from CVS: tag r20-5b32
author cvs
date Mon, 13 Aug 2007 10:26:29 +0200
parents 8efd647ea9ca
children c5d627a313b1
comparison
equal deleted inserted replaced
266:18d185df8c54 267:966663fcf606
34 34
35 ;; This file is dumped with XEmacs. 35 ;; This file is dumped with XEmacs.
36 36
37 ;;; Code: 37 ;;; Code:
38 38
39 (eval-and-compile 39 (progn
40 (set-console-type-image-conversion-list 40 (set-console-type-image-conversion-list
41 'mswindows 41 'mswindows
42 '(("^#define" [string :data "[xpm]"]) 42 `(("\\.bmp\\'" [bmp :file nil] 2)
43 ("\\`BM" [bmp :data nil] 2)
44 ,@(if (featurep 'xpm) '(("\\.xpm\\'" [xpm :file nil] 2)))
45 ,@(if (featurep 'xpm) '(("\\`/\\* XPM \\*/" [xpm :data nil] 2)))
46 ; ,@(if (featurep 'xface) '(("\\`X-Face:" [xface :data nil] 2)))
47 ; ,@(if (featurep 'gif) '(("\\.gif\\'" [gif :file nil] 2)
48 ; ("\\`GIF8[79]" [gif :data nil] 2)))
49 ; ,@(if (featurep 'jpeg) '(("\\.jpe?g\\'" [jpeg :file nil] 2)))
50 ; ;; all of the JFIF-format JPEG's that I've seen begin with
51 ; ;; the following. I have no idea if this is standard.
52 ; ,@(if (featurep 'jpeg) '(("\\`\377\330\377\340\000\020JFIF"
53 ; [jpeg :data nil] 2)))
54 ; ,@(if (featurep 'png) '(("\\.png\\'" [png :file nil] 2)))
55 ; ,@(if (featurep 'png) '(("\\`\211PNG" [png :data nil] 2)))
43 ("\\`X-Face:" [string :data "[xface]"]) 56 ("\\`X-Face:" [string :data "[xface]"])
44 ("\\`/\\* XPM \\*/" [string :data "[xpm]"]) 57 ("\\`/\\* XPM \\*/" [string :data "[xpm]"])
45 ("\\`GIF87" [string :data "[gif]"]) 58 ("\\`GIF87" [string :data "[gif]"])
46 ("\\`\377\330\340\000\020JFIF" [string :data "[jpeg]"]) 59 ("\\`\377\330\340\000\020JFIF" [string :data "[jpeg]"])
47 ("" [string :data nil] 2) 60 ("" [string :data nil] 2)
48 ;; this last one is here for pointers and icons and such -- 61 ;; this last one is here for pointers and icons and such --
49 ;; strings are not allowed so they will be ignored. 62 ;; strings are not allowed so they will be ignored.
50 ("" [nothing]))) 63 ("" [nothing])))
51 64
52 ;; finish initializing truncation glyph -- created internally
53 ;; because it has a built-in bitmap
54 (set-glyph-image truncation-glyph "$" 'global 'mswindows) 65 (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) 66 (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) 67 (set-glyph-image hscroll-glyph "$" 'global 'mswindows)
63 68
64 (set-glyph-image octal-escape-glyph "\\") 69 (set-glyph-image octal-escape-glyph "\\")
65 (set-glyph-image control-arrow-glyph "^") 70 (set-glyph-image control-arrow-glyph "^")
66 (set-glyph-image invisible-text-glyph " ...") 71 (set-glyph-image invisible-text-glyph " ...")
67 72
68 (set-glyph-image xemacs-logo 73 (cond ((featurep 'xpm)
69 "XEmacs <Images support is due in 20.6!>" 74 (set-glyph-image xemacs-logo
70 'global 'mswindows) 75 (concat "../etc/"
76 (if emacs-beta-version
77 "xemacs-beta.xpm"
78 "xemacs.xpm"))
79 'global 'mswindows))
80 (t
81 (set-glyph-image xemacs-logo
82 "XEmacs <insert spiffy graphic logo here>"
83 'global 'mswindows)))
71 ) 84 )
72 85
73 ;;; msw-glyphs.el ends here 86 ;;; msw-glyphs.el ends here