… | |
… | |
990 | mouse_slip_wheel_speed, |
990 | mouse_slip_wheel_speed, |
991 | #endif |
991 | #endif |
992 | refresh_count, |
992 | refresh_count, |
993 | window_vt_x, |
993 | window_vt_x, |
994 | window_vt_y, |
994 | window_vt_y, |
995 | window_sb_x, |
|
|
996 | mouse_row, |
995 | mouse_row, |
997 | mouse_col, |
996 | mouse_col, |
998 | # ifdef POINTER_BLANK |
997 | # ifdef POINTER_BLANK |
999 | pointerBlankDelay, |
998 | pointerBlankDelay, |
1000 | # endif |
999 | # endif |
… | |
… | |
1007 | old_height; /* last used height in screen resize */ |
1006 | old_height; /* last used height in screen resize */ |
1008 | unsigned long priv_modes, |
1007 | unsigned long priv_modes, |
1009 | SavedModes; |
1008 | SavedModes; |
1010 | /* ---------- */ |
1009 | /* ---------- */ |
1011 | Atom *xa; |
1010 | Atom *xa; |
1012 | /* ---------- */ |
|
|
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 | /* ---------- */ |
1011 | /* ---------- */ |
1038 | Time selection_time, |
1012 | Time selection_time, |
1039 | selection_request_time; |
1013 | selection_request_time; |
1040 | pid_t cmd_pid; /* process id of child */ |
1014 | pid_t cmd_pid; /* process id of child */ |
1041 | char * incr_buf; |
1015 | char * incr_buf; |
… | |
… | |
1356 | options[opt >> 3] |= (1 << (opt & 7)); |
1330 | options[opt >> 3] |= (1 << (opt & 7)); |
1357 | else |
1331 | else |
1358 | options[opt >> 3] &= ~(1 << (opt & 7)); |
1332 | options[opt >> 3] &= ~(1 << (opt & 7)); |
1359 | } |
1333 | } |
1360 | |
1334 | |
1361 | void PrivMode (int set, unsigned bit) NOTHROW |
1335 | void set_privmode (unsigned bit, int set) NOTHROW |
1362 | { |
1336 | { |
1363 | if (set) |
1337 | if (set) |
1364 | priv_modes |= bit; |
1338 | priv_modes |= bit; |
1365 | else |
1339 | else |
1366 | priv_modes &= ~bit; |
1340 | priv_modes &= ~bit; |
… | |
… | |
1442 | void selection_send (const XSelectionRequestEvent &rq) NOTHROW; |
1416 | void selection_send (const XSelectionRequestEvent &rq) NOTHROW; |
1443 | void selection_click (int clicks, int x, int y) NOTHROW; |
1417 | void selection_click (int clicks, int x, int y) NOTHROW; |
1444 | void selection_extend (int x, int y, int flag) NOTHROW; |
1418 | void selection_extend (int x, int y, int flag) NOTHROW; |
1445 | void selection_rotate (int x, int y) NOTHROW; |
1419 | void selection_rotate (int x, int y) NOTHROW; |
1446 | |
1420 | |
1447 | #if defined(NEXT_SCROLLBAR) |
|
|
1448 | // scrollbar-next.C |
|
|
1449 | Pixmap renderPixmap (const char *const *data, int width, int height); |
|
|
1450 | void init_scrollbar_stuff (); |
|
|
1451 | void drawBevel (Drawable d, int x1, int y1, int w, int h); |
|
|
1452 | int scrollbar_show_next (int update, int last_top, int last_bot, int scrollbar_len); |
|
|
1453 | #endif |
|
|
1454 | |
|
|
1455 | #if defined(RXVT_SCROLLBAR) |
|
|
1456 | // scrollbar-rxvt.C |
|
|
1457 | int scrollbar_show_rxvt (int update, int last_top, int last_bot, int scrollbar_len); |
|
|
1458 | #endif |
|
|
1459 | |
|
|
1460 | #if defined(XTERM_SCROLLBAR) |
|
|
1461 | // scrollbar-xterm.C |
|
|
1462 | int scrollbar_show_xterm (int update, int last_top, int last_bot, int scrollbar_len); |
|
|
1463 | #endif |
|
|
1464 | |
|
|
1465 | #if defined(PLAIN_SCROLLBAR) |
|
|
1466 | // scrollbar-plain.C |
|
|
1467 | int scrollbar_show_plain (int update, int last_top, int last_bot, int scrollbar_len); |
|
|
1468 | #endif |
|
|
1469 | |
|
|
1470 | // scrollbar.C |
|
|
1471 | void resize_scrollbar (); |
|
|
1472 | int scrollbar_mapping (int map); |
|
|
1473 | int scrollbar_show (int update); |
|
|
1474 | |
|
|
1475 | // xdefaults.C |
1421 | // xdefaults.C |
1476 | void get_options (int argc, const char *const *argv); |
1422 | void get_options (int argc, const char *const *argv); |
1477 | int parse_keysym (const char *str, const char *arg); |
1423 | int parse_keysym (const char *str, const char *arg); |
1478 | const char *x_resource (const char *name); |
1424 | const char *x_resource (const char *name); |
1479 | void extract_resources (); |
1425 | void extract_resources (); |