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.38 by pcg, Sun Feb 22 08:28:36 2004 UTC vs.
Revision 1.39 by pcg, Sun Feb 22 10:38:11 2004 UTC

269 * :............: 269 * :............:
270 * | 270 * |
271 * +---< SB_WIDTH_NEXT 271 * +---< SB_WIDTH_NEXT
272 */ 272 */
273 273
274enum {
274#define NO_REFRESH 0 /* Window not visible at all! */ 275 NO_REFRESH = 0 , /* Window not visible at all! */
275#define FAST_REFRESH (1<<0) /* Fully exposed window */ 276 FAST_REFRESH = 1<<0, /* Fully exposed window */
276#define SLOW_REFRESH (1<<1) /* Partially exposed window */ 277 SLOW_REFRESH = 1<<1, /* Partially exposed window */
277#define SMOOTH_REFRESH (1<<2) /* Do sync'ing to make it smooth */ 278 SMOOTH_REFRESH = 1<<2, /* Do sync'ing to make it smooth */
278#define REFRESH_BOUNDS (1<<3) 279 REFRESH_BOUNDS = 1<<3
280};
279 281
280#ifdef NO_SECONDARY_SCREEN 282#ifdef NO_SECONDARY_SCREEN
281# define NSCREENS 0 283# define NSCREENS 0
282#else 284#else
283# define NSCREENS 1 285# define NSCREENS 1
291#define FONT_CMD '#' 293#define FONT_CMD '#'
292#define FONT_DN "#-" 294#define FONT_DN "#-"
293#define FONT_UP "#+" 295#define FONT_UP "#+"
294 296
295/* flags for rxvt_scr_gotorc () */ 297/* flags for rxvt_scr_gotorc () */
298enum {
296#define C_RELATIVE 1 /* col movement is relative */ 299 C_RELATIVE = 1 , /* col movement is relative */
297#define R_RELATIVE 2 /* row movement is relative */ 300 R_RELATIVE = 2, /* row movement is relative */
298#define RELATIVE (R_RELATIVE|C_RELATIVE) 301 RELATIVE = 1 | 2
302};
299 303
300/* modes for rxvt_scr_insdel_chars (), rxvt_scr_insdel_lines () */ 304/* modes for rxvt_scr_insdel_chars (), rxvt_scr_insdel_lines () */
301#define INSERT -1 /* don't change these values */ 305enum {
302#define DELETE +1 306 INSERT = -1, /* don't change these values */
303#define ERASE +2 307 DELETE = +1,
308 ERASE = +2
309};
304 310
305/* modes for rxvt_scr_page () - scroll page. used by scrollbar window */ 311/* modes for rxvt_scr_page () - scroll page. used by scrollbar window */
306enum page_dirn { 312enum page_dirn {
307 UP, 313 UP,
308 DN, 314 DN,
1148 void scr_refresh (unsigned char refresh_type); 1154 void scr_refresh (unsigned char refresh_type);
1149 bool scr_refresh_rend (rend_t mask, rend_t value); 1155 bool scr_refresh_rend (rend_t mask, rend_t value);
1150 void scr_erase_screen (int mode); 1156 void scr_erase_screen (int mode);
1151 void scr_touch (bool refresh); 1157 void scr_touch (bool refresh);
1152 void scr_expose (int x, int y, int width, int height, bool refresh); 1158 void scr_expose (int x, int y, int width, int height, bool refresh);
1159 void scr_remap_chars ();
1160 void scr_remap_chars (text_t *tp, rend_t *rp);
1153 1161
1154 /* autoconvert */ 1162 /* autoconvert */
1155 1163
1156 // command.C 1164 // command.C
1157 void lookup_key (XKeyEvent &ev); 1165 void lookup_key (XKeyEvent &ev);
1160 void mouse_report (const XButtonEvent &ev); 1168 void mouse_report (const XButtonEvent &ev);
1161 void button_press (const XButtonEvent &ev); 1169 void button_press (const XButtonEvent &ev);
1162 void button_release (const XButtonEvent &ev); 1170 void button_release (const XButtonEvent &ev);
1163 int check_our_parents (); 1171 int check_our_parents ();
1164#ifdef PRINTPIPE 1172#ifdef PRINTPIPE
1165 FILE * popen_printer (); 1173 FILE *popen_printer ();
1166 int pclose_printer (FILE *stream); 1174 int pclose_printer (FILE *stream);
1167#endif 1175#endif
1168 void process_print_pipe (); 1176 void process_print_pipe ();
1169 void process_nonprinting (unsigned char ch); 1177 void process_nonprinting (unsigned char ch);
1170 void process_escape_vt52 (unsigned char ch); 1178 void process_escape_vt52 (unsigned char ch);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines