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.61 by root, Mon Jun 4 15:18:52 2012 UTC vs.
Revision 1.64 by root, Thu Jun 7 16:04:31 2012 UTC

212 212
213 rxvt_screen (); 213 rxvt_screen ();
214#endif 214#endif
215 215
216 void set (rxvt_display *disp); 216 void set (rxvt_display *disp);
217 void select_visual (int bitdepth); 217 void select_visual (int id);
218 void select_depth (int bitdepth); // select visual by depth
218 void clear (); 219 void clear ();
219}; 220};
220 221
221enum { 222enum {
222 DISPLAY_HAS_RENDER = 1 << 0, 223 DISPLAY_HAS_RENDER = 1 << 0,
224 DISPLAY_HAS_RENDER_10 = 1 << 1,
223 DISPLAY_HAS_RENDER_MUL = 1 << 1, 225 DISPLAY_HAS_RENDER_MUL = 1 << 2,
224 DISPLAY_HAS_RENDER_CONV = 1 << 2, 226 DISPLAY_HAS_RENDER_CONV = 1 << 3,
225}; 227};
226 228
227struct rxvt_display : refcounted 229struct rxvt_display : refcounted
228{ 230{
229 event_vec<xevent_watcher> xw; 231 event_vec<xevent_watcher> xw;
353 } 355 }
354 356
355 bool alloc (rxvt_screen *screen, const rgba &color); 357 bool alloc (rxvt_screen *screen, const rgba &color);
356 void free (rxvt_screen *screen); 358 void free (rxvt_screen *screen);
357 359
358 void get (rgba &color); 360 void get (rgba &color) const;
359 void get (XColor &color); 361 void get (XColor &color) const;
360 362
361 bool set (rxvt_screen *screen, const char *name); 363 bool set (rxvt_screen *screen, const char *name);
362 bool set (rxvt_screen *screen, const rgba &color); 364 bool set (rxvt_screen *screen, const rgba &color);
363 365
364 void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); 366 void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines