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.29 by root, Fri Jan 6 03:40:19 2006 UTC vs.
Revision 1.31 by root, Fri Jan 6 05:37:59 2006 UTC

1/*----------------------------------------------------------------------* 1/*----------------------------------------------------------------------*
2 * File: rxvtperl.xs 2 * File: rxvtperl.xs
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * 4 *
5 * All portions of code are copyright by their respective author/s. 5 * All portions of code are copyright by their respective author/s.
6 * Copyright (c) 2005-2005 Marc Lehmann <pcg@goof.com> 6 * Copyright (c) 2005-2006 Marc Lehmann <pcg@goof.com>
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or 10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version. 11 * (at your option) any later version.
501 case ButtonRelease: 501 case ButtonRelease:
502 case MotionNotify: 502 case MotionNotify:
503 setiv (time, xe->xmotion.time); 503 setiv (time, xe->xmotion.time);
504 setiv (x, xe->xmotion.x); 504 setiv (x, xe->xmotion.x);
505 setiv (y, xe->xmotion.y); 505 setiv (y, xe->xmotion.y);
506 setiv (row, xe->xmotion.y / term->fheight);
507 setiv (col, xe->xmotion.x / term->fwidth);
506 setiv (x_root, xe->xmotion.x_root); 508 setiv (x_root, xe->xmotion.x_root);
507 setiv (y_root, xe->xmotion.y_root); 509 setiv (y_root, xe->xmotion.y_root);
508 setiv (state, xe->xmotion.state); 510 setiv (state, xe->xmotion.state);
509 break; 511 break;
510 } 512 }
795 RETVAL = *(int *)((char *)THIS + ix); 797 RETVAL = *(int *)((char *)THIS + ix);
796 OUTPUT: 798 OUTPUT:
797 RETVAL 799 RETVAL
798 800
799U32 801U32
802rxvt_term::parent ()
803 CODE:
804 RETVAL = (U32)THIS->parent [0];
805 OUTPUT:
806 RETVAL
807
808U32
809rxvt_term::vt ()
810 CODE:
811 RETVAL = (U32)THIS->vt;
812 OUTPUT:
813 RETVAL
814
815U32
800rxvt_term::rstyle (U32 new_rstyle = THIS->rstyle) 816rxvt_term::rstyle (U32 new_rstyle = THIS->rstyle)
801 CODE: 817 CODE:
802{ 818{
803 RETVAL = THIS->rstyle; 819 RETVAL = THIS->rstyle;
804 THIS->rstyle = new_rstyle; 820 THIS->rstyle = new_rstyle;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines