… | |
… | |
627 | |
627 | |
628 | PROTOTYPES: ENABLE |
628 | PROTOTYPES: ENABLE |
629 | |
629 | |
630 | BOOT: |
630 | BOOT: |
631 | { |
631 | { |
632 | sv_setsv (get_sv ("urxvt::LIBDIR", 1), newSVpvn (LIBDIR, sizeof (LIBDIR) - 1)); |
632 | sv_setsv (get_sv ("urxvt::LIBDIR", 1), newSVpvn (LIBDIR, sizeof (LIBDIR) - 1)); |
|
|
633 | sv_setsv (get_sv ("urxvt::RESNAME", 1), newSVpvn (RESNAME, sizeof (RESNAME) - 1)); |
|
|
634 | sv_setsv (get_sv ("urxvt::RESCLASS", 1), newSVpvn (RESCLASS, sizeof (RESCLASS) - 1)); |
|
|
635 | sv_setsv (get_sv ("urxvt::RXVTNAME", 1), newSVpvn (RXVTNAME, sizeof (RXVTNAME) - 1)); |
633 | |
636 | |
634 | AV *hookname = get_av ("urxvt::HOOKNAME", 1); |
637 | AV *hookname = get_av ("urxvt::HOOKNAME", 1); |
635 | # define def(sym) av_store (hookname, HOOK_ ## sym, newSVpv (# sym, 0)); |
638 | # define def(sym) av_store (hookname, HOOK_ ## sym, newSVpv (# sym, 0)); |
636 | # include "hookinc.h" |
639 | # include "hookinc.h" |
637 | # undef def |
640 | # undef def |
… | |
… | |
1315 | if (ix) |
1318 | if (ix) |
1316 | THIS->want_refresh = 1; |
1319 | THIS->want_refresh = 1; |
1317 | } |
1320 | } |
1318 | } |
1321 | } |
1319 | |
1322 | |
|
|
1323 | char |
|
|
1324 | rxvt_term::cur_charset () |
|
|
1325 | CODE: |
|
|
1326 | RETVAL = THIS->charsets [THIS->screen.charset]; |
|
|
1327 | OUTPUT: |
|
|
1328 | RETVAL |
|
|
1329 | |
1320 | int |
1330 | int |
1321 | rxvt_term::selection_grab (U32 eventtime) |
1331 | rxvt_term::selection_grab (U32 eventtime) |
1322 | |
1332 | |
1323 | void |
1333 | void |
1324 | rxvt_term::selection (SV *newtext = 0) |
1334 | rxvt_term::selection (SV *newtext = 0) |
… | |
… | |
1335 | |
1345 | |
1336 | THIS->selection.text = sv2wcs (newtext); |
1346 | THIS->selection.text = sv2wcs (newtext); |
1337 | THIS->selection.len = wcslen (THIS->selection.text); |
1347 | THIS->selection.len = wcslen (THIS->selection.text); |
1338 | } |
1348 | } |
1339 | } |
1349 | } |
|
|
1350 | |
|
|
1351 | void |
|
|
1352 | rxvt_term::scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, U32 rstyle1 = RS_RVid, U32 rstyle2 = RS_RVid | RS_Uline) |
|
|
1353 | |
|
|
1354 | void |
|
|
1355 | rxvt_term::scr_xor_span (int beg_row, int beg_col, int end_row, int end_col, U32 rstyle = RS_RVid) |
1340 | |
1356 | |
1341 | void |
1357 | void |
1342 | rxvt_term::scr_bell () |
1358 | rxvt_term::scr_bell () |
1343 | |
1359 | |
1344 | void |
1360 | void |