From fad6d5dd743843705e3a42da7a80b5bebc009bcb Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 5 Dec 2007 09:42:10 +0000 Subject: screen: add grayout system git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index fafb2f35..3f80eacc 100644 --- a/include/proto.h +++ b/include/proto.h @@ -588,6 +588,11 @@ void out_lines(const char *str, int line); void screen_backup(screen_backup_t *buf); void screen_restore(const screen_backup_t *buf); +#define HAVE_SCREEN_GRAYOUT +void grayout_line(int y, int level); +void grayout_lines(int start, int end, int level); + + /* stuff */ #define isprint2(ch) ((ch & 0x80) || isprint(ch)) #define not_alpha(ch) (ch < 'A' || (ch > 'Z' && ch < 'a') || ch > 'z') -- cgit v1.2.3