//建立窗口 win1 = newwin(15, 50, 1, 1) box(win1, ACS_VLINE, ACS_HLINE) mvwprintw(win1, 2,1, "WINDOW 1") mvwprintw(win1, 4,1, "Press any key switching to window 2") win2 = newwin(15, 40, 4, 20) box(win2, ACS_VLINE, ACS_HLINE) mvwprintw(win2, 2,1, "WINDOW 2") //建立子窗口 subwin = derwin(win2, 5, 25, 4, 5) box(subwin, ACS_VLINE, ACS_HLINE) mvwprintw(subwin, 2,1, "Sub Window of Window2") //刷新屏幕 refresh() wrefresh(win1) wrefresh(win2) touchwin(win1) wrefresh(win1) getch() touchwin(win2) mvwprintw(win2, 12,1, "Press any key to exit...") wrefresh(win2) //等待按键 getch() //结束 delwin(win1) delwin(subwin) delwin(win2) endwin()
标签: ACS_VLINE ACS_HLINE mvwprintw win
上传时间: 2017-06-12
上传用户:plsee
build a tv box on fpga cyclone 2
上传时间: 2013-11-26
上传用户:515414293
text area box highligh
上传时间: 2017-06-27
上传用户:zq70996813
voice box tool box for matlab
上传时间: 2017-06-27
上传用户:cooran
here is a project that really dsecribes the visualization of a animated box in regarding related to the special effects
标签: visualization dsecribes regarding animated
上传时间: 2017-07-08
上传用户:541657925
make a color box in DOS
上传时间: 2017-07-12
上传用户:baitouyu
Code matlab pour l extraction de la signature de l iris.Nous avons appliquer la méthode de box cuonting et la méthode de box cuonting différenciel.
标签: extraction appliquer signature de
上传时间: 2013-12-25
上传用户:nanxia
calculates the fractal dimension of a set in the 2D plane using the box counting method.
标签: the calculates dimension counting
上传时间: 2013-12-27
上传用户:450976175
Robot tool box - provides many functions that are useful in robotics including such things as kinematics, dynamics, and trajectory generation
标签: functions including provides robotics
上传时间: 2014-11-27
上传用户:dongqiangqiang
This is a game using numbers.There are many boxes.select number and fill it in each box.
标签: numbers number select There
上传时间: 2013-12-08
上传用户:fxf126@126.com