summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 17:42:10 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 17:42:10 +0800
commitfad6d5dd743843705e3a42da7a80b5bebc009bcb (patch)
treefdcacd3087e37394e47999298538eaf3a0db3da3 /include/proto.h
parentc7a85922f032c2b1913761f0530c2a53e9f2aebd (diff)
downloadpttbbs-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/proto.h')
-rw-r--r--include/proto.h5
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')