diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-12 19:52:28 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-12 19:52:28 +0800 |
commit | 0c4c72121c0afc0cca3a4cac6ac70b120cd235c3 (patch) | |
tree | abf61fc583cc1eebfe80aea67cc101802efc6651 /include/visio.h | |
parent | 2b0055b710b9dde906533fb8ff116ac75bbe2b95 (diff) | |
download | pttbbs-0c4c72121c0afc0cca3a4cac6ac70b120cd235c3.tar pttbbs-0c4c72121c0afc0cca3a4cac6ac70b120cd235c3.tar.gz pttbbs-0c4c72121c0afc0cca3a4cac6ac70b120cd235c3.tar.bz2 pttbbs-0c4c72121c0afc0cca3a4cac6ac70b120cd235c3.tar.lz pttbbs-0c4c72121c0afc0cca3a4cac6ac70b120cd235c3.tar.xz pttbbs-0c4c72121c0afc0cca3a4cac6ac70b120cd235c3.tar.zst pttbbs-0c4c72121c0afc0cca3a4cac6ac70b120cd235c3.zip |
- visio: add vfooter() high level API.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4145 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/visio.h')
-rw-r--r-- | include/visio.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/visio.h b/include/visio.h new file mode 100644 index 00000000..2c015155 --- /dev/null +++ b/include/visio.h @@ -0,0 +1,25 @@ +// $Id$ +#ifndef _VISIO_H +#define _VISIO_H + +/* + * visio.c + * High-level virtual screen input output control + */ + +#include "bbs.h" +#include "ansi.h" // we need it. + +// THEME DEFINITION ---------------------------------------------------- +#define VCLR_FOOTER_CAPTION ANSI_COLOR(0;34;46) +#define VCLR_FOOTER ANSI_COLOR(0;30;47) +#define VCLR_FOOTER_QUOTE ANSI_COLOR(0;31;47) + +// API DEFINITION ---------------------------------------------------- +// int vmsg(char *msg); +// int vmsgf(const char *fmt,...); +// int vans(char *prompt); // prompt at bottom and return y/n in lower case. +// void vs_bar(char *title); e// like stand_title +void vfooter(const char *caption, const char *prompt); + +#endif // _VISIO_H |