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.37 by pcg, Sun Feb 22 08:09:38 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,
367#define XTerm_font 50 373#define XTerm_font 50
368 374
369/* 375/*
370 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) 376 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL)
371 */ 377 */
378#define XTerm_locale 9 /* change locale */
372#define XTerm_Menu 10 /* set menu item */ 379#define XTerm_Menu 10 /* set menu item */
373#define XTerm_Pixmap 20 /* new bg pixmap */ 380#define XTerm_Pixmap 20 /* new bg pixmap */
374#define XTerm_restoreFG 39 /* change default fg color */ 381#define XTerm_restoreFG 39 /* change default fg color */
375#define XTerm_restoreBG 49 /* change default bg color */ 382#define XTerm_restoreBG 49 /* change default bg color */
376#define XTerm_dumpscreen 55 /* dump scrollback and all of screen */ 383#define XTerm_dumpscreen 55 /* dump scrollback and all of screen */
1147 void scr_refresh (unsigned char refresh_type); 1154 void scr_refresh (unsigned char refresh_type);
1148 bool scr_refresh_rend (rend_t mask, rend_t value); 1155 bool scr_refresh_rend (rend_t mask, rend_t value);
1149 void scr_erase_screen (int mode); 1156 void scr_erase_screen (int mode);
1150 void scr_touch (bool refresh); 1157 void scr_touch (bool refresh);
1151 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);
1152 1161
1153 /* autoconvert */ 1162 /* autoconvert */
1154 1163
1155 // command.C 1164 // command.C
1156 void lookup_key (XKeyEvent &ev); 1165 void lookup_key (XKeyEvent &ev);
1159 void mouse_report (const XButtonEvent &ev); 1168 void mouse_report (const XButtonEvent &ev);
1160 void button_press (const XButtonEvent &ev); 1169 void button_press (const XButtonEvent &ev);
1161 void button_release (const XButtonEvent &ev); 1170 void button_release (const XButtonEvent &ev);
1162 int check_our_parents (); 1171 int check_our_parents ();
1163#ifdef PRINTPIPE 1172#ifdef PRINTPIPE
1164 FILE * popen_printer (); 1173 FILE *popen_printer ();
1165 int pclose_printer (FILE *stream); 1174 int pclose_printer (FILE *stream);
1166#endif 1175#endif
1167 void process_print_pipe (); 1176 void process_print_pipe ();
1168 void process_nonprinting (unsigned char ch); 1177 void process_nonprinting (unsigned char ch);
1169 void process_escape_vt52 (unsigned char ch); 1178 void process_escape_vt52 (unsigned char ch);
1186 void cleanutent (); 1195 void cleanutent ();
1187 // main.C; 1196 // main.C;
1188 void privileges (int mode); 1197 void privileges (int mode);
1189 void privileged_utmp (char action); 1198 void privileged_utmp (char action);
1190 void privileged_ttydev (char action); 1199 void privileged_ttydev (char action);
1191 void change_font (int init, const char *fontname); 1200 bool change_font (const char *fontname);
1192 void font_up_down (int n, int direction); 1201 bool font_up_down (int n, int direction);
1193 void set_title (const char *str); 1202 void set_title (const char *str);
1194 void set_iconName (const char *str); 1203 void set_iconName (const char *str);
1195 void set_window_color (int idx, const char *color); 1204 void set_window_color (int idx, const char *color);
1196 void set_colorfgbg (); 1205 void set_colorfgbg ();
1197 int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour); 1206 int rXParseAllocColor (rxvt_color * screen_in_out, const char *colour);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines