… | |
… | |
400 | ERASE = +2, |
400 | ERASE = +2, |
401 | }; |
401 | }; |
402 | |
402 | |
403 | /* modes for rxvt_term::scr_page () - scroll page. used by scrollbar window */ |
403 | /* modes for rxvt_term::scr_page () - scroll page. used by scrollbar window */ |
404 | enum page_dirn { |
404 | enum page_dirn { |
405 | UP, |
405 | DN = -1, |
406 | DN, |
|
|
407 | NO_DIR, |
406 | NO_DIR = 0, |
|
|
407 | UP = 1, |
408 | }; |
408 | }; |
409 | |
409 | |
410 | /* arguments for rxvt_term::scr_change_screen () */ |
410 | /* arguments for rxvt_term::scr_change_screen () */ |
411 | enum { |
411 | enum { |
412 | PRIMARY = 0, |
412 | PRIMARY = 0, |
… | |
… | |
1535 | void scr_report_position () NOTHROW; |
1535 | void scr_report_position () NOTHROW; |
1536 | void set_font_style () NOTHROW; |
1536 | void set_font_style () NOTHROW; |
1537 | void scr_charset_choose (int set) NOTHROW; |
1537 | void scr_charset_choose (int set) NOTHROW; |
1538 | void scr_charset_set (int set, unsigned int ch) NOTHROW; |
1538 | void scr_charset_set (int set, unsigned int ch) NOTHROW; |
1539 | void scr_move_to (int y, int len) NOTHROW; |
1539 | void scr_move_to (int y, int len) NOTHROW; |
|
|
1540 | bool scr_page (int nlines) NOTHROW; |
1540 | bool scr_page (enum page_dirn direction, int nlines) NOTHROW; |
1541 | bool scr_page (enum page_dirn direction, int nlines) NOTHROW |
|
|
1542 | { |
|
|
1543 | scr_page (direction * nlines); |
|
|
1544 | } |
1541 | bool scr_changeview (int new_view_start) NOTHROW; |
1545 | bool scr_changeview (int new_view_start) NOTHROW; |
1542 | void scr_bell () NOTHROW; |
1546 | void scr_bell () NOTHROW; |
1543 | void scr_printscreen (int fullhist) NOTHROW; |
1547 | void scr_printscreen (int fullhist) NOTHROW; |
1544 | void scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle1, rend_t rstyle2) NOTHROW; |
1548 | void scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle1, rend_t rstyle2) NOTHROW; |
1545 | void scr_xor_span (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle) NOTHROW; |
1549 | void scr_xor_span (int beg_row, int beg_col, int end_row, int end_col, rend_t rstyle) NOTHROW; |