version 1.4, 1997/02/25 00:04:44 |
version 1.5, 2001/11/19 19:02:18 |
|
|
#include "ww.h" |
#include "ww.h" |
|
|
wwcursor(w, on) |
wwcursor(w, on) |
register struct ww *w; |
struct ww *w; |
{ |
{ |
register char *win; |
char *win; |
|
|
if (on) { |
if (on) { |
if (ISSET(w->ww_wflags, WWW_HASCURSOR)) |
if (ISSET(w->ww_wflags, WWW_HASCURSOR)) |
|
|
} |
} |
|
|
wwsetcursormodes(new) |
wwsetcursormodes(new) |
register new; |
int new; |
{ |
{ |
register i; |
int i; |
register struct ww *w; |
struct ww *w; |
register old = wwcursormodes; |
int old = wwcursormodes; |
|
|
new &= wwavailmodes; |
new &= wwavailmodes; |
if (new == wwcursormodes) |
if (new == wwcursormodes) |