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.357 by ayin, Wed Feb 6 12:05:59 2008 UTC vs.
Revision 1.367 by root, Wed Oct 15 14:48:22 2008 UTC

419 URxvt_boldItalicFont = 713, 419 URxvt_boldItalicFont = 713,
420 420
421 URxvt_view_up = 720, 421 URxvt_view_up = 720,
422 URxvt_view_down = 721, 422 URxvt_view_down = 721,
423 423
424 URxvt_perl = 777, 424 URxvt_perl = 777, // for use by perl extensions, starts with "extension-name;"
425}; 425};
426 426
427/* Words starting with `Color_' are colours. Others are counts */ 427/* Words starting with `Color_' are colours. Others are counts */
428/* 428/*
429 * The PixColor and rendition colour usage should probably be decoupled 429 * The PixColor and rendition colour usage should probably be decoupled
801 * +------------+·display·+·= term_start 801 * +------------+·display·+·= term_start
802 * | terminal | display | 802 * | terminal | display |
803 * | terminal +---------+ 803 * | terminal +---------+
804 * | terminal | 804 * | terminal |
805 * | terminal | 805 * | terminal |
806 * +------------+···········= term_stat + nrow - 1 806 * +------------+···········= term_start + nrow - 1
807 * | 807 * |
808 * | 808 * |
809 * END······················= total_rows 809 * END······················= total_rows
810 */ 810 */
811 811
847 * clicks: 1, 2 or 3 clicks - 4 indicates a special condition of 1 where 847 * clicks: 1, 2 or 3 clicks - 4 indicates a special condition of 1 where
848 * nothing is selected 848 * nothing is selected
849 * beg: row/column of beginning of selection : never past mark 849 * beg: row/column of beginning of selection : never past mark
850 * mark: row/column of initial click : never past end 850 * mark: row/column of initial click : never past end
851 * end: row/column of one character past end of selection 851 * end: row/column of one character past end of selection
852 * * Note: -nsaved <= beg.row <= mark.row <= end.row < nrow 852 * * Note: top_row <= beg.row <= mark.row <= end.row < nrow
853 * * Note: col == -1 ==> we're left of screen 853 * * Note: col == -1 ==> we're left of screen
854 * 854 *
855 */ 855 */
856typedef struct { 856typedef struct {
857 row_col_t cur; /* cursor position on the screen */ 857 row_col_t cur; /* cursor position on the screen */
943 943
944 unsigned char want_refresh:1, 944 unsigned char want_refresh:1,
945 current_screen:1, /* primary or secondary */ 945 current_screen:1, /* primary or secondary */
946 num_scr_allow:1, 946 num_scr_allow:1,
947 bypass_keystate:1, 947 bypass_keystate:1,
948#ifdef ENABLE_FRILLS
949 urgency_hint:1,
950#endif
948#ifdef CURSOR_BLINK 951#ifdef CURSOR_BLINK
949 hidden_cursor:1, 952 hidden_cursor:1,
950#endif 953#endif
951#ifdef TEXT_BLINK 954#ifdef TEXT_BLINK
952 hidden_text:1, 955 hidden_text:1,
990 mouse_slip_wheel_speed, 993 mouse_slip_wheel_speed,
991#endif 994#endif
992 refresh_count, 995 refresh_count,
993 window_vt_x, 996 window_vt_x,
994 window_vt_y, 997 window_vt_y,
995 window_sb_x,
996 mouse_row, 998 mouse_row,
997 mouse_col, 999 mouse_col,
998# ifdef POINTER_BLANK 1000# ifdef POINTER_BLANK
999 pointerBlankDelay, 1001 pointerBlankDelay,
1000# endif 1002# endif
1008 unsigned long priv_modes, 1010 unsigned long priv_modes,
1009 SavedModes; 1011 SavedModes;
1010/* ---------- */ 1012/* ---------- */
1011 Atom *xa; 1013 Atom *xa;
1012/* ---------- */ 1014/* ---------- */
1013#ifdef RXVT_SCROLLBAR
1014 GC scrollbarGC,
1015 topShadowGC,
1016 botShadowGC;
1017#endif
1018#ifdef XTERM_SCROLLBAR
1019 GC xscrollbarGC,
1020 ShadowGC;
1021#endif
1022#ifdef PLAIN_SCROLLBAR
1023 GC pscrollbarGC;
1024#endif
1025#ifdef NEXT_SCROLLBAR
1026 GC blackGC,
1027 whiteGC,
1028 grayGC,
1029 darkGC,
1030 stippleGC;
1031 Pixmap dimple,
1032 upArrow,
1033 downArrow,
1034 upArrowHi,
1035 downArrowHi;
1036#endif
1037/* ---------- */
1038 Time selection_time, 1015 Time selection_time,
1039 selection_request_time; 1016 selection_request_time;
1040 pid_t cmd_pid; /* process id of child */ 1017 pid_t cmd_pid; /* process id of child */
1041 char * incr_buf; 1018 char * incr_buf;
1042 size_t incr_buf_size, incr_buf_fill; 1019 size_t incr_buf_size, incr_buf_fill;
1102 1079
1103#if ENABLE_FRILLS || ISO_14755 1080#if ENABLE_FRILLS || ISO_14755
1104 // ISO 14755 entry support 1081 // ISO 14755 entry support
1105 unicode_t iso14755buf; 1082 unicode_t iso14755buf;
1106 void commit_iso14755 (); 1083 void commit_iso14755 ();
1107 int hex_keyval (XKeyEvent &ev);
1108# if ISO_14755 1084# if ISO_14755
1109 void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); 1085 void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1);
1110 void iso14755_54 (int x, int y); 1086 void iso14755_54 (int x, int y);
1111# endif 1087# endif
1112#endif 1088#endif
1222 void mouse_report (XButtonEvent &ev); 1198 void mouse_report (XButtonEvent &ev);
1223 void button_press (XButtonEvent &ev); 1199 void button_press (XButtonEvent &ev);
1224 void button_release (XButtonEvent &ev); 1200 void button_release (XButtonEvent &ev);
1225 void focus_in (); 1201 void focus_in ();
1226 void focus_out (); 1202 void focus_out ();
1203 void set_urgency (bool enable);
1227 void update_fade_color (unsigned int idx); 1204 void update_fade_color (unsigned int idx);
1228#ifdef PRINTPIPE 1205#ifdef PRINTPIPE
1229 FILE *popen_printer (); 1206 FILE *popen_printer ();
1230 int pclose_printer (FILE *stream); 1207 int pclose_printer (FILE *stream);
1231#endif 1208#endif
1254 void init_command (const char *const *argv); 1231 void init_command (const char *const *argv);
1255 void run_command (const char *const *argv); 1232 void run_command (const char *const *argv);
1256 int run_child (const char *const *argv); 1233 int run_child (const char *const *argv);
1257 void color_aliases (int idx); 1234 void color_aliases (int idx);
1258 void create_windows (int argc, const char *const *argv); 1235 void create_windows (int argc, const char *const *argv);
1259 void Get_Colours (); 1236 void get_colours ();
1260 void get_ourmods (); 1237 void get_ourmods ();
1261 // main.C 1238 // main.C
1262 void tt_winch (); 1239 void tt_winch ();
1263 rxvt_term (); 1240 rxvt_term ();
1264 ~rxvt_term (); 1241 ~rxvt_term ();
1357 options[opt >> 3] |= (1 << (opt & 7)); 1334 options[opt >> 3] |= (1 << (opt & 7));
1358 else 1335 else
1359 options[opt >> 3] &= ~(1 << (opt & 7)); 1336 options[opt >> 3] &= ~(1 << (opt & 7));
1360 } 1337 }
1361 1338
1362 void PrivMode (int set, unsigned bit) NOTHROW 1339 void set_privmode (unsigned bit, int set) NOTHROW
1363 { 1340 {
1364 if (set) 1341 if (set)
1365 priv_modes |= bit; 1342 priv_modes |= bit;
1366 else 1343 else
1367 priv_modes &= ~bit; 1344 priv_modes &= ~bit;
1443 void selection_send (const XSelectionRequestEvent &rq) NOTHROW; 1420 void selection_send (const XSelectionRequestEvent &rq) NOTHROW;
1444 void selection_click (int clicks, int x, int y) NOTHROW; 1421 void selection_click (int clicks, int x, int y) NOTHROW;
1445 void selection_extend (int x, int y, int flag) NOTHROW; 1422 void selection_extend (int x, int y, int flag) NOTHROW;
1446 void selection_rotate (int x, int y) NOTHROW; 1423 void selection_rotate (int x, int y) NOTHROW;
1447 1424
1448#if defined(NEXT_SCROLLBAR)
1449 // scrollbar-next.C
1450 Pixmap renderPixmap (const char *const *data, int width, int height);
1451 void init_scrollbar_stuff ();
1452 void drawBevel (Drawable d, int x1, int y1, int w, int h);
1453 int scrollbar_show_next (int update, int last_top, int last_bot, int scrollbar_len);
1454#endif
1455
1456#if defined(RXVT_SCROLLBAR)
1457 // scrollbar-rxvt.C
1458 int scrollbar_show_rxvt (int update, int last_top, int last_bot, int scrollbar_len);
1459#endif
1460
1461#if defined(XTERM_SCROLLBAR)
1462 // scrollbar-xterm.C
1463 int scrollbar_show_xterm (int update, int last_top, int last_bot, int scrollbar_len);
1464#endif
1465
1466#if defined(PLAIN_SCROLLBAR)
1467 // scrollbar-plain.C
1468 int scrollbar_show_plain (int update, int last_top, int last_bot, int scrollbar_len);
1469#endif
1470
1471 // scrollbar.C
1472 void resize_scrollbar ();
1473 int scrollbar_mapping (int map);
1474 int scrollbar_show (int update);
1475
1476 // xdefaults.C 1425 // xdefaults.C
1477 void get_options (int argc, const char *const *argv); 1426 void get_options (int argc, const char *const *argv);
1478 int parse_keysym (const char *str, const char *arg); 1427 int parse_keysym (const char *str, const char *arg);
1479 const char *x_resource (const char *name); 1428 const char *x_resource (const char *name);
1480 void extract_resources (); 1429 void extract_resources ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines