aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-09-18 18:18:43 +0000
committerChong Yidong2008-09-18 18:18:43 +0000
commitb532986efa10729b213c4e45c9b7d79854f7ce15 (patch)
tree339a02bd1c0ce6aa190c95313d1f252e7a67b2b1
parentb89c78a5b76d28afdcd04cd6850fbcf731d7a86f (diff)
downloademacs-b532986efa10729b213c4e45c9b7d79854f7ce15.tar.gz
emacs-b532986efa10729b213c4e45c9b7d79854f7ce15.zip
(ns_display_info): Remove `height' and `width' members.
-rw-r--r--src/nsterm.h6
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);
802extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); 801extern void ns_put_pixel (void *img, int x, int y, unsigned long argb);
803extern void ns_set_alpha (void *img, int x, int y, unsigned char a); 802extern void ns_set_alpha (void *img, int x, int y, unsigned char a);
804 803
804extern int x_display_pixel_height P_ ((struct ns_display_info *));
805extern int x_display_pixel_width P_ ((struct ns_display_info *));
806
805/* This in nsterm.m */ 807/* This in nsterm.m */
806extern unsigned long ns_get_rgb_color (struct frame *f, 808extern 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);