… | |
… | |
821 | } *civ, const_iv[] = { |
821 | } *civ, const_iv[] = { |
822 | # define const_iv(name) { # name, (IV)name } |
822 | # define const_iv(name) { # name, (IV)name } |
823 | const_iv (HOOK_INIT), |
823 | const_iv (HOOK_INIT), |
824 | const_iv (HOOK_DESTROY), |
824 | const_iv (HOOK_DESTROY), |
825 | const_iv (HOOK_ACTION), |
825 | const_iv (HOOK_ACTION), |
|
|
826 | const_iv (HOOK_OSC_SEQ), |
|
|
827 | const_iv (HOOK_OSC_SEQ_PERL), |
826 | |
828 | |
827 | const_iv (NUM_RESOURCES), |
829 | const_iv (NUM_RESOURCES), |
828 | const_iv (DEFAULT_RSTYLE), |
830 | const_iv (DEFAULT_RSTYLE), |
829 | const_iv (OVERLAY_RSTYLE), |
831 | const_iv (OVERLAY_RSTYLE), |
830 | const_iv (Color_Bits), |
832 | const_iv (Color_Bits), |
… | |
… | |
1562 | THIS->rstyle = new_rstyle; |
1564 | THIS->rstyle = new_rstyle; |
1563 | OUTPUT: |
1565 | OUTPUT: |
1564 | RETVAL |
1566 | RETVAL |
1565 | |
1567 | |
1566 | int |
1568 | int |
1567 | rxvt_term::view_start (int newval = 1) |
1569 | rxvt_term::view_start (int newval = 0) |
1568 | PROTOTYPE: $;$ |
1570 | PROTOTYPE: $;$ |
1569 | CODE: |
1571 | CODE: |
1570 | { |
1572 | { |
1571 | RETVAL = THIS->view_start; |
1573 | RETVAL = THIS->view_start; |
1572 | |
1574 | if (items > 1) |
1573 | if (newval <= 0) |
|
|
1574 | THIS->scr_changeview (max (newval, THIS->top_row)); |
1575 | THIS->scr_changeview (newval); |
1575 | } |
1576 | } |
1576 | OUTPUT: |
1577 | OUTPUT: |
1577 | RETVAL |
1578 | RETVAL |
1578 | |
1579 | |
1579 | void |
1580 | void |