summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-13 00:48:34 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-13 00:48:34 +0800
commit050df9b137cf1be6876e551a5a98c1038be73b50 (patch)
tree104fef52b1ca6b95ae3be806f02540d056cd93f0 /mbbsd/talk.c
parent30b08ca27e39588cde705a96381a9643d534351e (diff)
downloadpttbbs-050df9b137cf1be6876e551a5a98c1038be73b50.tar
pttbbs-050df9b137cf1be6876e551a5a98c1038be73b50.tar.gz
pttbbs-050df9b137cf1be6876e551a5a98c1038be73b50.tar.bz2
pttbbs-050df9b137cf1be6876e551a5a98c1038be73b50.tar.lz
pttbbs-050df9b137cf1be6876e551a5a98c1038be73b50.tar.xz
pttbbs-050df9b137cf1be6876e551a5a98c1038be73b50.tar.zst
pttbbs-050df9b137cf1be6876e551a5a98c1038be73b50.zip
- visio: add vbar and varf, better l-r API.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4148 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c23
1 files changed, 9 insertions, 14 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 72cc581e..3cf50c71 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -2293,22 +2293,17 @@ draw_pickup(int drawall, pickup_t * pickup, int pickup_way,
{
// modes should match ANGELPAUSE*
static const char *modestr[ANGELPAUSE_MODES] = {
- ANSI_COLOR(1;30;47) "[神諭呼叫器]" ANSI_COLOR(0;30;47)
- " 開放 " ANSI_RESET,
- ANSI_COLOR(1;30;47) "[神諭呼叫器]" ANSI_COLOR(0;32;47)
- " 停收 " ANSI_RESET,
- ANSI_COLOR(1;30;47) "[神諭呼叫器]" ANSI_COLOR(0;31;47)
- " 關閉 " ANSI_RESET,
+ ANSI_COLOR(0;30;47) "開放",
+ ANSI_COLOR(0;32;47) "停收",
+ ANSI_COLOR(0;31;47) "關閉",
};
// reduced version
- outslr(
- ANSI_COLOR(34;46) " 休閒聊天 "
- ANSI_COLOR(31;47) " (TAB/f)" ANSI_COLOR(30) "排序/好友 "
- ANSI_COLOR(31) "(p)" ANSI_COLOR(30) "一般呼叫器 "
- ANSI_COLOR(31) "(^P)" ANSI_COLOR(30) "神諭呼叫器 ",
- 57,
- modestr[currutmp->angelpause % ANGELPAUSE_MODES],
- 18);
+ vbarf( ANSI_COLOR(34;46) " 休閒聊天 "
+ ANSI_COLOR(31;47) " (TAB/f)" ANSI_COLOR(30) "排序/好友 "
+ ANSI_COLOR(31) "(p)" ANSI_COLOR(30) "一般呼叫器 "
+ ANSI_COLOR(31) "(^P)" ANSI_COLOR(30) "神諭呼叫器\t"
+ ANSI_COLOR(1;30;47) "[神諭呼叫器] %s ",
+ modestr[currutmp->angelpause % ANGELPAUSE_MODES]);
} else
#endif
vfooter(" 休閒聊天 ",