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.42 by root, Wed Dec 1 02:12:18 2004 UTC vs.
Revision 1.47 by root, Tue Oct 25 19:04:46 2005 UTC

20@include_sys_strredir_h@ 20@include_sys_strredir_h@
21 21
22#include <sys/wait.h> 22#include <sys/wait.h>
23#include <sys/stat.h> 23#include <sys/stat.h>
24 24
25#if HAVE_CWCHAR
25#include <cwchar> 26# include <cwchar>
27#elif HAVE_WCHAR_H
28# include <wchar.h>
29#else
30// stdlib.h might provide it
31#endif
26 32
27#include "ptytty.h" 33#include "ptytty.h"
28 34
29extern "C" { 35extern "C" {
30#include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ 36#include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */
54 60
55typedef struct rxvt_term *rxvt_t; 61typedef struct rxvt_term *rxvt_t;
56 62
57extern rxvt_t rxvt_current_term; 63extern rxvt_t rxvt_current_term;
58 64
59# define SET_R(r) rxvt_current_term = (r) 65#define SET_R(r) rxvt_current_term = (r)
60# define GET_R rxvt_current_term 66#define GET_R rxvt_current_term
61 67
62#define scrollbar_visible() scrollBar.state 68#define scrollbar_visible() scrollBar.state
63#define menubar_visible() menuBar.state 69#define menubar_visible() menuBar.state
64 70
65typedef struct { 71typedef struct {
175} selection_t; 181} selection_t;
176 182
177/* ------------------------------------------------------------------------- */ 183/* ------------------------------------------------------------------------- */
178 184
179/* screen_t flags */ 185/* screen_t flags */
180#define Screen_Relative (1<<0) /* relative origin mode flag */ 186#define Screen_Relative (1<<0) /* relative origin mode flag */
181#define Screen_VisibleCursor (1<<1) /* cursor visible? */ 187#define Screen_VisibleCursor (1<<1) /* cursor visible? */
182#define Screen_Autowrap (1<<2) /* auto-wrap flag */ 188#define Screen_Autowrap (1<<2) /* auto-wrap flag */
183#define Screen_Insert (1<<3) /* insert mode (vs. overstrike) */ 189#define Screen_Insert (1<<3) /* insert mode (vs. overstrike) */
184#define Screen_WrapNext (1<<4) /* need to wrap for next char? */ 190#define Screen_WrapNext (1<<4) /* need to wrap for next char? */
185#define Screen_DefaultFlags (Screen_VisibleCursor|Screen_Autowrap) 191#define Screen_DefaultFlags (Screen_VisibleCursor|Screen_Autowrap)
186 192
187/* rxvt_vars.options */ 193/* rxvt_vars.options */
188#define Opt_console (1UL<<0) 194#define Opt_console (1UL<<0)
189#define Opt_loginShell (1UL<<1) 195#define Opt_loginShell (1UL<<1)
190#define Opt_iconic (1UL<<2) 196#define Opt_iconic (1UL<<2)
191#define Opt_visualBell (1UL<<3) 197#define Opt_visualBell (1UL<<3)
192#define Opt_mapAlert (1UL<<4) 198#define Opt_mapAlert (1UL<<4)
193#define Opt_reverseVideo (1UL<<5) 199#define Opt_reverseVideo (1UL<<5)
194#define Opt_utmpInhibit (1UL<<6) 200#define Opt_utmpInhibit (1UL<<6)
195#define Opt_scrollBar (1UL<<7) 201#define Opt_scrollBar (1UL<<7)
196#define Opt_scrollBar_right (1UL<<8) 202#define Opt_scrollBar_right (1UL<<8)
197#define Opt_scrollBar_floating (1UL<<9) 203#define Opt_scrollBar_floating (1UL<<9)
198#define Opt_meta8 (1UL<<10) 204#define Opt_meta8 (1UL<<10)
199#define Opt_scrollTtyOutput (1UL<<11) 205#define Opt_scrollTtyOutput (1UL<<11)
200#define Opt_scrollTtyKeypress (1UL<<12) 206#define Opt_scrollTtyKeypress (1UL<<12)
201#define Opt_transparent (1UL<<13) 207#define Opt_transparent (1UL<<13)
202#define Opt_transparent_all (1UL<<14)
203#define Opt_tripleclickwords (1UL<<15) 208#define Opt_tripleclickwords (1UL<<14)
204#define Opt_scrollWithBuffer (1UL<<16) 209#define Opt_scrollWithBuffer (1UL<<15)
205#define Opt_jumpScroll (1UL<<17) 210#define Opt_jumpScroll (1UL<<16)
206#define Opt_mouseWheelScrollPage (1UL<<18) 211#define Opt_mouseWheelScrollPage (1UL<<17)
207#define Opt_pointerBlank (1UL<<19) 212#define Opt_pointerBlank (1UL<<18)
208#define Opt_cursorBlink (1UL<<20) 213#define Opt_cursorBlink (1UL<<19)
209#define Opt_secondaryScreen (1UL<<21) 214#define Opt_secondaryScreen (1UL<<20)
210#define Opt_secondaryScroll (1UL<<22) 215#define Opt_secondaryScroll (1UL<<21)
216#define Opt_pastableTabs (1UL<<22)
217#define Opt_cursorUnderline (1UL<<23)
211#if ENABLE_FRILLS 218#if ENABLE_FRILLS
212# define Opt_insecure (1UL<<23) // insecure esc sequences 219# define Opt_insecure (1UL<<24) // insecure esc sequences
213# define Opt_borderLess (1UL<<24) // mem borderless hints 220# define Opt_borderLess (1UL<<25) // mem borderless hints
214#else 221#else
215# define Opt_insecure 0 222# define Opt_insecure 0
216# define Opt_borderLess 0 223# define Opt_borderLess 0
217#endif 224#endif
218#define Opt_pastableTabs (1UL<<25)
219/* place holder used for parsing command-line options */ 225/* place holder used for parsing command-line options */
220#define Opt_Reverse (1UL<<30) 226#define Opt_Reverse (1UL<<30)
221#define Opt_Boolean (1UL<<31) 227#define Opt_Boolean (1UL<<31)
222 228
223#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \ 229#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \
224 | Opt_jumpScroll | Opt_secondaryScreen \ 230 | Opt_jumpScroll | Opt_secondaryScreen \
225 | Opt_pastableTabs) 231 | Opt_pastableTabs)
226 232
227/* ------------------------------------------------------------------------- */ 233/* ------------------------------------------------------------------------- */
228 234
229typedef struct { 235typedef struct {
230 short state; 236 short state;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines