diff options
| author | YAMAMOTO Mitsuharu | 2005-07-18 05:41:03 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-07-18 05:41:03 +0000 |
| commit | e81a5b61b18fefb01b134ca12640c15502700e6d (patch) | |
| tree | c511163a54390db8e4590e6f4f8bebd861c95baa /src | |
| parent | e4f5e01926ad4b189f60f6b793dd1d90164b582e (diff) | |
| download | emacs-e81a5b61b18fefb01b134ca12640c15502700e6d.tar.gz emacs-e81a5b61b18fefb01b134ca12640c15502700e6d.zip | |
(struct mac_display_info): Change types of scratch_cursor_gc
black_relief.gc, and white_relief.gc to GC.
(XCreateGC, XParseGeometry): Move externs from macgui.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macterm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/macterm.h b/src/macterm.h index f0846b10fa4..71cd4db82c0 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -149,7 +149,7 @@ struct mac_display_info | |||
| 149 | int smallest_font_height; | 149 | int smallest_font_height; |
| 150 | 150 | ||
| 151 | /* Reusable Graphics Context for drawing a cursor in a non-default face. */ | 151 | /* Reusable Graphics Context for drawing a cursor in a non-default face. */ |
| 152 | XGCValues *scratch_cursor_gc; | 152 | GC scratch_cursor_gc; |
| 153 | 153 | ||
| 154 | /* These variables describe the range of text currently shown in its | 154 | /* These variables describe the range of text currently shown in its |
| 155 | mouse-face, together with the window they apply to. As long as | 155 | mouse-face, together with the window they apply to. As long as |
| @@ -388,7 +388,7 @@ struct mac_output { | |||
| 388 | /* Relief GCs, colors etc. */ | 388 | /* Relief GCs, colors etc. */ |
| 389 | struct relief | 389 | struct relief |
| 390 | { | 390 | { |
| 391 | XGCValues *gc; | 391 | GC gc; |
| 392 | unsigned long pixel; | 392 | unsigned long pixel; |
| 393 | int allocated_p; | 393 | int allocated_p; |
| 394 | } | 394 | } |
| @@ -601,6 +601,8 @@ EXFUN (Fx_display_color_p, 1); | |||
| 601 | EXFUN (Fx_display_grayscale_p, 1); | 601 | EXFUN (Fx_display_grayscale_p, 1); |
| 602 | EXFUN (Fx_display_planes, 1); | 602 | EXFUN (Fx_display_planes, 1); |
| 603 | extern void x_free_gcs P_ ((struct frame *)); | 603 | extern void x_free_gcs P_ ((struct frame *)); |
| 604 | extern int XParseGeometry P_ ((char *, int *, int *, unsigned int *, | ||
| 605 | unsigned int *)); | ||
| 604 | 606 | ||
| 605 | /* Defined in macterm.c. */ | 607 | /* Defined in macterm.c. */ |
| 606 | 608 | ||
| @@ -614,6 +616,7 @@ extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *, | |||
| 614 | unsigned long, unsigned long, | 616 | unsigned long, unsigned long, |
| 615 | unsigned int)); | 617 | unsigned int)); |
| 616 | extern void XFreePixmap P_ ((Display *, Pixmap)); | 618 | extern void XFreePixmap P_ ((Display *, Pixmap)); |
| 619 | extern GC XCreateGC P_ ((Display *, Window, unsigned long, XGCValues *)); | ||
| 617 | extern void XSetForeground P_ ((Display *, GC, unsigned long)); | 620 | extern void XSetForeground P_ ((Display *, GC, unsigned long)); |
| 618 | extern void XSetBackground P_ ((Display *, GC, unsigned long)); | 621 | extern void XSetBackground P_ ((Display *, GC, unsigned long)); |
| 619 | extern void XSetWindowBackground P_ ((Display *, WindowPtr, unsigned long)); | 622 | extern void XSetWindowBackground P_ ((Display *, WindowPtr, unsigned long)); |