… | |
… | |
1328 | int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour); |
1328 | int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour); |
1329 | void set_widthheight (unsigned int newwidth, unsigned int newheight); |
1329 | void set_widthheight (unsigned int newwidth, unsigned int newheight); |
1330 | |
1330 | |
1331 | // screen.C |
1331 | // screen.C |
1332 | |
1332 | |
1333 | void lalloc (line_t &l) const NOTHROW |
1333 | void lalloc (line_t &l) const |
1334 | { |
1334 | { |
1335 | l.t = (text_t *)talloc->alloc (); |
1335 | l.t = (text_t *)talloc->alloc (); |
1336 | l.r = (rend_t *)ralloc->alloc (); |
1336 | l.r = (rend_t *)ralloc->alloc (); |
1337 | } |
1337 | } |
1338 | |
1338 | |
… | |
… | |
1342 | talloc->free (l.t); |
1342 | talloc->free (l.t); |
1343 | ralloc->free (l.r); |
1343 | ralloc->free (l.r); |
1344 | } |
1344 | } |
1345 | #endif |
1345 | #endif |
1346 | |
1346 | |
1347 | void lresize (line_t &l) const NOTHROW |
1347 | void lresize (line_t &l) const |
1348 | { |
1348 | { |
1349 | if (!l.t) |
1349 | if (!l.t) |
1350 | return; |
1350 | return; |
1351 | |
1351 | |
1352 | l.t = (text_t *)talloc->alloc (l.t, prev_ncol * sizeof (text_t)); |
1352 | l.t = (text_t *)talloc->alloc (l.t, prev_ncol * sizeof (text_t)); |
… | |
… | |
1420 | void scr_remap_chars () NOTHROW; |
1420 | void scr_remap_chars () NOTHROW; |
1421 | void scr_remap_chars (line_t &l) NOTHROW; |
1421 | void scr_remap_chars (line_t &l) NOTHROW; |
1422 | |
1422 | |
1423 | enum cursor_mode { SAVE, RESTORE }; |
1423 | enum cursor_mode { SAVE, RESTORE }; |
1424 | |
1424 | |
1425 | void scr_poweron () NOTHROW; |
1425 | void scr_poweron (); |
1426 | void scr_cursor (cursor_mode mode) NOTHROW; |
1426 | void scr_cursor (cursor_mode mode) NOTHROW; |
1427 | void scr_do_wrap () NOTHROW; |
1427 | void scr_do_wrap () NOTHROW; |
|
|
1428 | void scr_swap_screen () NOTHROW; |
1428 | int scr_change_screen (int scrn) NOTHROW; |
1429 | void scr_change_screen (int scrn); |
1429 | void scr_color (unsigned int color, int fgbg) NOTHROW; |
1430 | void scr_color (unsigned int color, int fgbg) NOTHROW; |
1430 | void scr_rendition (int set, int style) NOTHROW; |
1431 | void scr_rendition (int set, int style) NOTHROW; |
1431 | void scr_add_lines (const wchar_t *str, int len, int minlines = 0) NOTHROW; |
1432 | void scr_add_lines (const wchar_t *str, int len, int minlines = 0) NOTHROW; |
1432 | void scr_backspace () NOTHROW; |
1433 | void scr_backspace () NOTHROW; |
1433 | void scr_tab (int count, bool ht = false) NOTHROW; |
1434 | void scr_tab (int count, bool ht = false) NOTHROW; |