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.161 by root, Mon Jun 4 15:43:22 2012 UTC vs.
Revision 1.164 by root, Mon Jun 4 18:17:25 2012 UTC

800 const_iv (XIMSecondary), 800 const_iv (XIMSecondary),
801 const_iv (XIMTertiary), 801 const_iv (XIMTertiary),
802 const_iv (XIMVisibleToForward), 802 const_iv (XIMVisibleToForward),
803 const_iv (XIMVisibleToBackword), 803 const_iv (XIMVisibleToBackword),
804 const_iv (XIMVisibleToCenter), 804 const_iv (XIMVisibleToCenter),
805#if HAVE_XRENDER 805#if XRENDER
806 const_iv (PictStandardARGB32), 806 const_iv (PictStandardARGB32),
807 const_iv (PictStandardRGB24), 807 const_iv (PictStandardRGB24),
808 const_iv (PictStandardA8), 808 const_iv (PictStandardA8),
809 const_iv (PictStandardA4), 809 const_iv (PictStandardA4),
810 const_iv (PictStandardA1), 810 const_iv (PictStandardA1),
1934} 1934}
1935 1935
1936############################################################################# 1936#############################################################################
1937# fancy bg bloatstuff (TODO: should be moved up somewhere) 1937# fancy bg bloatstuff (TODO: should be moved up somewhere)
1938 1938
1939#if HAVE_IMG
1940
1941rxvt_img *
1942rxvt_term::new_img (SV *format, int width, int height)
1943 CODE:
1944 XRenderPictFormat *f = SvOK (format)
1945 ? XRenderFindVisualFormat (THIS->dpy, THIS->visual)
1946 : XRenderFindStandardFormat (THIS->dpy, SvIV (format));
1947 RETVAL = new rxvt_img (THIS, f, width, height);
1948 OUTPUT:
1949 RETVAL
1950
1939#if ENABLE_TRANSPARENCY 1951#if ENABLE_TRANSPARENCY
1940 1952
1941#if 0 1953#if 0
1942 1954
1943rxvt_img * 1955rxvt_img *
1986 THIS->bg_valid_since = ev::now (); // TODO: extra bloat 1998 THIS->bg_valid_since = ev::now (); // TODO: extra bloat
1987 } 1999 }
1988 2000
1989#endif 2001#endif
1990 2002
2003#endif
2004
1991############################################################################# 2005#############################################################################
1992# urxvt::overlay 2006# urxvt::overlay
1993############################################################################# 2007#############################################################################
1994 2008
1995MODULE = urxvt PACKAGE = urxvt::overlay 2009MODULE = urxvt PACKAGE = urxvt::overlay
2026 2040
2027#if HAVE_IMG 2041#if HAVE_IMG
2028 2042
2029# rxvt_img *new (rxvt_screen *screen, XRenderPictFormat *format, int width, int height) 2043# rxvt_img *new (rxvt_screen *screen, XRenderPictFormat *format, int width, int height)
2030# rxvt_img *rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); 2044# rxvt_img *rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap);
2045
2046int
2047rxvt_img::w ()
2048 CODE:
2049 RETVAL = THIS->w;
2050 OUTPUT:
2051 RETVAL
2052
2053int
2054rxvt_img::h ()
2055 CODE:
2056 RETVAL = THIS->h;
2057 OUTPUT:
2058 RETVAL
2059
2060bool
2061rxvt_img::shared ()
2062 CODE:
2063 RETVAL = THIS->shared;
2064 OUTPUT:
2065 RETVAL
2066
2067Pixmap
2068rxvt_img::pm ()
2069 CODE:
2070 RETVAL = THIS->pm;
2071 OUTPUT:
2072 RETVAL
2031 2073
2032void 2074void
2033rxvt_img::fill (SV *c) 2075rxvt_img::fill (SV *c)
2034 INIT: 2076 INIT:
2035 rxvt_color rc; 2077 rxvt_color rc;
2053void 2095void
2054rxvt_img::unshare () 2096rxvt_img::unshare ()
2055 2097
2056rxvt_img * 2098rxvt_img *
2057rxvt_img::clone () 2099rxvt_img::clone ()
2058
2059rxvt_img *
2060rxvt_img::scale (int new_width, int new_height)
2061 2100
2062rxvt_img * 2101rxvt_img *
2063rxvt_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) 2102rxvt_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)
2064 INIT: 2103 INIT:
2065 double matrix[9] = { 2104 double matrix[9] = {
2067 p21, p22, p23, 2106 p21, p22, p23,
2068 p31, p32, p33 2107 p31, p32, p33
2069 }; 2108 };
2070 C_ARGS: new_width, new_height, repeat, matrix 2109 C_ARGS: new_width, new_height, repeat, matrix
2071 2110
2111rxvt_img *
2112rxvt_img::scale (int new_width, int new_height)
2113
2114rxvt_img *
2115rxvt_img::rotate (int new_width, int new_height, int repeat, int x, int y, NV phi)
2116
2072#endif 2117#endif
2073 2118

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines