--- rxvt-unicode/src/rxvttoolkit.h 2006/01/30 02:21:21 1.14 +++ rxvt-unicode/src/rxvttoolkit.h 2006/01/31 16:57:35 1.18 @@ -64,6 +64,15 @@ XA_XDCCC_LINEAR_RGB_MATRICES, XA_WM_COLORMAP_WINDOWS, XA_WM_STATE, + XA_cursor, +# if USE_XIM + // various selection targets used by XIM + XA_TRANSPORT, + XA_LOCALES, + XA__XIM_PROTOCOL, + XA__XIM_XCONNECT, + XA__XIM_MOREDATA, +# endif #endif NUM_XA }; @@ -240,15 +249,15 @@ bool operator == (const rxvt_color &b) const { return Pixel (*this) == Pixel (b); } bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } - void get (rxvt_screen *screen, rxvt_rgba &rgba); + bool alloc (rxvt_screen *screen, const rxvt_rgba &color); + void free (rxvt_screen *screen); + + void get (rxvt_screen *screen, rxvt_rgba &color); bool set (rxvt_screen *screen, const char *name); - bool set (rxvt_screen *screen, rxvt_rgba rgba); + bool set (rxvt_screen *screen, const rxvt_rgba &color); - rxvt_color fade (rxvt_screen *screen, int percent); // fades to black - rxvt_color fade (rxvt_screen *screen, int percent, rxvt_color &fadeto); - - void free (rxvt_screen *screen); + void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rxvt_rgba &to = rxvt_rgba (0, 0, 0)); }; #endif