aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnu.h
diff options
context:
space:
mode:
authorChong Yidong2005-11-16 16:38:48 +0000
committerChong Yidong2005-11-16 16:38:48 +0000
commit9f7b984baef1351ccd203ddfcad11fa574931a1c (patch)
tree2f34225ff32a446b9fdca91280dd179e2e69809f /src/gnu.h
parent5cb35db59310dfa9ee60cb07772def32576668a8 (diff)
downloademacs-9f7b984baef1351ccd203ddfcad11fa574931a1c.tar.gz
emacs-9f7b984baef1351ccd203ddfcad11fa574931a1c.zip
* xfns.c (xg_set_icon_from_xpm_data): New function.
* gnu.h (gnu_xpm_bits): Renamed from gnu_bits. (gnu_xbm_bits): Renamed from gnu_bits (xbm version). * xterm.c (x_bitmap_icon): Use the xpm if available.
Diffstat (limited to 'src/gnu.h')
-rw-r--r--src/gnu.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gnu.h b/src/gnu.h
index 2f3bb4c7e51..dbf47317493 100644
--- a/src/gnu.h
+++ b/src/gnu.h
@@ -1,5 +1,5 @@
1#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) 1#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)
2static char * gnu_bits[] = { 2static char * gnu_xpm_bits[] = {
3"32 32 173 2", 3"32 32 173 2",
4" c None", 4" c None",
5". c #67627D", 5". c #67627D",
@@ -206,10 +206,11 @@ static char * gnu_bits[] = {
206" P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P. ", 206" P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P. ",
207" ", 207" ",
208" "}; 208" "};
209#else 209#endif /* defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) */
210#define gnu_width 50 210
211#define gnu_height 50 211#define gnu_xbm_width 50
212static unsigned char gnu_bits[] = { 212#define gnu_xbm_height 50
213static unsigned char gnu_xbm_bits[] = {
213 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 214 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
214 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 215 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
215 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 216 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00,
@@ -240,7 +241,6 @@ static unsigned char gnu_bits[] = {
240 0xf8, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0x02, 0x00, 0x00, 0x00, 241 0xf8, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0x02, 0x00, 0x00, 0x00,
241 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 242 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
242 0x00, 0x00}; 243 0x00, 0x00};
243#endif
244 244
245/* arch-tag: b57020c7-c937-4d77-8ca6-3875178d9828 245/* arch-tag: b57020c7-c937-4d77-8ca6-3875178d9828
246 (do not change this comment) */ 246 (do not change this comment) */