view src/w32inevt.h @ 11654:47ceabade5b2

(kbd_buffer_get_event): New arg USED_MOUSE_MENU. [USE_X_TOOLKIT]: Set *USED_MOUSE_MENU if returning menu-bar symbols. (read_char): Pass used_mouse_menu to kbd_buffer_get_event. This variable is now meaningful for toolkit menus as well as non-toolkit menus.
author Karl Heuer <kwzh@gnu.org>
date Tue, 02 May 1995 04:41:26 +0000
parents b2d5260a5da0
children ee40177f6c68
line wrap: on
line source

/* Win32 input routines.
   Copyright (C) 1995 Free Software Foundation, Inc.

   This file is part of GNU Emacs.

   GNU Emacs is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   GNU Emacs is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with GNU Emacs; see the file COPYING.  If not, write to
   the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */

#ifndef __NTINEVT_H__
#define __NTINEVT_H__

int win32_read_socket (/* int sd, struct input_event *bufp, int numchars,
			  int waitp, int expected */);
void win32_mouse_position (/* FRAME_PTR *f,
			      Lisp_Object *bar_window,
			      enum scroll_bar_part *part,
			      Lisp_Object *x,
			      Lisp_Object *y,
			      unsigned long *time */);

#endif