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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

cbreak

  • //初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } cbreak()

    //初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } cbreak() noecho() keypad(stdscr, TRUE) //建立菜單項 for(i=0 i<N_ITEMS i++){ items[i] = new_item(months[i], "") } //建立菜單 mymenu = new_menu(items) //設置為5行單列的菜單 set_menu_format(mymenu, 5, 1) set_menu_mark(mymenu, "*") //獲得菜單的行數很列數 scale_menu(mymenu, &mrows, &mcols) //建立窗口和子窗口 win = newwin(mrows + 2, mcols + 2, 3, 30) keypad(win, TRUE) box(win, 0, 0) subwin = derwin(win, 0, 0, 1, 1) //設置菜單的窗口 set_menu_sub(mymenu, subwin) //在子窗口上放置菜單 post_menu(mymenu) refresh() wrefresh(win)

    標簽: EXIT_FAILURE initcurs initscr cbreak

    上傳時間: 2013-11-29

    上傳用戶:小眼睛LSL

  • //初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //設置模式

    //初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //設置模式 cbreak() noecho() keypad(stdscr, TRUE) //建立窗口 win = newwin(h, w, 3, 20) box(win, 0, 0) keypad(win, TRUE) wmove(win, cury, curx) mvaddstr(16, 1, "Press arrow keys to move the cursor within the window.\n") mvaddstr(17, 1, "Press q to quit.\n") refresh() wrefresh(win)

    標簽: EXIT_FAILURE initcurs initscr perror

    上傳時間: 2013-12-20

    上傳用戶:FreeSky

主站蜘蛛池模板: 彭山县| 阳曲县| 雷波县| 翁牛特旗| 兰坪| 河池市| 长岭县| 鄂托克旗| 慈利县| 南岸区| 海晏县| 吉安市| 乌拉特中旗| 南部县| 揭阳市| 永定县| 洪洞县| 玉田县| 巫溪县| 霍山县| 大方县| 新竹县| 无为县| 博野县| 龙井市| 武宣县| 堆龙德庆县| 育儿| 桃园市| 犍为县| 舒城县| 嘉黎县| 来宾市| 东城区| 登封市| 娄烦县| 连江县| 隆昌县| 台安县| 本溪市| 迁安市|