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.163 by root, Mon Jun 4 16:12:55 2012 UTC vs.
Revision 1.166 by root, Tue Jun 5 11:00:40 2012 UTC

978rxvt_term::destroy () 978rxvt_term::destroy ()
979 979
980void 980void
981rxvt_term::set_should_invoke (int htype, int inc) 981rxvt_term::set_should_invoke (int htype, int inc)
982 CODE: 982 CODE:
983 THIS->perl.should_invoke [htype] += inc; 983 uint8_t &count = THIS->perl.should_invoke [htype];
984 uint8_t prev = count;
985 count += inc;
986 if (!prev != !count)
987 {
988 // hook status changed, react
989 switch (htype)
990 {
991 case HOOK_POSITION_CHANGE:
992 if (count)
993 THIS->get_window_origin (THIS->parent_x, THIS->parent_y);
994 }
995 }
984 996
985int 997int
986rxvt_term::grab_button (int button, U32 modifiers, Window window = THIS->vt) 998rxvt_term::grab_button (int button, U32 modifiers, Window window = THIS->vt)
987 CODE: 999 CODE:
988 RETVAL = XGrabButton (THIS->dpy, button, modifiers, window, 1, 1000 RETVAL = XGrabButton (THIS->dpy, button, modifiers, window, 1,
1245 CODE: 1257 CODE:
1246 RETVAL = THIS->parent; 1258 RETVAL = THIS->parent;
1247 OUTPUT: 1259 OUTPUT:
1248 RETVAL 1260 RETVAL
1249 1261
1250Window 1262int
1251rxvt_term::vt () 1263rxvt_term::parent_x ()
1252 CODE: 1264 CODE:
1253 RETVAL = THIS->vt; 1265 RETVAL = THIS->parent_x;
1266 OUTPUT:
1267 RETVAL
1268
1269int
1270rxvt_term::parent_y ()
1271 CODE:
1272 RETVAL = THIS->parent_y;
1254 OUTPUT: 1273 OUTPUT:
1255 RETVAL 1274 RETVAL
1256 1275
1257void 1276void
1258rxvt_term::vt_emask_add (U32 emask) 1277rxvt_term::vt_emask_add (U32 emask)
1934} 1953}
1935 1954
1936############################################################################# 1955#############################################################################
1937# fancy bg bloatstuff (TODO: should be moved up somewhere) 1956# fancy bg bloatstuff (TODO: should be moved up somewhere)
1938 1957
1958# TODO: ugly
1959void
1960rxvt_term::get_geometry ()
1961 PPCODE:
1962 EXTEND (SP, 4);
1963 PUSHs (sv_2mortal (newSViv (THIS->parent_x)));
1964 PUSHs (sv_2mortal (newSViv (THIS->parent_y)));
1965 PUSHs (sv_2mortal (newSViv (THIS->szHint.width)));
1966 PUSHs (sv_2mortal (newSViv (THIS->szHint.height)));
1967
1939#if HAVE_IMG 1968#if HAVE_IMG
1940 1969
1941rxvt_img * 1970rxvt_img *
1942rxvt_term::new_img (SV *format, int width, int height) 1971rxvt_term::new_img (SV *format, int width, int height)
1943 CODE: 1972 CODE:
2095void 2124void
2096rxvt_img::unshare () 2125rxvt_img::unshare ()
2097 2126
2098rxvt_img * 2127rxvt_img *
2099rxvt_img::clone () 2128rxvt_img::clone ()
2100
2101rxvt_img *
2102rxvt_img::scale (int new_width, int new_height)
2103 2129
2104rxvt_img * 2130rxvt_img *
2105rxvt_img::transform (int new_width, int new_height, int repeat, NV p11, NV p12, NV p13, NV p21, NV p22, NV p23, NV p31, NV p32, NV p33) 2131rxvt_img::transform (int new_width, int new_height, int repeat, NV p11, NV p12, NV p13, NV p21, NV p22, NV p23, NV p31, NV p32, NV p33)
2106 INIT: 2132 INIT:
2107 double matrix[9] = { 2133 double matrix[9] = {
2109 p21, p22, p23, 2135 p21, p22, p23,
2110 p31, p32, p33 2136 p31, p32, p33
2111 }; 2137 };
2112 C_ARGS: new_width, new_height, repeat, matrix 2138 C_ARGS: new_width, new_height, repeat, matrix
2113 2139
2140rxvt_img *
2141rxvt_img::scale (int new_width, int new_height)
2142
2143rxvt_img *
2144rxvt_img::rotate (int new_width, int new_height, int repeat, int x, int y, NV phi)
2145
2114#endif 2146#endif
2115 2147

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines