ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtlib.h.in
(Generate patch)

Comparing rxvt-unicode/src/rxvtlib.h.in (file contents):
Revision 1.9 by pcg, Sat Jan 31 00:20:21 2004 UTC vs.
Revision 1.12 by pcg, Tue Feb 24 00:44:23 2004 UTC

1#ifndef _RXVTLIB_H_ /* include once only */ 1#ifndef _RXVTLIB_H_ /* include once only */
2#define _RXVTLIB_H_ 2#define _RXVTLIB_H_
3
4/*
5 * section 1 generated by GNU autoconf for @build@
6 * this section may be changed as appropriate _before_ building
7 */
8/*****************************************************************************
9 * SECTION 1 *
10 *****************************************************************************/
11
12/*
13 * The following line MUST not be changed without also changing
14 * config.h in the main directory before building
15 */
16// none anymore
17
18/*****************************************************************************
19 * INCLUDES *
20 *****************************************************************************/
21 3
22#include <stdio.h> 4#include <stdio.h>
23#include <ctype.h> 5#include <ctype.h>
24#include <errno.h> 6#include <errno.h>
25@include_stdarg_h@ 7@include_stdarg_h@
56/* whatever normal size corresponds to a integer pointer */ 38/* whatever normal size corresponds to a integer pointer */
57@rxvt_intp_define@ 39@rxvt_intp_define@
58/* whatever normal size corresponds to a unsigned integer pointer */ 40/* whatever normal size corresponds to a unsigned integer pointer */
59@rxvt_u_intp_define@ 41@rxvt_u_intp_define@
60 42
61/*****************************************************************************
62 * SECTION 2 *
63 * DO NOT TOUCH ANYTHING BELOW HERE *
64 *****************************************************************************/
65
66struct rxvt_fontset; 43struct rxvt_fontset;
67struct rxvt_color; 44struct rxvt_color;
68struct rxvt_vars; /* defined later on */ 45struct rxvt_vars; /* defined later on */
69struct rxvt_term; 46struct rxvt_term;
47struct rxvt_display;
48struct rxvt_im;
49struct rxvt_drawable;
70 50
71typedef struct rxvt_term *rxvt_t; 51typedef struct rxvt_term *rxvt_t;
72 52
73extern rxvt_t rxvt_current_term; 53extern rxvt_t rxvt_current_term;
74 54
121 Window parent[6]; /* parent identifiers - we're parent[0] */ 101 Window parent[6]; /* parent identifiers - we're parent[0] */
122 Window vt; /* vt100 window */ 102 Window vt; /* vt100 window */
123 GC gc; /* GC for drawing */ 103 GC gc; /* GC for drawing */
124 Pixmap pixmap; 104 Pixmap pixmap;
125 rxvt_fontset *fontset; 105 rxvt_fontset *fontset;
106 rxvt_drawable *drawable;
126} TermWin_t; 107} TermWin_t;
127 108
128/* 109/*
129 * screen accounting: 110 * screen accounting:
130 * screen_t elements 111 * screen_t elements
247 short top; /* slider top position */ 228 short top; /* slider top position */
248 short bot; /* slider bottom position */ 229 short bot; /* slider bottom position */
249 short style; /* style: rxvt, xterm, next */ 230 short style; /* style: rxvt, xterm, next */
250 short width; /* scrollbar width */ 231 short width; /* scrollbar width */
251 Window win; 232 Window win;
252 //int (*update)(int, int, int, int); 233 int (rxvt_term::*update)(int, int, int, int);
253 234
254 void setIdle() { state = 1 ; } 235 void setIdle() { state = 1 ; }
255 void setMotion() { state = 'm'; } 236 void setMotion() { state = 'm'; }
256 void setUp() { state = 'U'; } 237 void setUp() { state = 'U'; }
257 void setDn() { state = 'D'; } 238 void setDn() { state = 'D'; }
261 TermWin_t TermWin; 242 TermWin_t TermWin;
262 scrollBar_t scrollBar; 243 scrollBar_t scrollBar;
263 menuBar_t menuBar; 244 menuBar_t menuBar;
264 unsigned long Options; 245 unsigned long Options;
265 XSizeHints szHint; 246 XSizeHints szHint;
266 Display *Xdisplay; 247 rxvt_display *display;
267 int Xdepth;
268 int Xscreen;
269 Visual *Xvisual;
270 Colormap Xcmap;
271 rxvt_color *PixColors; 248 rxvt_color *PixColors;
272 short numPixColors; 249 short numPixColors;
273 Cursor TermWin_cursor; /* cursor for vt window */ 250 Cursor TermWin_cursor; /* cursor for vt window */
274 int sb_shadow; /* scrollbar shadow width */ 251 int sb_shadow; /* scrollbar shadow width */
275 int Xfd; /* file descriptor of X server connection */
276 int cmd_fd; /* pty file descriptor; connected to command */ 252 int cmd_fd; /* pty file descriptor; connected to command */
277 int tty_fd; /* tty file descriptor; connected to child */ 253 int tty_fd; /* tty file descriptor; connected to child */
278 int numlock_state; 254 int numlock_state;
279 text_t **drawn_text; /* text drawn on screen (characters) */ 255 text_t **drawn_text; /* text drawn on screen (characters) */
280 rend_t **drawn_rend; /* text drawn on screen (rendition) */ 256 rend_t **drawn_rend; /* text drawn on screen (rendition) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines