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.197 by root, Wed Jan 11 05:29:40 2006 UTC vs.
Revision 1.199 by root, Thu Jan 12 01:30:53 2006 UTC

112void rxvt_freecommastring (char **cs); 112void rxvt_freecommastring (char **cs);
113char * rxvt_File_find (const char *file, const char *ext, const char *path); 113char * rxvt_File_find (const char *file, const char *ext, const char *path);
114void rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h); 114void rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h);
115void rxvt_Draw_Triangle (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int type); 115void rxvt_Draw_Triangle (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int type);
116void rxvt_usleep (int usecs); 116void rxvt_usleep (int usecs);
117
118/////////////////////////////////////////////////////////////////////////////
119
120// temporarily replace the process environment
121extern char **environ;
122extern char **rxvt_environ; // the original environ pointer
123
124inline void set_environ (stringvec *envv)
125{
126 if (envv)
127 environ = (char **)envv->begin ();
128}
129
130inline void set_environ (char **envv)
131{
132 if (envv)
133 environ = envv;
134}
117 135
118/* 136/*
119 ***************************************************************************** 137 *****************************************************************************
120 * STRUCTURES AND TYPEDEFS 138 * STRUCTURES AND TYPEDEFS
121 ***************************************************************************** 139 *****************************************************************************
698#define Col2Pixel(col) ((int32_t)Width2Pixel(col)) 716#define Col2Pixel(col) ((int32_t)Width2Pixel(col))
699#define Row2Pixel(row) ((int32_t)Height2Pixel(row)) 717#define Row2Pixel(row) ((int32_t)Height2Pixel(row))
700#define Width2Pixel(n) ((int32_t)(n) * (int32_t)fwidth) 718#define Width2Pixel(n) ((int32_t)(n) * (int32_t)fwidth)
701#define Height2Pixel(n) ((int32_t)(n) * (int32_t)fheight) 719#define Height2Pixel(n) ((int32_t)(n) * (int32_t)fheight)
702 720
703#define TEMP_ENV temp_environ temp_environ (envv)
704
705#define OPTION(opt) (options & (opt)) 721#define OPTION(opt) (options & (opt))
706#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \ 722#define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \
707 | Opt_jumpScroll | Opt_secondaryScreen \ 723 | Opt_jumpScroll | Opt_secondaryScreen \
708 | Opt_pastableTabs | Opt_intensityStyles) 724 | Opt_pastableTabs | Opt_intensityStyles)
709 725

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines