You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
911 B
48 lines
911 B
#ifndef BOOKUI_H_INCLUDED
|
|
#define BOOKUI_H_INCLUDED
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <windows.h>
|
|
#include "admin.h"
|
|
#define LB 19
|
|
#define START 3
|
|
#define INFO 12
|
|
int choice;
|
|
void player();
|
|
char first[2][20];
|
|
char login[2][20];
|
|
void position();
|
|
void Settitle(char *);//设置控制台标题
|
|
void HideCursor(); //隐藏光标
|
|
void HideCursor2(); //显示光标
|
|
/*
|
|
|
|
对应的颜色码表:
|
|
|
|
0 = 黑色 8 = 灰色
|
|
|
|
1 = 蓝色 9 = 淡蓝色
|
|
|
|
2 = 绿色 10 = 淡绿色
|
|
|
|
3 = 浅绿色 11 = 淡浅绿色
|
|
|
|
4 = 红色 12 = 淡红色
|
|
|
|
5 = 紫色 13 = 淡紫色
|
|
|
|
6 = 黄色 14 = 淡黄色
|
|
|
|
7 = 白色 15 = 亮白色
|
|
|
|
*/
|
|
void setcolor(int forecolor,int bgcolor);
|
|
void setposition(int x,int y);
|
|
void showtitle();//显示标题
|
|
void welcome();//欢迎界面以及登陆
|
|
void comuser(int);
|
|
void clean();//清除本行的数据
|
|
|
|
#endif // BOOKUI_H_INCLUDED
|