ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing cvsroot/rxvt-unicode/src/rxvt.h (file contents):
Revision 1.511 by sf-exg, Sat Dec 29 14:23:35 2012 UTC vs.
Revision 1.512 by sf-exg, Sat Dec 29 15:59:51 2012 UTC

1181/* ---------- */ 1181/* ---------- */
1182 struct mouse_event MEvent; 1182 struct mouse_event MEvent;
1183 XComposeStatus compose; 1183 XComposeStatus compose;
1184 static struct termios def_tio; 1184 static struct termios def_tio;
1185 row_col_t oldcursor; 1185 row_col_t oldcursor;
1186
1186#ifdef HAVE_BG_PIXMAP 1187#ifdef HAVE_BG_PIXMAP
1187 void bg_init (); 1188 void bg_init ();
1188 void bg_destroy (); 1189 void bg_destroy ();
1189
1190 enum {
1191 BG_IS_VALID = 1 << 0,
1192
1193 BG_IS_TRANSPARENT = 1 << 1,
1194 BG_NEEDS_REFRESH = 1 << 2,
1195 BG_INHIBIT_RENDER = 1 << 3,
1196 };
1197
1198 uint8_t bg_flags;
1199 1190
1200# if BG_IMAGE_FROM_FILE 1191# if BG_IMAGE_FROM_FILE
1201 rxvt_image fimage; 1192 rxvt_image fimage;
1202 void get_image_geometry (rxvt_image &image, int &w, int &h, int &x, int &y); 1193 void get_image_geometry (rxvt_image &image, int &w, int &h, int &x, int &y);
1203 bool render_image (rxvt_image &image); 1194 bool render_image (rxvt_image &image);
1217 1208
1218 void tint_image (rxvt_img *img, rxvt_color &tint, bool tint_set, int shade); 1209 void tint_image (rxvt_img *img, rxvt_color &tint, bool tint_set, int shade);
1219 1210
1220 ev_tstamp bg_valid_since; 1211 ev_tstamp bg_valid_since;
1221 1212
1222 rxvt_img *bg_img;
1223
1224 bool bg_window_size_sensitive (); 1213 bool bg_window_size_sensitive ();
1225 bool bg_window_position_sensitive (); 1214 bool bg_window_position_sensitive ();
1226 1215
1227 void bg_render (); 1216 void bg_render ();
1228 void bg_invalidate () 1217 void bg_invalidate ()
1229 { 1218 {
1230 bg_flags &= ~BG_IS_VALID; 1219 bg_flags &= ~BG_IS_VALID;
1231 } 1220 }
1221#endif
1222
1223#ifdef HAVE_IMG
1224 enum {
1225 BG_IS_VALID = 1 << 0,
1226
1227 BG_IS_TRANSPARENT = 1 << 1,
1228 BG_NEEDS_REFRESH = 1 << 2,
1229 BG_INHIBIT_RENDER = 1 << 3,
1230 };
1231
1232 uint8_t bg_flags;
1233
1234 rxvt_img *bg_img;
1232#endif 1235#endif
1233 1236
1234#if ENABLE_OVERLAY 1237#if ENABLE_OVERLAY
1235 overlay_base ov; 1238 overlay_base ov;
1236 1239

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines