亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mbasic.c

?? BC3.1編譯,小交換機(jī)計(jì)費(fèi)系統(tǒng).使用Dos做出如此好的界面,少有.
?? C
字號:
/******************************************************************/
/*   FILENAME: MBASIC.C                                           */
/*   LAST_MODI: 1993-3-2                                          */
/*   FUNCTION : draw_key(,,,,,,,)                                 */
/*              chang_key(,,,,,,,)                                */
/*              chang_key_border(,,,,,)                           */
/*              write_key_date(,,,,,,,)                           */
/*              draw_back(,,,,,,)                                 */
/******************************************************************/

#include <graphics.h>
#include <string.h>
#include <alloc.h>

#include <def.inc>
#include <func.inc>

static struct
	{
		UC *buff;
		UI back_sx;
		UI back_sy;
	}Pop_dat[4];
static UC Pop_num = 0;

void draw_key(UI left, UI top, UI right, UI bottom, UC *string, UC bc, UC cc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	setfillstyle(SOLID_FILL, bc);
	bar(left+2, top+2, right-2, bottom-2);
	for(i=1;i<2;i++)
	{
		setcolor(15);
		line(left+i,top+i,right-i,top+i);
		line(left+i,top+i,left+i,bottom-i);
		setcolor(6);
		line(left+i,bottom-i,right-i,bottom-i);
		line(right-i,top+i,right-i,bottom-i);
	}
	setcolor(0);
	rectangle(left,top,right,bottom);
	hz16_disp( ( right+left+1-(strlen(string)<<3) )>>1,
			   (top+bottom-15)>>1, string, cc);
}

void chang_key(UI left, UI top, UI right, UI bottom, UC *string, UC cc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	setfillstyle(SOLID_FILL, 6);
	bar(left+3, top+3, right-3, bottom-3);

	for(i=1;i<3;i++)
	{
		setcolor(0);
		line(left+i, top+i, right-i, top+i);
		line(left+i, top+i, left+i, bottom-i);
		setcolor(15);
		line(left+i, bottom-i, right-i, bottom-i);
		line(right-i, top+i, right-i, bottom-i);
	}
	setcolor(0);
	rectangle(left, top, right, bottom);
	hz16_disp( ( right+left+1-(strlen(string)<<3) )>>1,
			   (top+bottom-15)>>1, string, cc);
}

void chang_key1(UI left, UI top, UI right, UI bottom, UC *string, UC cc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	setfillstyle(SOLID_FILL, 10);
	bar(left+3, top+3, right-3, bottom-3);

	for(i=1;i<3;i++)
	{
		setcolor(0);
		line(left+i, top+i, right-i, top+i);
		line(left+i, top+i, left+i, bottom-i);
		setcolor(15);
		line(left+i, bottom-i, right-i, bottom-i);
		line(right-i, top+i, right-i, bottom-i);
	}
	setcolor(0);
	rectangle(left, top, right, bottom);
	hz16_disp( ( right+left+1-(strlen(string)<<3) )>>1,
			   (top+bottom-15)>>1, string, cc);
}

void chang_key3(UI left, UI top, UI right, UI bottom, UC *string, UC cc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	setfillstyle(SOLID_FILL, 2);
	bar(left+3, top+3, right-3, bottom-3);

	for(i=1;i<3;i++)
	{
		setcolor(0);
		line(left+i, top+i, right-i, top+i);
		line(left+i, top+i, left+i, bottom-i);
		setcolor(15);
		line(left+i, bottom-i, right-i, bottom-i);
		line(right-i, top+i, right-i, bottom-i);
	}
	setcolor(0);
	rectangle(left, top, right, bottom);
	hz16_disp( ( right+left+1-(strlen(string)<<3) )>>1,
			   (top+bottom-15)>>1, string, cc);
}

/* -------------------------- draw_key2() ----------------------------- */
void draw_key2(UI left, UI top, UI right, UI bottom, UC *string, UC cc)
{

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);

	setcolor  (15);
	line (left, top, right, top);
	line (left, top, left, bottom);
	setcolor  (6);
	line (left+1, bottom, right, bottom);
	line (right, top+1, right, bottom);

	hz16_disp( ( right+left+1-(strlen(string)<<3) )>>1,
			   (top+bottom-15)>>1, string, cc);
}

/* --------------------------- change_key2() --------------------------- */
void chang_key2(UI left, UI top, UI right, UI bottom, UC *string, UC cc)
{

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);

	setcolor  (6);
	line (left, top, right, top);
	line (left, top, left, bottom);
	setcolor  (15);
	line (left+1, bottom, right, bottom);
	line (right, top+1, right, bottom);

	hz16_disp( ( right+left+1-(strlen(string)<<3) )>>1,
			   (top+bottom-15)>>1, string, cc);
}


void chang_key_border(UI left, UI top, UI right, UI bottom, UC pressed)
{
UI i;
UC color1, color2;


	if(pressed)
	{
		color1 = 6;
		color2 = 15;
	}
	else
	{
		color1 = 15;
		color2 = 6;
	}

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	for(i=1;i<3;i++)
	{
		setcolor(color1);
		line(left+i,top+i,right-i,top+i);
		line(left+i,top+i,left+i,bottom-i);
		setcolor(color2);
		line(left+i,bottom-i,right-i,bottom-i);
		line(right-i,top+i,right-i,bottom-i);
	}
	setcolor(0);
	rectangle(left,top,right,bottom);
}


void write_key_data(UI left, UI top, UI right, UI bottom, UC string[80], UC cc)
{
	hz16_disp( ( right+left+1-(strlen(string)<<3))>>1,
				(top+bottom-15)>>1, string, cc);
}

void draw_back(UI left, UI top, UI right, UI bottom, UC bkc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	for(i=0; i<2; i++)
	{
		setcolor(15);
		line(left+i,bottom-i,right-i,bottom-i);
		line(right-i,top+i,right-i,bottom-i);
		setcolor(6);
		line(left+i,top+i,right-i,top+i);
		line(left+i,top+i,left+i,bottom-i);
	}
	setfillstyle(SOLID_FILL,bkc);
	bar(left+1, top+1, right-1, bottom-1);
}

void draw_back1(UI left, UI top, UI right, UI bottom, UC bkc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	for(i=1; i<2; i++)
	{
		setcolor(15);
		line(left+i,top+i,right-i,top+i);
		line(left+i,top+i,left+i,bottom-i);
		setcolor(6);
		line(left+i,bottom-i,right-i,bottom-i);
		line(right-i,top+i,right-i,bottom-i);
	}
	rectangle(left,top,right,bottom);

	setfillstyle(SOLID_FILL,bkc);
	bar(left+2, top+2, right-2, bottom-2);
}


/* --------------------------- draw_back2() ----------------------------- */
void draw_back2(UI left, UI top, UI right, UI bottom, UC bkc)
{
	rectangle(left, top, right, bottom);

	setfillstyle(SOLID_FILL, bkc);
	bar(left, top, right, bottom);
	setcolor  (6);
	rectangle (left+1, top+1, right, bottom);
	setcolor  (15);
	rectangle (left, top, right-1, bottom-1);
}
/*
void draw_back3(UI left, UI top, UI right, UI bottom, UC bkc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);

	setcolor(6);
	line(left,top,right,top);
	line(left,top,left,bottom);
	line(left-1,bottom-1,right-1,bottom-1);
	line(right-1,top-1,right-1,bottom-1);
	setcolor(15);
	line(left,bottom,right,bottom);
	line(right,top,right,bottom);
	line(left+1,top+1,right-1,top+1);
	line(left+1,top+1,left+1,bottom-1);

	setfillstyle(SOLID_FILL,bkc);
	bar(left+2, top+2, right-2, bottom-2);
}
*/
/*void draw_back3(UI left, UI top, UI right, UI bottom, UC bkc)
{
UI i;

	setlinestyle(SOLID_LINE, 0, NORM_WIDTH);
	for(i=0; i<2; i++)
	{
		setcolor(6);
		line(left+i,bottom-i,right-i,bottom-i);
		line(right-i,top+i,right-i,bottom-i);
		setcolor(15);
		line(left+i,top+i,right-i,top+i);
		line(left+i,top+i,left+i,bottom-i);
	}
	setfillstyle(SOLID_FILL,bkc);
	bar(left+1, top+1, right-1, bottom-1);
}
*/

void pop_back(UI left, UI top, UI right, UI bottom, UC bkc)
{
        UI size;

	if (Pop_num>=4)
		exit_scr(1,"\n\rMBASIC.C/pop_back(): Can't pop more than 4 back window.");

	size = imagesize(left, top, right, bottom);
	if (size == 0xFFFF)
		exit_scr(1, "\n\rMBASIC.C/pop_back(): Window size must less than 64Kb.");
	Pop_dat[Pop_num].buff = (UC *)mem_alloc( size );
	getimage(left,top,right,bottom,Pop_dat[Pop_num].buff);
	draw_back1(left, top, right, bottom, bkc);
	Pop_dat[Pop_num].back_sx = left;
	Pop_dat[Pop_num].back_sy = top;
	Pop_num++;
}

void rid_pop(void)
{
	if (Pop_num!=0)
	{
		Pop_num--;
		putimage(Pop_dat[Pop_num].back_sx, Pop_dat[Pop_num].back_sy,
				 Pop_dat[Pop_num].buff, COPY_PUT);
		farfree(Pop_dat[Pop_num].buff);
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品少妇一区二区三区在线播放 | 国产精品色婷婷久久58| 99久久久久久| 蜜桃免费网站一区二区三区| 亚洲乱码国产乱码精品精小说| 欧美一卡2卡3卡4卡| av日韩在线网站| 另类的小说在线视频另类成人小视频在线| 成人免费在线播放视频| 欧美精品一区二区久久婷婷| 欧美性极品少妇| 成人av网在线| 国产精品资源网| 男女男精品视频网| 亚洲图片欧美一区| 亚洲精品视频一区二区| 国产精品视频免费| 久久久久久久综合日本| 日韩免费观看高清完整版| 91.xcao| 欧美三级中文字幕| 一本久久精品一区二区| 成人国产亚洲欧美成人综合网| 狠狠色综合色综合网络| 久久国产婷婷国产香蕉| 视频精品一区二区| 亚洲aⅴ怡春院| 亚洲美女区一区| 中文字幕日韩av资源站| 国产精品网站在线| 国产欧美一区二区三区在线看蜜臀| 欧美一区二区三区日韩| 在线成人高清不卡| 91精品国产高清一区二区三区蜜臀 | 色噜噜夜夜夜综合网| 不卡电影一区二区三区| 成人综合婷婷国产精品久久蜜臀| 国产在线精品国自产拍免费| 国模一区二区三区白浆| 国产自产v一区二区三区c| 久久99精品久久久久久国产越南| 青青草97国产精品免费观看 | 9i在线看片成人免费| 成人小视频免费在线观看| 国产999精品久久久久久| 国产成人福利片| 成人免费视频播放| 色综合久久天天| 欧美在线短视频| 777午夜精品免费视频| 日韩欧美一区在线观看| 欧美xxxx在线观看| 久久久久成人黄色影片| 国产精品久久网站| 一区二区三区在线观看动漫 | 精品国产一区二区三区久久久蜜月 | 91精品国产综合久久福利软件| 欧美精品久久99久久在免费线| 91精品黄色片免费大全| 日韩精品最新网址| 国产午夜精品一区二区| 国产精品福利av| 一区二区三区精密机械公司| 天堂va蜜桃一区二区三区漫画版 | 在线日韩av片| 欧美一区二区在线免费观看| 欧美精品一区二区三区很污很色的| 久久久久久亚洲综合影院红桃| 亚洲欧洲日产国产综合网| 亚洲一区二区高清| 国内精品国产成人| 91丨九色丨蝌蚪富婆spa| 欧美精品久久久久久久多人混战| 欧美精品一区二区在线观看| 综合久久久久久| 麻豆国产精品一区二区三区| 丰满岳乱妇一区二区三区| 欧美综合一区二区三区| 欧美大黄免费观看| 亚洲精品视频在线| 日韩精品国产欧美| 成人激情校园春色| 6080yy午夜一二三区久久| 久久久久久久久97黄色工厂| 亚洲精品ww久久久久久p站| 久久电影网电视剧免费观看| 不卡视频一二三| 欧美mv和日韩mv的网站| 亚洲一区在线播放| 国产福利一区在线| 欧美一区二区在线不卡| 国产精品灌醉下药二区| 欧美性猛片aaaaaaa做受| 久久久久久久久免费| 亚洲成年人影院| 99在线精品一区二区三区| 欧美一区二区高清| 亚洲免费观看高清完整| 国产一区二区三区四| 欧美精品九九99久久| 国产欧美一区二区三区网站| 日本亚洲视频在线| 一本久道久久综合中文字幕| 久久免费国产精品| 性做久久久久久免费观看欧美| 成人av在线网| 国产欧美精品一区aⅴ影院 | 亚洲欧美日韩小说| 国产真实乱对白精彩久久| 欧美日韩一区二区在线观看| 日韩毛片在线免费观看| 国产精品12区| 精品国产伦一区二区三区观看体验 | 国产精品每日更新在线播放网址| 精品一区精品二区高清| 欧美一级欧美一级在线播放| 亚洲一二三四久久| 91丨porny丨中文| 欧美国产精品一区二区三区| 国产一区二区精品在线观看| 欧美一区二区视频在线观看2022| 亚洲国产日韩精品| 欧美亚洲综合在线| 一区二区三区欧美| 在线区一区二视频| 亚洲午夜精品网| 欧美日韩一区二区电影| 亚洲国产日韩一区二区| 欧美天天综合网| 亚洲国产精品一区二区www在线| 99国产精品视频免费观看| 中文字幕一区日韩精品欧美| 99精品一区二区| 中文字幕在线播放不卡一区| 91在线视频播放地址| 中文字幕一区二区三区乱码在线 | 一区二区三区蜜桃| 色天天综合久久久久综合片| 亚洲精品中文在线影院| 欧美性猛交xxxx黑人交 | 波多野结衣中文字幕一区二区三区| 久久色在线观看| 国产福利不卡视频| 国产精品久久久99| 91浏览器打开| 亚洲一区二区高清| 91麻豆精品国产91久久久久久 | 一区二区三区在线观看视频| 欧美系列在线观看| 亚洲 欧美综合在线网络| 69成人精品免费视频| 精东粉嫩av免费一区二区三区| 精品三级在线看| 成人av免费观看| 亚洲国产婷婷综合在线精品| 91精品国产91久久久久久一区二区 | 五月激情综合婷婷| 热久久国产精品| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 亚洲欧美偷拍三级| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 99天天综合性| 亚洲国产日韩一区二区| 欧美电视剧免费观看| 国产91露脸合集magnet| 亚洲精品自拍动漫在线| 欧美一区二区三区视频| 懂色av中文字幕一区二区三区| 樱花草国产18久久久久| 精品久久久久一区二区国产| 不卡电影免费在线播放一区| 亚洲午夜三级在线| 久久久久久夜精品精品免费| 91免费观看视频在线| 日本成人在线电影网| 欧美国产综合一区二区| 欧美日韩色一区| 国产精品一区二区视频| 亚洲一区二区三区四区在线免费观看 | 国产精品污网站| 69久久夜色精品国产69蝌蚪网| 国产·精品毛片| 日韩不卡一二三区| 国产精品毛片高清在线完整版| 欧美日韩国产美| 成人教育av在线| 蜜桃久久精品一区二区| 亚洲码国产岛国毛片在线| 精品久久久三级丝袜| 日本道免费精品一区二区三区| 久久 天天综合| 亚洲影视在线观看| 久久久精品黄色| 制服丝袜亚洲网站| 91黄视频在线| 成人精品gif动图一区| 久草中文综合在线| 丝袜a∨在线一区二区三区不卡| 中文字幕亚洲综合久久菠萝蜜| 日韩亚洲欧美综合|