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.3 by pcg, Tue Nov 25 11:52:42 2003 UTC vs.
Revision 1.5 by pcg, Tue Nov 25 15:44:39 2003 UTC

1/* 1/*
2 * $Id: rxvt.h,v 1.3 2003/11/25 11:52:42 pcg Exp $ 2 * $Id: rxvt.h,v 1.5 2003/11/25 15:44:39 pcg Exp $
3 */ 3 */
4 4
5#ifndef _RXVT_H_ /* include once only */ 5#ifndef _RXVT_H_ /* include once only */
6#define _RXVT_H_ 6#define _RXVT_H_
7 7
839 */ 839 */
840#ifdef MENUBAR 840#ifdef MENUBAR
841# include "menubar.h" 841# include "menubar.h"
842#endif 842#endif
843 843
844#define BLINK_INTERVAL 0.5
845
844struct mbstate { 846struct mbstate {
845 unsigned char orig; 847 unsigned char orig;
846 uint32_t reg; 848 uint32_t reg;
847 int cnt; 849 int cnt;
848 850
1114 unsigned char kbuf[KBUFSZ]; 1116 unsigned char kbuf[KBUFSZ];
1115 1117
1116 void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; 1118 void pty_cb (io_watcher &w, short revents); io_watcher pty_ev;
1117 void x_cb (io_watcher &w, short revents); io_watcher x_ev; 1119 void x_cb (io_watcher &w, short revents); io_watcher x_ev;
1118 1120
1121#ifdef CURSOR_BLINK
1122 void blink_cb (time_watcher &w); time_watcher blink_ev;
1123#endif
1124
1125 void flush ();
1126
1119 rxvt_term (); 1127 rxvt_term ();
1120 ~rxvt_term (); 1128 ~rxvt_term ();
1121 1129
1130 bool init (int argc, const char *const *argv);
1131 bool init_vars ();
1132
1133 uint32_t next_char ();
1134
1135 bool pty_fill (size_t count);
1122 void process_x_events (); 1136 void process_x_events ();
1123 1137
1124 void *operator new (size_t s); 1138 void *operator new (size_t s);
1125 void operator delete (void *p, size_t s); 1139 void operator delete (void *p, size_t s);
1126}; 1140};
1149#ifdef DEBUG_malloc 1163#ifdef DEBUG_malloc
1150# include "dmalloc.h" /* This comes last */ 1164# include "dmalloc.h" /* This comes last */
1151#endif 1165#endif
1152 1166
1153#endif /* _RXVT_H_ */ 1167#endif /* _RXVT_H_ */
1168

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines