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

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.34 by root, Sun Nov 11 04:08:00 2007 UTC vs.
Revision 1.36 by root, Tue Dec 4 14:50:44 2007 UTC

256#endif 256#endif
257}; 257};
258 258
259#ifdef USE_XIM 259#ifdef USE_XIM
260struct im_watcher : rxvt_watcher, callback<void (void)> { 260struct im_watcher : rxvt_watcher, callback<void (void)> {
261 template<class O, class M>
262 im_watcher (O object, M method)
263 : callback<void (void)> (object, method)
264 { }
265
266 void start (rxvt_display *display) 261 void start (rxvt_display *display)
267 { 262 {
268 display->reg (this); 263 display->reg (this);
269 } 264 }
270 265
275}; 270};
276#endif 271#endif
277 272
278struct xevent_watcher : rxvt_watcher, callback<void (XEvent &)> { 273struct xevent_watcher : rxvt_watcher, callback<void (XEvent &)> {
279 Window window; 274 Window window;
280
281 template<class O, class M>
282 xevent_watcher (O object, M method)
283 : callback<void (XEvent &)> (object, method)
284 { }
285 275
286 void start (rxvt_display *display, Window window) 276 void start (rxvt_display *display, Window window)
287 { 277 {
288 this->window = window; 278 this->window = window;
289 display->reg (this); 279 display->reg (this);
336 bool set (rxvt_screen *screen, const rgba &color); 326 bool set (rxvt_screen *screen, const rgba &color);
337 327
338 void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); 328 void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0));
339}; 329};
340 330
341#endif 331#if TRACE_PIXMAPS
332Pixmap trace_XCreatePixmap (const char *file, int line, Display *dpy, Window r, unsigned int w, unsigned int h, unsigned int d);
333void trace_XFreePixmap (const char *file, int line, Display *dpy, Pixmap p);
342 334
335# define XCreatePixmap(dpy,r,w,h,d) trace_XCreatePixmap (__FILE__,__LINE__,dpy,r,w,h,d)
336# define XFreePixmap(dpy,p) trace_XFreePixmap (__FILE__,__LINE__,dpy,p)
337#endif
338
339#endif
340

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines