be more consistent with coordinates
This commit is contained in:
@@ -881,7 +881,7 @@ curses_nhgetch(void)
|
||||
}
|
||||
|
||||
/*
|
||||
int nh_poskey(int *x, int *y, int *mod)
|
||||
int nh_poskey(coordxy *x, coordxy *y, int *mod)
|
||||
-- Returns a single character input from the user or a
|
||||
a positioning event (perhaps from a mouse). If the
|
||||
return value is non-zero, a character was typed, else,
|
||||
@@ -896,7 +896,7 @@ int nh_poskey(int *x, int *y, int *mod)
|
||||
routine always returns a non-zero character.
|
||||
*/
|
||||
int
|
||||
curses_nh_poskey(int *x, int *y, int *mod)
|
||||
curses_nh_poskey(coordxy *x, coordxy *y, int *mod)
|
||||
{
|
||||
int key = curses_nhgetch();
|
||||
|
||||
|
||||
@@ -974,7 +974,7 @@ event, or the first non-mouse key event in the case of mouse
|
||||
movement. */
|
||||
|
||||
int
|
||||
curses_get_mouse(int *mousex, int *mousey, int *mod)
|
||||
curses_get_mouse(coordxy *mousex, coordxy *mousey, int *mod)
|
||||
{
|
||||
int key = '\033';
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ int curses_convert_attr(int attr);
|
||||
int curses_read_attrs(const char *attrs);
|
||||
char *curses_fmt_attrs(char *);
|
||||
int curses_convert_keys(int key);
|
||||
int curses_get_mouse(int *mousex, int *mousey, int *mod);
|
||||
int curses_get_mouse(coordxy *mousex, coordxy *mousey, int *mod);
|
||||
void curses_mouse_support(int);
|
||||
|
||||
#endif /* CURSMISC_H */
|
||||
|
||||
Reference in New Issue
Block a user