File pdcurses/window.c changed (mode: 100644) (index dbfd5849..69d0fe97) |
... |
... |
WINDOW *subwin(WINDOW *orig, int nlines, int ncols, int begy, int begx) |
323 |
323 |
win->_leaveit = orig->_leaveit; |
win->_leaveit = orig->_leaveit; |
324 |
324 |
win->_scroll = orig->_scroll; |
win->_scroll = orig->_scroll; |
325 |
325 |
win->_nodelay = orig->_nodelay; |
win->_nodelay = orig->_nodelay; |
|
326 |
|
win->_delayms = orig->_delayms; |
326 |
327 |
win->_use_keypad = orig->_use_keypad; |
win->_use_keypad = orig->_use_keypad; |
327 |
328 |
win->_immed = orig->_immed; |
win->_immed = orig->_immed; |
328 |
329 |
win->_sync = orig->_sync; |
win->_sync = orig->_sync; |
|
... |
... |
WINDOW *dupwin(WINDOW *win) |
410 |
411 |
new->_leaveit = win->_leaveit; |
new->_leaveit = win->_leaveit; |
411 |
412 |
new->_scroll = win->_scroll; |
new->_scroll = win->_scroll; |
412 |
413 |
new->_nodelay = win->_nodelay; |
new->_nodelay = win->_nodelay; |
|
414 |
|
new->_delayms = win->_delayms; |
413 |
415 |
new->_use_keypad = win->_use_keypad; |
new->_use_keypad = win->_use_keypad; |
414 |
416 |
new->_tmarg = win->_tmarg; |
new->_tmarg = win->_tmarg; |
415 |
417 |
new->_bmarg = win->_bmarg; |
new->_bmarg = win->_bmarg; |
|
... |
... |
WINDOW *resize_window(WINDOW *win, int nlines, int ncols) |
486 |
488 |
new->_leaveit = win->_leaveit; |
new->_leaveit = win->_leaveit; |
487 |
489 |
new->_scroll = win->_scroll; |
new->_scroll = win->_scroll; |
488 |
490 |
new->_nodelay = win->_nodelay; |
new->_nodelay = win->_nodelay; |
|
491 |
|
new->_delayms = win->_delayms; |
489 |
492 |
new->_use_keypad = win->_use_keypad; |
new->_use_keypad = win->_use_keypad; |
490 |
493 |
new->_tmarg = (win->_tmarg > new->_maxy - 1) ? 0 : win->_tmarg; |
new->_tmarg = (win->_tmarg > new->_maxy - 1) ? 0 : win->_tmarg; |
491 |
494 |
new->_bmarg = (win->_bmarg == win->_maxy - 1) ? |
new->_bmarg = (win->_bmarg == win->_maxy - 1) ? |