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.66 by root, Thu Jun 14 17:06:57 2012 UTC vs.
Revision 1.67 by root, Thu Jun 14 17:16:05 2012 UTC

317 317
318typedef unsigned long Pixel; 318typedef unsigned long Pixel;
319 319
320struct rgba 320struct rgba
321{ 321{
322 unsigned short r, g, b, a; 322 uint16_t r, g, b, a;
323 323
324 enum { MIN_CC = 0x0000, MAX_CC = 0xffff }; 324 enum { MIN_CC = 0x0000, MAX_CC = 0xffff };
325 325
326 rgba () 326 rgba ()
327 { } 327 { }
328 328
329 rgba (unsigned short r, unsigned short g, unsigned short b, unsigned short a = MAX_CC) 329 rgba (uint16_t r, uint16_t g, uint16_t b, uint16_t a = MAX_CC)
330 : r(r), g(g), b(b), a(a) 330 : r(r), g(g), b(b), a(a)
331 { } 331 { }
332}; 332};
333 333
334struct rxvt_color 334struct rxvt_color

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines