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.10 by pcg, Sat Jan 31 02:14:58 2004 UTC vs.
Revision 1.13 by pcg, Tue Feb 24 16:25:45 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
235/* ------------------------------------------------------------------------- */ 216/* ------------------------------------------------------------------------- */
236 217
237typedef struct { 218typedef struct {
238 short state; 219 short state;
239 Window win; 220 Window win;
221 struct rxvt_drawable *drawable;
240} menuBar_t; 222} menuBar_t;
241 223
242typedef struct { 224typedef struct {
243 char state; /* scrollbar state */ 225 char state; /* scrollbar state */
244 char init; /* scrollbar has been initialised */ 226 char init; /* scrollbar has been initialised */
261 TermWin_t TermWin; 243 TermWin_t TermWin;
262 scrollBar_t scrollBar; 244 scrollBar_t scrollBar;
263 menuBar_t menuBar; 245 menuBar_t menuBar;
264 unsigned long Options; 246 unsigned long Options;
265 XSizeHints szHint; 247 XSizeHints szHint;
266 Display *Xdisplay; 248 rxvt_display *display;
267 int Xdepth;
268 int Xscreen;
269 Visual *Xvisual;
270 Colormap Xcmap;
271 rxvt_color *PixColors; 249 rxvt_color *PixColors;
272 short numPixColors; 250 short numPixColors;
273 Cursor TermWin_cursor; /* cursor for vt window */ 251 Cursor TermWin_cursor; /* cursor for vt window */
274 int sb_shadow; /* scrollbar shadow width */ 252 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 */ 253 int cmd_fd; /* pty file descriptor; connected to command */
277 int tty_fd; /* tty file descriptor; connected to child */ 254 int tty_fd; /* tty file descriptor; connected to child */
278 int numlock_state; 255 int numlock_state;
279 text_t **drawn_text; /* text drawn on screen (characters) */ 256 text_t **drawn_text; /* text drawn on screen (characters) */
280 rend_t **drawn_rend; /* text drawn on screen (rendition) */ 257 rend_t **drawn_rend; /* text drawn on screen (rendition) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines