ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.162 by root, Sun Dec 18 00:59:42 2005 UTC vs.
Revision 1.165 by root, Tue Dec 20 22:27:49 2005 UTC

825#define Col2Pixel(col) ((int32_t)Width2Pixel(col)) 825#define Col2Pixel(col) ((int32_t)Width2Pixel(col))
826#define Row2Pixel(row) ((int32_t)Height2Pixel(row)) 826#define Row2Pixel(row) ((int32_t)Height2Pixel(row))
827#define Width2Pixel(n) ((int32_t)(n) * (int32_t)fwidth) 827#define Width2Pixel(n) ((int32_t)(n) * (int32_t)fwidth)
828#define Height2Pixel(n) ((int32_t)(n) * (int32_t)fheight) 828#define Height2Pixel(n) ((int32_t)(n) * (int32_t)fheight)
829 829
830#define TermWin_TotalWidth() ((int32_t)width) 830#define TermWin_TotalWidth() ((int32_t)this->width)
831#define TermWin_TotalHeight() ((int32_t)height) 831#define TermWin_TotalHeight() ((int32_t)this->height)
832
833#define LINENO(n) (((n) + term_start + total_rows) % total_rows)
834#define ROW(n) (save [LINENO (n)])
832 835
833/* how to build & extract colors and attributes */ 836/* how to build & extract colors and attributes */
834#define GET_BASEFG(x) (((x) & RS_fgMask)) 837#define GET_BASEFG(x) (((x) & RS_fgMask))
835#define GET_BASEBG(x) (((x) & RS_bgMask)>>Color_Bits) 838#define GET_BASEBG(x) (((x) & RS_bgMask)>>Color_Bits)
836#ifndef NO_BRIGHTCOLOR 839#ifndef NO_BRIGHTCOLOR
1494 1497
1495 if (ncol > prev_ncol) 1498 if (ncol > prev_ncol)
1496 scr_blank_line (l, prev_ncol, ncol - prev_ncol, DEFAULT_RSTYLE); 1499 scr_blank_line (l, prev_ncol, ncol - prev_ncol, DEFAULT_RSTYLE);
1497 } 1500 }
1498 1501
1499 void scr_update_term ();
1500 void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs); 1502 void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs);
1501 void scr_blank_screen_mem (line_t &l, rend_t efs); 1503 void scr_blank_screen_mem (line_t &l, rend_t efs);
1502 int scr_scroll_text (int row1, int row2, int count, int spec); 1504 int scr_scroll_text (int row1, int row2, int count);
1503 void scr_reset (); 1505 void scr_reset ();
1504 void scr_reset_realloc (); 1506 void scr_reset_realloc ();
1505 void scr_release (); 1507 void scr_release ();
1506 void scr_clear (bool really = false); 1508 void scr_clear (bool really = false);
1507 void scr_refresh (unsigned char refresh_type); 1509 void scr_refresh (unsigned char refresh_type);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines