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.162 by root, Mon Jun 4 16:03:33 2012 UTC

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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines