1 /*--------------------------------*-C-*---------------------------------* 2 * File: rxvtlibtypedef.h 3 *----------------------------------------------------------------------* 4 * $Id: command.c,v 1.85.2.23 1999/08/12 16:32:39 mason Exp $ 5 * 6 * All portions of code are copyright by their respective author/s. 7 * Copyright (C) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> 8 * - original version 9 * Copyright (C) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> 10 * - extensive modifications 11 * Copyright (C) 1995 Garrett D'Amore <garrett@netcom.com> 12 * - vt100 printing 13 * Copyright (C) 1995 Steven Hirsch <hirsch@emba.uvm.edu> 14 * - X11 mouse report mode and support for 15 * DEC "private mode" save/restore functions. 16 * Copyright (C) 1995 Jakub Jelinek <jj@gnu.ai.mit.edu> 17 * - key-related changes to handle Shift+function 18 * keys properly. 19 * Copyright (C) 1997 MJ Olesen <olesen@me.queensu.ca> 20 * - extensive modifications 21 * Copyright (C) 1997 Raul Garcia Garcia <rgg@tid.es> 22 * - modification and cleanups for Solaris 2.x 23 * and Linux 1.2.x 24 * Copyright (C) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> 25 * Copyright (C) 1998 Geoff Wing <gcw@pobox.com> 26 * Copyright (C) 1998 Alfredo K. Kojima <kojima@windowmaker.org> 27 * Copyright (C) 1996-2017 Paul Sheer 28 * 29 * This program is free software; you can redistribute it and/or modify 30 * it under the terms of the GNU General Public License as published by 31 * the Free Software Foundation; either version 2 of the License, or 32 * (at your option) any later version. 33 * 34 * This program is distributed in the hope that it will be useful, 35 * but WITHOUT ANY WARRANTY; without even the implied warranty of 36 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 37 * GNU General Public License for more details. 38 * 39 * You should have received a copy of the GNU General Public License 40 * along with this program; if not, write to the Free Software 41 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 42 *----------------------------------------------------------------------*/ 43 44 /*************************************************************************/ 45 /* This code has only the vaguest resemblance to rxvt-2.6.1 - Paul Sheer */ 46 /*************************************************************************/ 47 48 typedef struct _rxvtlib rxvtlib; 49 50 #ifndef _RXVT_H /* include once only */ 51 #ifndef HAVE_XPOINTER 52 typedef char *XPointer; 53 #endif 54 typedef struct _menuBar_t menuBar_t; 55 typedef struct _TermWin_t TermWin_t; 56 typedef struct _scrollBar_t scrollBar_t; 57 typedef struct _grcmd_t grcmd_t; 58 typedef struct grwin_t grwin_t; 59 typedef struct _row_col_t row_col_t; 60 #if defined (NO_OLD_SELECTION) && defined(NO_NEW_SELECTION) 61 # error if you disable both selection styles, how can you select, silly? 62 #endif 63 #endif /* _RXVT_H */ 64 typedef unsigned char text_t; 65 typedef struct _screen_t screen_t; 66 typedef struct save_t save_t; 67 #ifdef HAVE_TERMIOS_H 68 typedef struct termios ttymode_t; 69 #else 70 typedef struct _ttymode_t ttymode_t; 71 #endif /* HAVE_TERMIOS_H */ 72 typedef struct XCNQueue_t XCNQueue_t; 73 #ifdef UTMP_SUPPORT 74 # if ! defined(HAVE_STRUCT_UTMPX) && ! defined(HAVE_STRUCT_UTMP) 75 # error cannot build with utmp support - no utmp or utmpx struct found 76 # endif 77 # ifdef WTMP_SUPPORT 78 # ifdef RXVT_UTMP_AS_UTMPX 79 # ifdef RXVT_WTMPX_FILE 80 # else 81 # error cannot build with wtmp support - no wtmpx file found 82 # endif 83 # else 84 # ifdef RXVT_WTMP_FILE 85 # else 86 # error cannot build with wtmp support - no wtmp file found 87 # endif 88 # endif 89 # endif 90 #endif 91 typedef struct _action_t action_t; 92 typedef struct _submenu_t submenu_t; 93 typedef struct menuitem_t menuitem_t; 94 typedef struct menu_t menu_t; 95 typedef struct bar_t bar_t; 96 typedef CARD32 Atom32; 97 #ifndef NEXT_SCROLLBAR 98 #ifdef XTERM_SCROLLBAR /* bitmap scrollbar */ 99 #if (SB_WIDTH != 15) 100 #error Error, check scrollbar width (SB_WIDTH).It must be 15 for XTERM_SCROLLBAR 101 #endif 102 #else /* XTERM_SCROLLBAR */ 103 #endif /* ! XTERM_SCROLLBAR */ 104 #else /* ! NEXT_SCROLLBAR */ 105 #endif /* ! NEXT_SCROLLBAR */ 106 typedef struct _bgPixmap_t bgPixmap_t; 107