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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? menu.c

?? tc圖形編程中的鼠標和鍵盤的重要頭文件
?? C
?? 第 1 頁 / 共 2 頁
字號:
	exitBad ()

		/* Make a border with a bottom centered title.	    */
    border.type     = BBRD_SSSS | BBRD_BCT;
    border.attr     = MYBORDATR;
    border.ch	    = NUL;
    border.pbtitle  = "Horizontal Menu";
    border.btattr   = MYTITATR;

		/* Display the menu on the screen.		    */
    if (mndsplay (pmenu, &where, &border) == NIL)
	exitBad ()

		/* Make menu aware of the mouse.		    */
    if (NULL == mnmstyle(pmenu, mouse_style, MO_LEFT))
	exitBad ()

		/* Read a response from the menu.		    */
    if (mnread (pmenu, 0, 1, prrow, prcol, &ch, &scan, MN_DESTROY))
	exitBad ()
}




/**
*
* Name		LOTUS -- Display and allow user selection from a
*			 "Lotus"-style menu.
*
* Synopsis	lotus (dev, row, col, prrow, prcol);
*
*		int dev 	  Device on which to display the
*				  menu.  Either SC_COLOR or SC_MONO.
*		int row, col	  Row and column where the upper-
*				  left corner of the menu's data
*				  area should appear.
*		int mouse_style   The mouse style to use.
*		int *prrow,	  Pointers to variables in which to
*		    *prcol	  return the row and column selected
*				  from the menu.
*
* Description	This function constructs a "Lotus" menu, and
*		waits for user input.  It then returns the row
*		and column of the selection to its caller.
*
* Returns	*prrow, *prcol	  Row and column (relative to menu) of
*				  user selection.
*
**/


void lotus (dev, row, col, mouse_style, prrow, prcol)
int  dev;
int  row,    col;
int  mouse_style;
int *prrow, *prcol;
{
    BMENU  *pmenu;
    BORDER  border;
    WHERE   where;
    int     ch, scan;

		/* Figure out where to display the menu.	    */
    where.dev	     = dev;
    where.page	     = 0;
    where.corner.row = row;
    where.corner.col = col;

		/* Create the menu data structure.		    */
    if ((pmenu = mncreate (2, 70,
			   MYTEXTATR, MYHILATR,
			   MYPROATR, MYLNGATTR)) == NIL)
	exitBad ()

		/* Set up items on the menu, and add keys to the key*/
		/* binding list (upper and lower case of the first  */
		/* letters of the items.			    */
    if (mnlitkey (pmenu, 0, 0, 0, "Worksheet", 1, 0,
	"Global, Insert, Delete, Column-Width, Erase, Titles, Window, Status",
	"Ww",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 11, 0, "Range", 1, 0,
	"Format, Label-Prefix, Erase, Name, Justify, Protect, Unprotect, Input",
	"Rr",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 18, 0, "Copy", 1, 0,
	"Copy a cell or range of cells",
	"Cc",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 24, 0, "Move", 1, 0,
	"Move a cell or range of cells",
	"Mm",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 30, 0, "File", 1, 0,
	"Retrieve, Save, Combine, Xtract, Erase, List, Import, Directory",
	"Ff",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 36, 0, "Print", 1, 0,
	"Output a range to the printer or a print file",
	"Pp",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 43, 0, "Graph", 1, 0,
	"Create a graph",
	"Gg",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 50, 0, "Data", 1, 0,
	"Fill, Table, Sort, Query, Distribution",
	"Dd",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

    if (mnlitkey (pmenu, 0, 56, 0, "Quit", 1, 0,
	"End 3-2-1 Session (Have you saved your play ?)",
	"Qq",   MN_NOMOVE | MN_TRANSMIT) == NIL)
	exitBad ()

		/* Disable ESC key.				    */
    if (mnkey (pmenu, 0, 0, KB_C_N_ESC, KB_S_N_ESC,
	       MN_ABORT, MN_DELETE) == NIL)
	exitBad ()

		/* Make a border with a top centered title.	    */
    border.type     = BBRD_SDDD | BBRD_TCT;
    border.attr     = MYBORDATR;
    border.ch	    = NUL;
    border.pttitle  = "Lotus Menu  (with top-centered title)";
    border.ttattr   = MYTITATR;

		/* Display the menu on the screen.		    */
    if (mndsplay (pmenu, &where, &border) == NIL)
	exitBad ()

		/* Make menu aware of the mouse.		    */
    if (NULL == mnmstyle(pmenu, mouse_style, MO_LEFT))
	exitBad ()

		/* Read a response from the menu.		    */
    if (mnlread (pmenu, 0, 0, prrow, prcol, &ch, &scan, MN_DESTROY))
	exitBad ()
}




/**
*
* Name		GRID -- Display and allow user selection from a
*			grid menu.
*
* Synopsis	grid (dev, row, col, prrow, prcol);
*
*		int dev 	  Device on which to display the
*				  menu.  Either SC_COLOR or SC_MONO.
*		int row, col	  Row and column where the upper-
*				  left corner of the menu's data
*				  area should appear.
*		int mouse_style   The mouse style to use.
*		int *prrow,	  Pointers to variables in which to
*		    *prcol	  return the row and column selected
*				  from the menu.
*
* Description	This function constructs a grid menu, and
*		waits for user input.  It then returns the
*		row and column of the selection to its caller.
*
* Returns	*prrow, *prcol	  Row and column (relative to menu) of
*				  user selection.
*
**/


void grid (dev, row, col, mouse_style, prrow, prcol)
int  dev;
int  row,    col;
int  mouse_style;
int *prrow, *prcol;
{
    BMENU  *pmenu;
    BORDER  border;
    WHERE   where;
    int     ch, scan, x, y;
    char    s[3];

		/* Figure out where to display the menu.	    */
    where.dev	     = dev;
    where.page	     = 0;
    where.corner.row = row;
    where.corner.col = col;

		/* Create the menu data structure.		    */
    if ((pmenu = mncreate (6, 40,
			   MYTEXTATR, MYHILATR,
			   MYPROATR, MYLNGATTR)) == NIL)
	exitBad ()

		/* Set up items on the menu.  We will make a grid   */
		/* of numbers from 0 to 47, in rows across the	    */
		/* menu.					    */
    for (y = 0;  y < 6;  y++)
	for (x = 0;  x < 8;  x++)
		/* Put a the ASCII characters for a number (y*8+x)  */
		/* at location (y, x*5) in the menu.		    */
	    if (mnitem (pmenu, y, (x * 5), 0,
			itoa (((y * 8) + x), s, 10)) == NIL)
		 exitBad ()

		/* Disable ESC key.				    */
    if (mnkey (pmenu, 0, 0, KB_C_N_ESC, KB_S_N_ESC,
	       MN_ABORT, MN_DELETE) == NIL)
	exitBad ()

		/* Make a border with a bottom left title.	    */
    border.type     = BBRD_SSSS | BBRD_BLT;
    border.attr     = MYBORDATR;
    border.ch	    = NUL;
    border.pbtitle  = "Grid Menu  (bottom left title)";
    border.btattr   = MYTITATR;

		/* Display the menu on the screen.		    */
    if (mndsplay (pmenu, &where, &border) == NIL)
	exitBad ()

		/* Make menu aware of the mouse.		    */
    if (NULL == mnmstyle(pmenu, mouse_style, MO_LEFT))
	exitBad ()

		/* Read a response from the menu.		    */
    if (mnread (pmenu, 0, 0, prrow, prcol, &ch, &scan, MN_DESTROY))
	exitBad ()
}


/**
*
* Name		VIRTUAL -- Display and allow user selection from
*			   a virtual menu.
*
* Synopsis	virtual (dev, row, col, prrow, prcol);
*
*		int dev 	  Device on which to display the
*				  menu.  Either SC_COLOR or SC_MONO.
*		int row, col	  Row and column where the upper-
*				  left corner of the menu's data
*				  area should appear.
*		int mouse_style   The mouse style to use.
*		int *prrow,	  Pointers to variables in which to
*		    *prcol	  return the row and column selected
*				  from the menu.
*
* Description	This function constructs a virtual menu, and waits
*		for user input.  It then returns the row and column of
*		the selection to its caller.
*
* Returns	*prrow, *prcol	  Row and column (relative to menu) of
*				  user selection.
*
**/


void virtual (dev, row, col, mouse_style, prrow, prcol)
int  dev;
int  row,    col;
int  mouse_style;
int *prrow, *prcol;
{
    BMENU  *pmenu;
    BORDER  border;
    WHERE   where;
    int     ch, scan;

		/* Figure out where to display the menu.	    */
    where.dev	     = dev;
    where.page	     = 0;
    where.corner.row = row;
    where.corner.col = col;

		/* Create the menu data structure.		    */
    if ((pmenu = mncreate (7, 39,
			   MYTEXTATR, MYHILATR,
			   MYPROATR, MYLNGATTR)) == NIL)
	exitBad ()

		/* Set up items on the menu, and add keys to the key*/
		/* binding list (upper and lower case of the first  */
		/* letters of the items).			    */

		/* First, items on the menu at a Chinese restaraunt.*/
    if (mnitmkey (pmenu, 0, 0, 0, "Mandarin Chicken", "Mm",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 1, 0, 0, "Broccoli Beef", "Bb",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 2, 0, 0, "Sweet & Sour Pork", "Ss",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 3, 0, 0, "Won Ton Soup", "Ww",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 4, 0, 0, "Pork Fried Rice", "Pp",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 5, 0, 0, "Potstickers", "Pp",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 6, 0, 0, "Fortune Cookies", "Ff",
		  MN_NOMOVE) == NIL)
	exitBad ()

		/* Now, items on the menu at an Italian restaraunt. */
    if (mnitmkey (pmenu, 0, 19, 0, "Lasagna", "Ll",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 1, 19, 0, "Tortellini Pesto", "Tt",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 2, 19, 0, "Ravioli w/Meat Sauce", "Rr",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 3, 19, 0, "Fettucini Al Fredo", "Ff",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 4, 19, 0, "Veal Parmesan", "Vv",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 5, 19, 0, "Linguini", "Ll",
		  MN_NOMOVE) == NIL)
	exitBad ()
    if (mnitmkey (pmenu, 6, 19, 0, "Calamari", "Cc",
		  MN_NOMOVE) == NIL)
	exitBad ()

		/* Disable ESC key.				    */
    if (mnkey (pmenu, 0, 0, KB_C_N_ESC, KB_S_N_ESC,
	       MN_ABORT, MN_DELETE) == NIL)
	exitBad ()

		/* Make a border with a bottom centered title.	    */
    border.type     = BBRD_SSSS | BBRD_BCT;
    border.attr     = MYBORDATR;
    border.ch	    = NUL;
    border.pbtitle  = "Virtual";
    border.btattr   = MYTITATR;

		/* Display the menu in a 4 X 30 viewport.	    */
    if (mnvdisp (pmenu, &where, 4, 30, 0, 0, &border) == NIL)
	exitBad ()

		/* Make menu aware of the mouse.		    */
    if (NULL == mnmstyle(pmenu, mouse_style, MO_LEFT))
	exitBad ()

		/* Read a response from the menu.		    */
    if (mnread (pmenu, 0, 0, prrow, prcol, &ch, &scan, MN_DESTROY))
	exitBad ()
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av网站免费观看| 日韩欧美黄色影院| 日韩美女一区二区三区四区| 欧美精品1区2区| 中文字幕中文乱码欧美一区二区| 亚洲综合成人网| 国产99久久久久| 日韩午夜精品电影| 亚洲国产aⅴ天堂久久| 成人免费看视频| 久久这里只有精品6| 亚洲妇女屁股眼交7| av不卡一区二区三区| 国产亚洲一区二区三区在线观看 | 91看片淫黄大片一级在线观看| 欧美丰满高潮xxxx喷水动漫| 亚洲人快播电影网| 成人av电影在线网| 国产亚洲精品超碰| 国产原创一区二区| 欧美电视剧免费全集观看| 秋霞电影一区二区| 91精品欧美久久久久久动漫| 亚洲一区二区三区在线看| 色婷婷久久久久swag精品| 中文字幕在线观看不卡| 国产成人av自拍| 国产欧美一区二区精品秋霞影院 | 亚洲精选视频免费看| 成人免费毛片片v| 亚洲国产精品成人综合色在线婷婷 | 最新日韩av在线| 成人免费视频国产在线观看| 国产欧美日韩亚州综合| 成人精品免费网站| 中文字幕一区二区不卡| 99久久99久久久精品齐齐| 综合久久久久久久| 欧美艳星brazzers| 午夜精品一区在线观看| 91精品福利在线一区二区三区| 无码av中文一区二区三区桃花岛| 欧美精品 日韩| 免费观看久久久4p| 久久久亚洲高清| bt欧美亚洲午夜电影天堂| 亚洲欧洲国产日本综合| 欧美在线你懂的| 美国av一区二区| 久久精品视频在线看| 波多野结衣亚洲| 亚洲国产精品欧美一二99| 6080yy午夜一二三区久久| 久久黄色级2电影| 国产精品久久777777| 欧美色偷偷大香| 久久精品99国产精品| 国产精品区一区二区三| 欧美在线不卡一区| 九色综合国产一区二区三区| 国产精品婷婷午夜在线观看| 欧美三片在线视频观看| 国产一区二区日韩精品| 日韩毛片一二三区| 91精品国产色综合久久不卡电影 | 日韩一区二区在线免费观看| 国产精品一区一区| 亚洲一区二区三区小说| 久久蜜桃av一区精品变态类天堂| 91美女视频网站| 久久精品国产99久久6| 国产精品传媒在线| 欧美mv日韩mv国产网站| 色女孩综合影院| 黄色成人免费在线| 香蕉乱码成人久久天堂爱免费| 国产人成一区二区三区影院| 欧美日韩一卡二卡三卡| 成人激情黄色小说| 久久99久久99| 亚洲123区在线观看| 中文字幕一区二区在线播放| 日韩三级视频在线观看| 久久久久久久综合日本| 日韩高清在线不卡| 国产精品天美传媒| 欧美一级高清大全免费观看| 成人午夜短视频| 久久精品国产成人一区二区三区 | 成人av资源网站| 久久精品久久精品| 亚洲h在线观看| 亚洲精品高清在线| 国产精品妹子av| 国产亚洲一本大道中文在线| 日韩亚洲欧美成人一区| 欧洲精品一区二区| 91视频免费看| 99久久伊人精品| 国产成人一区二区精品非洲| 免费成人美女在线观看.| 亚洲成年人影院| 午夜伦欧美伦电影理论片| 亚洲制服丝袜一区| 一区二区三区在线视频免费观看| 国产精品久久久久久久久快鸭| 久久蜜桃香蕉精品一区二区三区| 精品少妇一区二区三区日产乱码| 在线成人av网站| 欧美男同性恋视频网站| 欧美日韩一二三| 欧美日韩国产在线观看| 欧美精品日日鲁夜夜添| 欧美日韩小视频| 欧美一区二区三区不卡| 欧美一级片免费看| 欧美一级夜夜爽| 精品国产乱码久久久久久浪潮| 精品国精品国产尤物美女| 久久久国际精品| 亚洲国产精华液网站w| 亚洲欧洲成人自拍| 亚洲激情五月婷婷| 视频一区在线视频| 精品在线观看免费| 国产精品羞羞答答xxdd| voyeur盗摄精品| 欧洲一区二区av| 欧美一区二区三区在线观看| 精品国内片67194| 国产精品理伦片| 亚洲第一在线综合网站| 久久精品国产成人一区二区三区| 91福利在线观看| 欧美三区在线视频| 精品国产乱码久久久久久图片 | 婷婷久久综合九色国产成人 | 蜜桃av噜噜一区| 成人国产电影网| 91视频一区二区三区| 欧美日韩国产一级片| 亚洲精品一区二区三区四区高清| 国产视频亚洲色图| 亚洲国产wwwccc36天堂| 久久激情综合网| 色婷婷久久一区二区三区麻豆| 欧美日韩日日夜夜| 国产亚洲成aⅴ人片在线观看| 亚洲色大成网站www久久九九| 五月婷婷久久丁香| 国产成人精品三级| 欧美精品日韩综合在线| 国产欧美日韩中文久久| 亚洲成人精品一区二区| 国产成都精品91一区二区三| 在线精品视频一区二区三四| 久久综合成人精品亚洲另类欧美| 亚洲欧美日韩久久| 国产一区在线精品| 在线观看欧美日本| 国产日韩欧美综合一区| 亚洲aaa精品| 成人视屏免费看| 日韩午夜在线影院| 亚洲狠狠丁香婷婷综合久久久| 国产一区二区三区视频在线播放| 在线亚洲高清视频| 国产精品久久久久9999吃药| 久久99久久99小草精品免视看| 欧洲一区在线电影| 国产精品不卡一区| 国产丶欧美丶日本不卡视频| 欧美一区日韩一区| 亚洲精品福利视频网站| 成人午夜免费视频| 久久奇米777| 久久精品噜噜噜成人88aⅴ| 欧美无砖专区一中文字| 玖玖九九国产精品| 在线观看视频91| 亚洲免费观看高清完整版在线 | 青青草国产精品97视觉盛宴| 色哟哟日韩精品| 1024国产精品| 床上的激情91.| 久久精品视频一区| 国产精品资源在线| 欧美zozo另类异族| 免费看黄色91| 欧美一级高清片| 美腿丝袜在线亚洲一区| 欧美一区中文字幕| 日韩福利视频导航| 日韩无一区二区| 久久国产剧场电影| 久久丝袜美腿综合| 国产精品一区在线| 国产日韩欧美制服另类| 成人综合激情网| 欧美国产日韩a欧美在线观看|