--- rxvt-unicode/src/rxvttoolkit.h 2005/01/17 00:59:24 1.7 +++ rxvt-unicode/src/rxvttoolkit.h 2006/01/11 00:59:58 1.9 @@ -28,7 +28,8 @@ char *id; refcounted (const char *id); - bool init () { return false; } + bool ref_init () { return false; } + void ref_next () { } ~refcounted (); }; @@ -55,7 +56,7 @@ XIM xim; rxvt_xim (const char *id) : refcounted (id) { } - bool init (); + bool ref_init (); ~rxvt_xim (); }; #endif @@ -91,7 +92,9 @@ #endif rxvt_display (const char *id); - bool init (); + XrmDatabase get_resources (); + bool ref_init (); + void ref_next (); ~rxvt_display (); operator Display *() const { return display; } @@ -173,7 +176,8 @@ bool set (rxvt_display *display, const char *name); bool set (rxvt_display *display, unsigned short cr, unsigned short cg, unsigned short cb); - rxvt_color fade (rxvt_display *, int percent); + rxvt_color fade (rxvt_display *, int percent); // fades to black + rxvt_color fade (rxvt_display *, int percent, rxvt_color &fadeto); void free (rxvt_display *display); };