1/*
| 1/*
|
2 * $Id: mousewget.c,v 1.25 2019/07/25 00:06:38 tom Exp $
| 2 * $Id: mousewget.c,v 1.26 2022/04/03 22:39:39 tom Exp $
|
3 * 4 * mousewget.c -- mouse/wgetch support for dialog 5 *
| 3 * 4 * mousewget.c -- mouse/wgetch support for dialog 5 *
|
6 * Copyright 2000-2017,2019 Thomas E. Dickey
| 6 * Copyright 2000-2019,2022 Thomas E. Dickey
|
7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License, version 2.1 10 * as published by the Free Software Foundation. 11 * 12 * This program is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this program; if not, write to 19 * Free Software Foundation, Inc. 20 * 51 Franklin St., Fifth Floor 21 * Boston, MA 02110, USA. 22 */ 23
| 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License, version 2.1 10 * as published by the Free Software Foundation. 11 * 12 * This program is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this program; if not, write to 19 * Free Software Foundation, Inc. 20 * 51 Franklin St., Fifth Floor 21 * Boston, MA 02110, USA. 22 */ 23
|
24#include <dialog.h>
| 24#include <dlg_internals.h>
|
25#include <dlg_keys.h> 26 27static int 28mouse_wgetch(WINDOW *win, int *fkey, bool ignore_errs) 29{ 30 int mouse_err = FALSE; 31 int key; 32
--- 64 unchanged lines hidden --- | 25#include <dlg_keys.h> 26 27static int 28mouse_wgetch(WINDOW *win, int *fkey, bool ignore_errs) 29{ 30 int mouse_err = FALSE; 31 int key; 32
--- 64 unchanged lines hidden --- |