Mercurial > emacs
comparison src/fringe.c @ 97043:9592c50233ab remove-carbon
Remove support for Mac Carbon.
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon
* erc.el: Remove code for Carbon.
Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.
Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.
* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.
* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.
* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.
* xresources.texi: Remove mentions of Mac Carbon.
* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.
Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL: Remove code for Carbon.
* configure: Regenerate.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 27 Jul 2008 18:24:48 +0000 |
parents | d45acf0c8d23 |
children | e038c1a8307c |
comparison
equal
deleted
inserted
replaced
97042:0ac199626cb9 | 97043:9592c50233ab |
---|---|
1372 *bits++ = (b >> (16 - fb->width)); | 1372 *bits++ = (b >> (16 - fb->width)); |
1373 } | 1373 } |
1374 } | 1374 } |
1375 #endif /* HAVE_X_WINDOWS */ | 1375 #endif /* HAVE_X_WINDOWS */ |
1376 | 1376 |
1377 #if defined (MAC_OS) && defined (WORDS_BIG_ENDIAN) | |
1378 unsigned short *bits = fb->bits; | |
1379 int j; | |
1380 for (j = 0; j < fb->height; j++) | |
1381 { | |
1382 unsigned short b = *bits; | |
1383 *bits++ = ((b >> 8) & 0xff) | ((b & 0xff) << 8); | |
1384 } | |
1385 #endif /* MAC_OS && WORDS_BIG_ENDIAN */ | |
1386 } | 1377 } |
1387 | 1378 |
1388 if (!once_p) | 1379 if (!once_p) |
1389 { | 1380 { |
1390 /* XXX Is SELECTED_FRAME OK here? */ | 1381 /* XXX Is SELECTED_FRAME OK here? */ |
1694 fringe_bitmaps[i] = NULL; | 1685 fringe_bitmaps[i] = NULL; |
1695 fringe_faces[i] = Qnil; | 1686 fringe_faces[i] = Qnil; |
1696 } | 1687 } |
1697 } | 1688 } |
1698 | 1689 |
1699 #if defined (HAVE_NTGUI) || defined (MAC_OS) | 1690 #ifdef HAVE_NTGUI |
1700 | 1691 |
1701 void | 1692 void |
1702 #ifdef HAVE_NTGUI | 1693 w32_init_fringe (struct redisplay_interface *rif) |
1703 w32_init_fringe (rif) | |
1704 #else /* MAC_OS */ | |
1705 mac_init_fringe (rif) | |
1706 #endif | |
1707 struct redisplay_interface *rif; | |
1708 { | 1694 { |
1709 int bt; | 1695 int bt; |
1710 | 1696 |
1711 if (!rif) | 1697 if (!rif) |
1712 return; | 1698 return; |
1715 { | 1701 { |
1716 struct fringe_bitmap *fb = &standard_bitmaps[bt]; | 1702 struct fringe_bitmap *fb = &standard_bitmaps[bt]; |
1717 rif->define_fringe_bitmap (bt, fb->bits, fb->height, fb->width); | 1703 rif->define_fringe_bitmap (bt, fb->bits, fb->height, fb->width); |
1718 } | 1704 } |
1719 } | 1705 } |
1720 #endif | 1706 |
1721 | |
1722 #ifdef HAVE_NTGUI | |
1723 void | 1707 void |
1724 w32_reset_fringes () | 1708 w32_reset_fringes () |
1725 { | 1709 { |
1726 /* Destroy row bitmaps. */ | 1710 /* Destroy row bitmaps. */ |
1727 int bt; | 1711 int bt; |