form = new_form(fields)
scale_form(form, &rows, &cols)
win = newwin(rows+3, cols+4, 3, 20)
subwin = derwin(win, rows, cols, 1, 2)
set_form_sub(form, subwin)
box(win, 0, 0)
keypad(win, TRUE)
post_form(form)
refresh()
wrefresh(win)
wrefresh(subwin)
//设置覆盖模式
form_driver(form, REQ_OVL_MODE)
标签:
form
cols
rows
scale_form
上传时间:
2017-06-12
上传用户:wff