diff options
| author | Chong Yidong | 2008-09-18 18:18:43 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-09-18 18:18:43 +0000 |
| commit | b532986efa10729b213c4e45c9b7d79854f7ce15 (patch) | |
| tree | 339a02bd1c0ce6aa190c95313d1f252e7a67b2b1 | |
| parent | b89c78a5b76d28afdcd04cd6850fbcf731d7a86f (diff) | |
| download | emacs-b532986efa10729b213c4e45c9b7d79854f7ce15.tar.gz emacs-b532986efa10729b213c4e45c9b7d79854f7ce15.zip | |
(ns_display_info): Remove `height' and `width' members.
| -rw-r--r-- | src/nsterm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nsterm.h b/src/nsterm.h index 97db10ce338..e3a3478e713 100644 --- a/src/nsterm.h +++ b/src/nsterm.h | |||
| @@ -502,8 +502,7 @@ struct ns_display_info | |||
| 502 | 502 | ||
| 503 | struct ns_color_table *color_table; | 503 | struct ns_color_table *color_table; |
| 504 | 504 | ||
| 505 | /* 23: Dimensions and DPI resolution of this screen */ | 505 | /* 23: DPI resolution of this screen */ |
| 506 | int height, width; | ||
| 507 | double resx, resy; | 506 | double resx, resy; |
| 508 | 507 | ||
| 509 | /* 23: Mask of things that cause the mouse to be grabbed */ | 508 | /* 23: Mask of things that cause the mouse to be grabbed */ |
| @@ -802,6 +801,9 @@ extern unsigned long ns_get_pixel (void *img, int x, int y); | |||
| 802 | extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); | 801 | extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); |
| 803 | extern void ns_set_alpha (void *img, int x, int y, unsigned char a); | 802 | extern void ns_set_alpha (void *img, int x, int y, unsigned char a); |
| 804 | 803 | ||
| 804 | extern int x_display_pixel_height P_ ((struct ns_display_info *)); | ||
| 805 | extern int x_display_pixel_width P_ ((struct ns_display_info *)); | ||
| 806 | |||
| 805 | /* This in nsterm.m */ | 807 | /* This in nsterm.m */ |
| 806 | extern unsigned long ns_get_rgb_color (struct frame *f, | 808 | extern unsigned long ns_get_rgb_color (struct frame *f, |
| 807 | float r, float g, float b, float a); | 809 | float r, float g, float b, float a); |