Mercurial > emacs
diff src/msdos.c @ 50247:f9447a2e045c
* xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords):
Add generic versions here. Remove system specific versions
defined elsewhere.
| author | Kim F. Storm <storm@cua.dk> |
|---|---|
| date | Fri, 21 Mar 2003 22:56:52 +0000 |
| parents | 39746533995d |
| children | df6e2df16eb0 |
line wrap: on
line diff
--- a/src/msdos.c Fri Mar 21 22:55:56 2003 +0000 +++ b/src/msdos.c Fri Mar 21 22:56:52 2003 +0000 @@ -3500,31 +3500,7 @@ } #ifndef HAVE_X_WINDOWS -/* See xterm.c for more info. */ -void -pixel_to_glyph_coords (f, pix_x, pix_y, x, y, bounds, noclip) - FRAME_PTR f; - register int pix_x, pix_y, *x, *y; - XRectangle *bounds; - int noclip; -{ - if (bounds) abort (); - - /* Ignore clipping. */ - - *x = pix_x; - *y = pix_y; -} - -void -glyph_to_pixel_coords (f, x, y, pix_x, pix_y) - FRAME_PTR f; - register int x, y, *pix_x, *pix_y; -{ - *pix_x = x; - *pix_y = y; -} - + /* Simulation of X's menus. Nothing too fancy here -- just make it work for now.
