ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.11 by root, Tue Jan 3 02:01:27 2006 UTC vs.
Revision 1.12 by root, Tue Jan 3 02:42:17 2006 UTC

363 RETVAL = GET_BASEBG (rend); 363 RETVAL = GET_BASEBG (rend);
364 OUTPUT: 364 OUTPUT:
365 RETVAL 365 RETVAL
366 366
367int 367int
368SET_FGCOLOR (int rend, int color) 368SET_FGCOLOR (int rend, int new_color)
369 CODE: 369 CODE:
370 RETVAL = SET_FGCOLOR (rend, color); 370 RETVAL = SET_FGCOLOR (rend, new_color);
371 OUTPUT: 371 OUTPUT:
372 RETVAL 372 RETVAL
373 373
374int 374int
375SET_BGCOLOR (int rend, int color) 375SET_BGCOLOR (int rend, int new_color)
376 CODE: 376 CODE:
377 RETVAL = SET_BGCOLOR (rend, color); 377 RETVAL = SET_BGCOLOR (rend, new_color);
378 OUTPUT:
379 RETVAL
380
381int
382GET_CUSTOM (int rend)
383 CODE:
384 RETVAL = (rend && RS_customMask) >> RS_customShift;
385 OUTPUT:
386 RETVAL
387
388int
389SET_CUSTOM (int rend, int new_value)
390 CODE:
391{
392 if (!IN_RANGE_EXC (new_value, 0, RS_customCount))
393 croak ("custom value out of range, must be 0..%d", RS_customCount - 1);
394
395 RETVAL = (rend & ~RS_customMask)
396 | ((new_value << RS_customShift) & RS_customMask);
397}
378 OUTPUT: 398 OUTPUT:
379 RETVAL 399 RETVAL
380 400
381MODULE = urxvt PACKAGE = urxvt::term 401MODULE = urxvt PACKAGE = urxvt::term
382 402

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines