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.281 by ayin, Thu Aug 2 15:01:30 2007 UTC vs.
Revision 1.282 by sasha, Fri Aug 3 05:33:04 2007 UTC

170# define KEEP_SCROLLCOLOR 1 170# define KEEP_SCROLLCOLOR 1
171#else 171#else
172# undef KEEP_SCROLLCOLOR 172# undef KEEP_SCROLLCOLOR
173#endif 173#endif
174 174
175#ifdef XPM_BACKGROUND 175#if defined(XPM_BACKGROUND) || defined(ENABLE_TRANSPARENCY)
176typedef struct { 176typedef struct {
177#ifdef XPM_BACKGROUND
178 ASImage *original_asim;
177 short w, h, x, y; 179 short w, h, x, y;
178 bool auto_resize ; 180 bool auto_resize;
181#endif
179 Pixmap pixmap; 182 Pixmap pixmap;
183 unsigned int pmap_width, pmap_height;
184 unsigned int pmap_depth;
180} bgPixmap_t; 185} bgPixmap_t;
181#endif 186#endif
182 187
183/* 188/*
184 * the 'essential' information for reporting Mouse Events 189 * the 'essential' information for reporting Mouse Events
1004#endif 1009#endif
1005 struct mouse_event MEvent; 1010 struct mouse_event MEvent;
1006 XComposeStatus compose; 1011 XComposeStatus compose;
1007 ttymode_t tio; 1012 ttymode_t tio;
1008 row_col_t oldcursor; 1013 row_col_t oldcursor;
1014#if defined(XPM_BACKGROUND) || defined(ENABLE_TRANSPARENCY)
1015 bgPixmap_t bgPixmap;
1016#endif
1009#ifdef XPM_BACKGROUND 1017#ifdef XPM_BACKGROUND
1010 bgPixmap_t bgPixmap;
1011 struct ASVisual *asv; 1018 struct ASVisual *asv;
1012 ASImageManager *asimman; 1019 ASImageManager *asimman;
1013 ASImage *original_asim;
1014 struct { unsigned int width, height; } xpmAttr; /* all we need is width/height */
1015#endif 1020#endif
1016 1021
1017#if ENABLE_OVERLAY 1022#if ENABLE_OVERLAY
1018 int ov_x, ov_y, ov_w, ov_h; // overlay dimensions 1023 int ov_x, ov_y, ov_w, ov_h; // overlay dimensions
1019 text_t **ov_text; 1024 text_t **ov_text;
1432 void get_xdefaults (FILE *stream, const char *name); 1437 void get_xdefaults (FILE *stream, const char *name);
1433 void extract_resources (); 1438 void extract_resources ();
1434 // xpm.C 1439 // xpm.C
1435 int scale_pixmap (const char *geom); 1440 int scale_pixmap (const char *geom);
1436 void resize_pixmap (); 1441 void resize_pixmap ();
1437 Pixmap set_bgPixmap (const char *file); 1442 void set_bgPixmap (const char *file);
1438}; 1443};
1439 1444
1440/* 1445/*
1441 ***************************************************************************** 1446 *****************************************************************************
1442 * PROTOTYPES 1447 * PROTOTYPES

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines