Mercurial > emacs
comparison src/xterm.h @ 50248:04d8f8a13cf8
(STORE_NATIVE_RECT): New macro.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 21 Mar 2003 23:00:21 +0000 |
parents | 20e4ebf5399d |
children | ff37be8c3a2a |
comparison
equal
deleted
inserted
replaced
50247:f9447a2e045c | 50248:04d8f8a13cf8 |
---|---|
1048 int x_text_icon P_ ((struct frame *, char *)); | 1048 int x_text_icon P_ ((struct frame *, char *)); |
1049 int x_bitmap_icon P_ ((struct frame *, Lisp_Object)); | 1049 int x_bitmap_icon P_ ((struct frame *, Lisp_Object)); |
1050 void x_set_window_size P_ ((struct frame *, int, int, int)); | 1050 void x_set_window_size P_ ((struct frame *, int, int, int)); |
1051 void x_wm_set_window_state P_ ((struct frame *, int)); | 1051 void x_wm_set_window_state P_ ((struct frame *, int)); |
1052 int x_alloc_nearest_color P_ ((struct frame *, Colormap, XColor *)); | 1052 int x_alloc_nearest_color P_ ((struct frame *, Colormap, XColor *)); |
1053 | |
1054 extern void pixel_to_glyph_coords P_ ((struct frame *, int, int, | |
1055 int *, int *, XRectangle *, int)); | |
1056 | 1053 |
1057 /* Defined in xterm.c */ | 1054 /* Defined in xterm.c */ |
1058 | 1055 |
1059 extern void cancel_mouse_face P_ ((struct frame *)); | 1056 extern void cancel_mouse_face P_ ((struct frame *)); |
1060 extern void x_scroll_bar_clear P_ ((struct frame *)); | 1057 extern void x_scroll_bar_clear P_ ((struct frame *)); |
1181 ((chp)->byte1) | 1178 ((chp)->byte1) |
1182 | 1179 |
1183 #define XCHAR2B_BYTE2(chp) \ | 1180 #define XCHAR2B_BYTE2(chp) \ |
1184 ((chp)->byte2) | 1181 ((chp)->byte2) |
1185 | 1182 |
1183 | |
1184 #define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight) \ | |
1185 ((nr).x = (rx), \ | |
1186 (nr).y = (ry), \ | |
1187 (nr).width = (rwidth), \ | |
1188 (nr).height = (rheight)) |