summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 17:45:48 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 17:45:48 +0800
commitfbdd7cbf2c444d251ff0c6826ef952e681baaa2c (patch)
tree27bdcbddff63f6428a0df8c70894a410bc5167da /mbbsd/pmore.c
parentfad6d5dd743843705e3a42da7a80b5bebc009bcb (diff)
downloadpttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.gz
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.bz2
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.lz
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.xz
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.tar.zst
pttbbs-fbdd7cbf2c444d251ff0c6826ef952e681baaa2c.zip
- add some grayout effects, and general code improvement
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index 6efcc30a..1d619cf8 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -2465,6 +2465,10 @@ pmore_Preference()
// TODO even better pref navigation, like arrow keys
// static int lastkey = '\\'; // default key
+#ifdef HAVE_SCREEN_GRAYOUT
+ grayout_lines(0, b_lines - 10, 0);
+#endif // HAVE_SCREEN_GRAYOUT
+
while (1)
{
move(b_lines - 10, 0);