--- rxvt-unicode/src/rxvttoolkit.h 2012/06/04 15:18:52 1.61 +++ rxvt-unicode/src/rxvttoolkit.h 2012/06/07 16:04:31 1.64 @@ -214,14 +214,16 @@ #endif void set (rxvt_display *disp); - void select_visual (int bitdepth); + void select_visual (int id); + void select_depth (int bitdepth); // select visual by depth void clear (); }; enum { DISPLAY_HAS_RENDER = 1 << 0, - DISPLAY_HAS_RENDER_MUL = 1 << 1, - DISPLAY_HAS_RENDER_CONV = 1 << 2, + DISPLAY_HAS_RENDER_10 = 1 << 1, + DISPLAY_HAS_RENDER_MUL = 1 << 2, + DISPLAY_HAS_RENDER_CONV = 1 << 3, }; struct rxvt_display : refcounted @@ -355,8 +357,8 @@ bool alloc (rxvt_screen *screen, const rgba &color); void free (rxvt_screen *screen); - void get (rgba &color); - void get (XColor &color); + void get (rgba &color) const; + void get (XColor &color) const; bool set (rxvt_screen *screen, const char *name); bool set (rxvt_screen *screen, const rgba &color);