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.22 by pcg, Mon Jan 19 17:26:43 2004 UTC vs.
Revision 1.25 by pcg, Thu Jan 29 23:26:01 2004 UTC

337#define Sel_direct 0x00 337#define Sel_direct 0x00
338#define Sel_Primary 0x01 338#define Sel_Primary 0x01
339#define Sel_Secondary 0x02 339#define Sel_Secondary 0x02
340#define Sel_Clipboard 0x03 340#define Sel_Clipboard 0x03
341#define Sel_whereMask 0x0f 341#define Sel_whereMask 0x0f
342#define Sel_CompoundText 0x10 /* last request was Compound */ 342#define Sel_CompoundText 0x10 /* last request was COMPOUND_TEXT */
343#define Sel_UTF8String 0x20 /* last request was UTF8_STRING */
343 344
344enum { 345enum {
345 C0_NUL = 0x00, 346 C0_NUL = 0x00,
346 C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL, 347 C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL,
347 C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI , 348 C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI ,
542 Rs_pointerBlankDelay, 543 Rs_pointerBlankDelay,
543 Rs_imLocale, 544 Rs_imLocale,
544 NUM_RESOURCES 545 NUM_RESOURCES
545}; 546};
546 547
548// see init.C:xa_named, which must be kept in sync
547enum { 549enum {
550 XA_TEXT = 0,
548 XA_COMPOUND_TEXT = 0, 551 XA_COMPOUND_TEXT,
552 XA_UTF8_STRING,
549 XA_MULTIPLE, 553 XA_MULTIPLE,
550 XA_TARGETS, 554 XA_TARGETS,
551 XA_TEXT,
552 XA_TIMESTAMP, 555 XA_TIMESTAMP,
553 XA_VT_SELECTION, 556 XA_VT_SELECTION,
554 XA_INCR, 557 XA_INCR,
555 XA_WMDELETEWINDOW, 558 XA_WMDELETEWINDOW,
556#ifdef TRANSPARENT 559#ifdef TRANSPARENT
561 XA_DNDSELECTION, 564 XA_DNDSELECTION,
562#endif /* OFFIX_DND */ 565#endif /* OFFIX_DND */
563 XA_CLIPBOARD, 566 XA_CLIPBOARD,
564 NUM_XA 567 NUM_XA
565}; 568};
566
567/*
568 * number of graphics points
569 * divisible by 2 (num lines)
570 * divisible by 4 (num rect)
571 */
572#define NGRX_PTS 1000
573 569
574/* DEC private modes */ 570/* DEC private modes */
575#define PrivMode_132 (1LU<<0) 571#define PrivMode_132 (1LU<<0)
576#define PrivMode_132OK (1LU<<1) 572#define PrivMode_132OK (1LU<<1)
577#define PrivMode_rVideo (1LU<<2) 573#define PrivMode_rVideo (1LU<<2)
808#ifdef MENUBAR 804#ifdef MENUBAR
809# include "menubar.h" 805# include "menubar.h"
810#endif 806#endif
811 807
812#define BLINK_INTERVAL 0.5 808#define BLINK_INTERVAL 0.5
809#define TEXT_BLINK_INTERVAL 0.5
813 810
814struct mbstate { 811struct mbstate {
815 mbstate_t mbs; 812 mbstate_t mbs;
816 813
817 mbstate () 814 mbstate ()
835 hate_those_clicks:1, /* a.k.a. keep mark position */ 832 hate_those_clicks:1, /* a.k.a. keep mark position */
836 num_scr_allow:1, 833 num_scr_allow:1,
837 bypass_keystate:1, 834 bypass_keystate:1,
838#ifdef CURSOR_BLINK 835#ifdef CURSOR_BLINK
839 hidden_cursor:1, 836 hidden_cursor:1,
837#endif
838#ifdef TEXT_BLINK
839 hidden_text:1,
840#endif 840#endif
841#ifdef POINTER_BLANK 841#ifdef POINTER_BLANK
842 hidden_pointer:1, 842 hidden_pointer:1,
843#endif 843#endif
844 parsed_geometry:1, 844 parsed_geometry:1,
1069 void x_cb (io_watcher &w, short revents); io_watcher x_ev; 1069 void x_cb (io_watcher &w, short revents); io_watcher x_ev;
1070 1070
1071 void incr_cb (time_watcher &w); time_watcher incr_ev; 1071 void incr_cb (time_watcher &w); time_watcher incr_ev;
1072 1072
1073#ifdef CURSOR_BLINK 1073#ifdef CURSOR_BLINK
1074 void cursor_blink_cb (time_watcher &w); time_watcher cursor_blink_ev;
1075#endif
1076#ifdef TEXT_BLINK
1074 void blink_cb (time_watcher &w); time_watcher blink_ev; 1077 void text_blink_cb (time_watcher &w); time_watcher text_blink_ev;
1075#endif 1078#endif
1076 1079
1077#ifdef POINTER_BLANK 1080#ifdef POINTER_BLANK
1078 void pointer_cb (time_watcher &w); time_watcher pointer_ev; 1081 void pointer_cb (time_watcher &w); time_watcher pointer_ev;
1079 void pointer_blank (); 1082 void pointer_blank ();
1137 void scr_reset (); 1140 void scr_reset ();
1138 void scr_reset_realloc (); 1141 void scr_reset_realloc ();
1139 void scr_release (); 1142 void scr_release ();
1140 void scr_clear (); 1143 void scr_clear ();
1141 void scr_refresh (unsigned char refresh_type); 1144 void scr_refresh (unsigned char refresh_type);
1145 bool scr_refresh_rend (rend_t mask, rend_t value);
1142 void scr_erase_screen (int mode); 1146 void scr_erase_screen (int mode);
1143 void scr_touch (bool refresh); 1147 void scr_touch (bool refresh);
1144 void scr_expose (int x, int y, int width, int height, bool refresh); 1148 void scr_expose (int x, int y, int width, int height, bool refresh);
1145}; 1149};
1146 1150

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines