comparison src/dispextern.h @ 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 a27390a84360
children 9d12856db185
comparison
equal deleted inserted replaced
97042:0ac199626cb9 97043:9592c50233ab
57 #ifdef HAVE_NTGUI 57 #ifdef HAVE_NTGUI
58 #include "w32gui.h" 58 #include "w32gui.h"
59 typedef struct w32_display_info Display_Info; 59 typedef struct w32_display_info Display_Info;
60 typedef XImage *XImagePtr; 60 typedef XImage *XImagePtr;
61 typedef HDC XImagePtr_or_DC; 61 typedef HDC XImagePtr_or_DC;
62 #endif
63
64 #ifdef MAC_OS
65 #include "macgui.h"
66 typedef struct mac_display_info Display_Info;
67 /* Mac equivalent of XImage. */
68 typedef Pixmap XImagePtr;
69 typedef XImagePtr XImagePtr_or_DC;
70 #endif 62 #endif
71 63
72 #ifdef HAVE_NS 64 #ifdef HAVE_NS
73 #include "nsgui.h" 65 #include "nsgui.h"
74 /* following typedef needed to accomodate the MSDOS port, believe it or not */ 66 /* following typedef needed to accomodate the MSDOS port, believe it or not */
1218 padding_p set, and thus must be drawn one by one to have 1-pixel 1210 padding_p set, and thus must be drawn one by one to have 1-pixel
1219 width even though the logical width in the font is zero. */ 1211 width even though the logical width in the font is zero. */
1220 unsigned padding_p : 1; 1212 unsigned padding_p : 1;
1221 1213
1222 /* The GC to use for drawing this glyph string. */ 1214 /* The GC to use for drawing this glyph string. */
1223 #if defined(HAVE_X_WINDOWS) || defined(MAC_OS) 1215 #if defined(HAVE_X_WINDOWS)
1224 GC gc; 1216 GC gc;
1225 #endif 1217 #endif
1226 #if defined(HAVE_NTGUI) 1218 #if defined(HAVE_NTGUI)
1227 XGCValues *gc; 1219 XGCValues *gc;
1228 HDC hdc; 1220 HDC hdc;
2812 2804
2813 #ifdef WINDOWSNT 2805 #ifdef WINDOWSNT
2814 void w32_init_fringe P_ ((struct redisplay_interface *)); 2806 void w32_init_fringe P_ ((struct redisplay_interface *));
2815 void w32_reset_fringes P_ ((void)); 2807 void w32_reset_fringes P_ ((void));
2816 #endif 2808 #endif
2817 #ifdef MAC_OS
2818 void mac_init_fringe P_ ((struct redisplay_interface *));
2819 #endif
2820
2821 /* Defined in image.c */ 2809 /* Defined in image.c */
2822 2810
2823 #ifdef HAVE_WINDOW_SYSTEM 2811 #ifdef HAVE_WINDOW_SYSTEM
2824 2812
2825 extern int x_bitmap_height P_ ((struct frame *, int)); 2813 extern int x_bitmap_height P_ ((struct frame *, int));
2920 #ifdef HAVE_X_WINDOWS 2908 #ifdef HAVE_X_WINDOWS
2921 void gamma_correct P_ ((struct frame *, XColor *)); 2909 void gamma_correct P_ ((struct frame *, XColor *));
2922 #endif 2910 #endif
2923 #ifdef WINDOWSNT 2911 #ifdef WINDOWSNT
2924 void gamma_correct P_ ((struct frame *, COLORREF *)); 2912 void gamma_correct P_ ((struct frame *, COLORREF *));
2925 #endif
2926 #ifdef MAC_OS
2927 void gamma_correct P_ ((struct frame *, unsigned long *));
2928 #endif 2913 #endif
2929 2914
2930 #ifdef HAVE_WINDOW_SYSTEM 2915 #ifdef HAVE_WINDOW_SYSTEM
2931 2916
2932 int x_screen_planes P_ ((struct frame *)); 2917 int x_screen_planes P_ ((struct frame *));