summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-07 00:02:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-07 00:02:14 +0800
commit27ba8f62f459ae23d76136e53e6b0e897c710f06 (patch)
tree3e15ae95ae2c44d2855935d7031538f3afc66342 /mbbsd
parente21389d450cdf62bfed6375684eedbbc3505bac6 (diff)
downloadpttbbs-27ba8f62f459ae23d76136e53e6b0e897c710f06.tar
pttbbs-27ba8f62f459ae23d76136e53e6b0e897c710f06.tar.gz
pttbbs-27ba8f62f459ae23d76136e53e6b0e897c710f06.tar.bz2
pttbbs-27ba8f62f459ae23d76136e53e6b0e897c710f06.tar.lz
pttbbs-27ba8f62f459ae23d76136e53e6b0e897c710f06.tar.xz
pttbbs-27ba8f62f459ae23d76136e53e6b0e897c710f06.tar.zst
pttbbs-27ba8f62f459ae23d76136e53e6b0e897c710f06.zip
artwork: better grayout for big-I
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3646 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 49490e42..6e88b144 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -3329,14 +3329,23 @@ b_config(void)
boardheader_t *bp=NULL;
int touched = 0, finished = 0;
bp = getbcache(currbid);
+ const int ytitle = b_lines - 14;
+ int i = 0;
- grayout_lines(0, b_lines -14, 0);
+ grayout_lines(0, ytitle-1, 0);
+
+ move(ytitle-1, 0); clrtobot();
+ // outs(MSG_SEPERATOR); // deprecated by grayout
+ move(ytitle, 0);
+ outs(ANSI_COLOR(7) " " ); outs(bp->brdname); outs(" 看板設定");
+ i = t_columns - strlen(bp->brdname) - strlen(" 看板設定") - 2;
+ for (; i>0; i--)
+ outc(' ');
+ outs(ANSI_RESET);
while(!finished) {
- move(b_lines - 14, 0); clrtobot();
+ move(ytitle +2, 0);
- outs(MSG_SEPERATOR);
- prints("\n目前 %s 看板設定:\n", bp->brdname);
prints(" 中文敘述: %s\n", bp->title);
prints(" 板主名單: %s\n", (bp->BM[0] > ' ')? bp->BM : "(無)");