--- rxvt-unicode/src/rxvttoolkit.h 2005/01/17 00:59:24 1.7 +++ rxvt-unicode/src/rxvttoolkit.h 2006/01/13 04:59:04 1.10 @@ -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,11 +92,11 @@ #endif rxvt_display (const char *id); - bool init (); + XrmDatabase get_resources (); + bool ref_init (); + void ref_next (); ~rxvt_display (); - operator Display *() const { return display; } - void flush (); Atom atom (const char *name); void set_selection_owner (rxvt_term *owner); @@ -173,7 +174,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); };