From: Chong Yidong Date: Thu, 18 Sep 2008 18:18:43 +0000 (+0000) Subject: (ns_display_info): Remove `height' and `width' members. X-Git-Tag: emacs-pretest-23.0.90~2857 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b532986efa10729b213c4e45c9b7d79854f7ce15;p=emacs.git (ns_display_info): Remove `height' and `width' members. --- 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 struct ns_color_table *color_table; - /* 23: Dimensions and DPI resolution of this screen */ - int height, width; + /* 23: DPI resolution of this screen */ double resx, resy; /* 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); extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); extern void ns_set_alpha (void *img, int x, int y, unsigned char a); +extern int x_display_pixel_height P_ ((struct ns_display_info *)); +extern int x_display_pixel_width P_ ((struct ns_display_info *)); + /* This in nsterm.m */ extern unsigned long ns_get_rgb_color (struct frame *f, float r, float g, float b, float a);