--- rxvt-unicode/src/rxvt.h 2003/11/25 11:52:42 1.3 +++ rxvt-unicode/src/rxvt.h 2003/11/25 17:11:33 1.6 @@ -1,5 +1,5 @@ /* - * $Id: rxvt.h,v 1.3 2003/11/25 11:52:42 pcg Exp $ + * $Id: rxvt.h,v 1.6 2003/11/25 17:11:33 pcg Exp $ */ #ifndef _RXVT_H_ /* include once only */ @@ -841,6 +841,8 @@ # include "menubar.h" #endif +#define BLINK_INTERVAL 0.5 + struct mbstate { unsigned char orig; uint32_t reg; @@ -1018,9 +1020,9 @@ gid_t egid; #endif /* ---------- */ - Cursor pointer_leftptr; + Cursor leftptr_cursor; #ifdef POINTER_BLANK - Cursor pointer_blank; + Cursor blank_cursor; #endif /* ---------- */ const char *ttydev; /* pty/tty name */ @@ -1116,9 +1118,27 @@ void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; void x_cb (io_watcher &w, short revents); io_watcher x_ev; +#ifdef CURSOR_BLINK + void blink_cb (time_watcher &w); time_watcher blink_ev; +#endif + +#ifdef POINTER_BLANK + void pointer_cb (time_watcher &w); time_watcher pointer_ev; + void pointer_blank (); + void pointer_unblank (); +#endif + + void flush (); + rxvt_term (); ~rxvt_term (); + bool init (int argc, const char *const *argv); + bool init_vars (); + + uint32_t next_char (); + + bool pty_fill (size_t count); void process_x_events (); void *operator new (size_t s); @@ -1151,3 +1171,4 @@ #endif #endif /* _RXVT_H_ */ +