Mercurial > hg > xemacs-beta
annotate etc/toolbar/last-win-cap-up.xpm @ 4506:bd28481bb0e1
Port #'window-buffer-height, #'fit-window-to-buffer, & window, buf, functions.
lisp/ChangeLog addition:
2008-08-31 Aidan Kehoe <kehoea@parhasard.net>
* window.el (only-window-p): New.
Check if WINDOW is the only window in some context, normally its
frame.
(one-window-p):
Implemented this in terms of #'only-window-p, calling it on the
selected window.
(window-buffer-height): Uncomment this, make it work.
(count-screen-lines): Support a BUFFER argument.
(fit-window-to-buffer): Uncomment this, correct its implementation
to work with XEmacs.
* help.el (temp-buffer-resize-mode): New. Name taken from GNU,
implementation our own.
* (resize-temp-buffer-window): New. GNU-compatible alias for
#'shrink-window-if-larger-than-buffer.
* dumped-lisp.el (preloaded-file-list): Move easy-mmode before
help, now that the latter uses #'define-minor-mode.
* frame.el: Point to #'temp-buffer-resize-mode in a comment.
Some of this code is from GNU; help.el CVS version 1.327 of
2007-03-21, window.el CVS version 1.122, of 2007-06-24. Both these
are GPLV2 or later.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 31 Aug 2008 12:26:46 +0200 |
parents | 376386a54a3c |
children | 7910031dd78a |
rev | line source |
---|---|
0 | 1 /* XPM */ |
2 static char * last_win_xpm[] = { | |
3 "33 33 5 1", | |
4 " c Gray75 s backgroundToolBarColor", | |
5 ". c black", | |
6 "x c white", | |
7 "y c Gray90", | |
8 "z c Gray60", | |
9 " ", | |
10 " ........... ", | |
11 " .zzzz.zzzz. ", | |
12 " ...........z.zzzz. ", | |
13 " .yyyy.yyyy.z.zzzz. ", | |
14 " ...........y.yyyy.z.zzzz. ", | |
15 " .xxxx.xxxx.y.yyyy.z.zzzz. ", | |
16 " .xxxx.xxxx.y.yyyy........ ", | |
17 " .xxxx.xxxx.y.yyyy.z.zzzz. ", | |
18 " .xxxx.xxxx........z.zzzz. ", | |
19 " .xxxx.xxxx.y.yyyy.z.zzzz. ", | |
20 " ...........y.yyyy.z.zzzz. ", | |
21 " .xxxx.xxxx.y.yyyy.z.zzzz. ", | |
22 " .xxxx.xxxx.y.yyyy........ ", | |
23 " .xxxx.xxxx.y.yyyy. ", | |
24 " .xxxx.xxxx........ ", | |
25 " .xxxx.xxxx. ", | |
26 " ........... ", | |
27 " ", | |
28 " .. ", | |
29 " ... ", | |
30 " ................... ", | |
31 " ... ", | |
32 " .. ", | |
33 " . . ", | |
34 " . . ", | |
35 " . .. .. ... . . . . ... ", | |
36 " . . . . . . . . . .", | |
37 " . ... .. . ... . . . . . .", | |
38 " . . . . . . . . . .", | |
39 " .... .. ... . . . . . .", | |
40 " ", | |
41 " "}; |