diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 17:42:10 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 17:42:10 +0800 |
commit | fad6d5dd743843705e3a42da7a80b5bebc009bcb (patch) | |
tree | fdcacd3087e37394e47999298538eaf3a0db3da3 /include | |
parent | c7a85922f032c2b1913761f0530c2a53e9f2aebd (diff) | |
download | pttbbs-fad6d5dd743843705e3a42da7a80b5bebc009bcb.tar pttbbs-fad6d5dd743843705e3a42da7a80b5bebc009bcb.tar.gz pttbbs-fad6d5dd743843705e3a42da7a80b5bebc009bcb.tar.bz2 pttbbs-fad6d5dd743843705e3a42da7a80b5bebc009bcb.tar.lz pttbbs-fad6d5dd743843705e3a42da7a80b5bebc009bcb.tar.xz pttbbs-fad6d5dd743843705e3a42da7a80b5bebc009bcb.tar.zst pttbbs-fad6d5dd743843705e3a42da7a80b5bebc009bcb.zip |
screen: add grayout system
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
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') |