aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/ncurses/base/lib_mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/ncurses/base/lib_mouse.c')
-rw-r--r--contrib/ncurses/ncurses/base/lib_mouse.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/contrib/ncurses/ncurses/base/lib_mouse.c b/contrib/ncurses/ncurses/base/lib_mouse.c
index 3b8563503979..01d3057f03ab 100644
--- a/contrib/ncurses/ncurses/base/lib_mouse.c
+++ b/contrib/ncurses/ncurses/base/lib_mouse.c
@@ -84,7 +84,7 @@
#endif
#endif
-MODULE_ID("$Id: lib_mouse.c,v 1.55 2000/10/10 00:07:28 Ilya.Zakharevich Exp $")
+MODULE_ID("$Id: lib_mouse.c,v 1.57 2000/12/10 02:43:27 tom Exp $")
#define MY_TRACE TRACE_ICALLS|TRACE_IEVENT
@@ -863,7 +863,7 @@ _nc_mouse_resume(SCREEN * sp GCC_UNUSED)
*
**************************************************************************/
-int
+NCURSES_EXPORT(int)
getmouse(MEVENT * aevent)
/* grab a copy of the current mouse event */
{
@@ -886,7 +886,7 @@ getmouse(MEVENT * aevent)
returnCode(ERR);
}
-int
+NCURSES_EXPORT(int)
ungetmouse(MEVENT * aevent)
/* enqueue a synthesized mouse event to be seen by the next wgetch() */
{
@@ -900,7 +900,7 @@ ungetmouse(MEVENT * aevent)
return ungetch(KEY_MOUSE);
}
-mmask_t
+NCURSES_EXPORT(mmask_t)
mousemask(mmask_t newmask, mmask_t * oldmask)
/* set the mouse event mask */
{
@@ -933,7 +933,7 @@ mousemask(mmask_t newmask, mmask_t * oldmask)
returnCode(result);
}
-bool
+NCURSES_EXPORT(bool)
wenclose(const WINDOW *win, int y, int x)
/* check to see if given window encloses given screen location */
{
@@ -947,7 +947,7 @@ wenclose(const WINDOW *win, int y, int x)
return FALSE;
}
-int
+NCURSES_EXPORT(int)
mouseinterval(int maxclick)
/* set the maximum mouse interval within which to recognize a click */
{
@@ -966,14 +966,15 @@ mouseinterval(int maxclick)
/* This may be used by other routines to ask for the existence of mouse
support */
-int
+NCURSES_EXPORT(int)
_nc_has_mouse(void)
{
return (mousetype == M_NONE ? 0 : 1);
}
-bool
-wmouse_trafo(const WINDOW *win, int *pY, int *pX, bool to_screen)
+NCURSES_EXPORT(bool)
+wmouse_trafo
+(const WINDOW *win, int *pY, int *pX, bool to_screen)
{
bool result = FALSE;