aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorKim F. Storm2003-03-21 22:56:52 +0000
committerKim F. Storm2003-03-21 22:56:52 +0000
commite080d3ebbf5823a103ff1f9c7614f05e55d91793 (patch)
tree2289a36a54a56d6edf18cb0b8d983a31701cf0ad /src/msdos.c
parent1853f74c1cede3a355e61ee504ec6289e0c58833 (diff)
downloademacs-e080d3ebbf5823a103ff1f9c7614f05e55d91793.tar.gz
emacs-e080d3ebbf5823a103ff1f9c7614f05e55d91793.zip
* xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords):
Add generic versions here. Remove system specific versions defined elsewhere.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 3ab3597b8ed..2c3d2837e4b 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -3500,31 +3500,7 @@ dos_keyread ()
3500} 3500}
3501 3501
3502#ifndef HAVE_X_WINDOWS 3502#ifndef HAVE_X_WINDOWS
3503/* See xterm.c for more info. */
3504void
3505pixel_to_glyph_coords (f, pix_x, pix_y, x, y, bounds, noclip)
3506 FRAME_PTR f;
3507 register int pix_x, pix_y, *x, *y;
3508 XRectangle *bounds;
3509 int noclip;
3510{
3511 if (bounds) abort ();
3512
3513 /* Ignore clipping. */
3514
3515 *x = pix_x;
3516 *y = pix_y;
3517}
3518 3503
3519void
3520glyph_to_pixel_coords (f, x, y, pix_x, pix_y)
3521 FRAME_PTR f;
3522 register int x, y, *pix_x, *pix_y;
3523{
3524 *pix_x = x;
3525 *pix_y = y;
3526}
3527
3528/* Simulation of X's menus. Nothing too fancy here -- just make it work 3504/* Simulation of X's menus. Nothing too fancy here -- just make it work
3529 for now. 3505 for now.
3530 3506