… | |
… | |
51 | |
51 | |
52 | ///////////////////////////////////////////////////////////////////////////// |
52 | ///////////////////////////////////////////////////////////////////////////// |
53 | |
53 | |
54 | typedef char * octet_string; |
54 | typedef char * octet_string; |
55 | typedef char * utf8_string; |
55 | typedef char * utf8_string; |
56 | typedef SV * urxvt_color; |
|
|
57 | |
56 | |
58 | typedef GdkPixbuf * urxvt__pixbuf; |
57 | typedef GdkPixbuf * urxvt__pixbuf; |
59 | typedef rxvt_img * urxvt__img; |
58 | typedef rxvt_img * urxvt__img; |
60 | |
59 | |
61 | ///////////////////////////////////////////////////////////////////////////// |
60 | ///////////////////////////////////////////////////////////////////////////// |
… | |
… | |
801 | const_iv (XIMSecondary), |
800 | const_iv (XIMSecondary), |
802 | const_iv (XIMTertiary), |
801 | const_iv (XIMTertiary), |
803 | const_iv (XIMVisibleToForward), |
802 | const_iv (XIMVisibleToForward), |
804 | const_iv (XIMVisibleToBackword), |
803 | const_iv (XIMVisibleToBackword), |
805 | const_iv (XIMVisibleToCenter), |
804 | const_iv (XIMVisibleToCenter), |
|
|
805 | #if HAVE_XRENDER |
|
|
806 | const_iv (PictStandardARGB32), |
|
|
807 | const_iv (PictStandardRGB24), |
|
|
808 | const_iv (PictStandardA8), |
|
|
809 | const_iv (PictStandardA4), |
|
|
810 | const_iv (PictStandardA1), |
|
|
811 | #endif |
806 | # if 0 |
812 | # if 0 |
807 | const_iv (XIMForwardChar), |
813 | const_iv (XIMForwardChar), |
808 | const_iv (XIMBackwardChar), |
814 | const_iv (XIMBackwardChar), |
809 | const_iv (XIMForwardWord), |
815 | const_iv (XIMForwardWord), |
810 | const_iv (XIMBackwardWord), |
816 | const_iv (XIMBackwardWord), |
… | |
… | |
1919 | PUSHs (newSVuv (child)); |
1925 | PUSHs (newSVuv (child)); |
1920 | } |
1926 | } |
1921 | } |
1927 | } |
1922 | |
1928 | |
1923 | ############################################################################# |
1929 | ############################################################################# |
|
|
1930 | # fancy bg bloatstuff (TODO: should be moved up somewhere) |
|
|
1931 | |
|
|
1932 | #ifdef ENABLE_TRANSPARENCY |
|
|
1933 | |
|
|
1934 | # rxvt_img * |
|
|
1935 | # rxvt_term::new_root_img () |
|
|
1936 | # CODE: |
|
|
1937 | # RETVAL = rxvt_img::new_from_root (THIS); |
|
|
1938 | # OUTPUT: |
|
|
1939 | # RETVAL |
|
|
1940 | |
|
|
1941 | #endif |
|
|
1942 | |
|
|
1943 | #if HAVE_PIXBUF |
|
|
1944 | |
|
|
1945 | #endif |
|
|
1946 | |
|
|
1947 | ############################################################################# |
1924 | # urxvt::overlay |
1948 | # urxvt::overlay |
1925 | ############################################################################# |
1949 | ############################################################################# |
1926 | |
1950 | |
1927 | MODULE = urxvt PACKAGE = urxvt::overlay |
1951 | MODULE = urxvt PACKAGE = urxvt::overlay |
1928 | |
1952 | |
… | |
… | |
1956 | |
1980 | |
1957 | MODULE = urxvt PACKAGE = urxvt::img |
1981 | MODULE = urxvt PACKAGE = urxvt::img |
1958 | |
1982 | |
1959 | #if HAVE_IMG |
1983 | #if HAVE_IMG |
1960 | |
1984 | |
1961 | # rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height); |
1985 | # rxvt_img *new (rxvt_screen *screen, XRenderPictFormat *format, int width, int height) |
1962 | # rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); |
1986 | # rxvt_img *rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); |
1963 | |
1987 | |
1964 | void fill (urxvt::img self, SV *c) |
1988 | void |
1965 | CODE: |
1989 | rxvt_img::fill (SV *c) |
|
|
1990 | INIT: |
1966 | rxvt_color rc; |
1991 | rxvt_color rc; |
1967 | parse_color (self->s, rc, c); |
1992 | parse_color (THIS->s, rc, c); |
1968 | self->fill (rc); |
1993 | C_ARGS: rc |
1969 | |
1994 | |
1970 | void blur (urxvt::img self, int rh, int rv) |
1995 | void |
1971 | CODE: |
1996 | rxvt_img::blur (int rh, int rv) |
1972 | self->blur (rh, rv); |
|
|
1973 | |
1997 | |
|
|
1998 | void |
1974 | void brightness (urxvt::img self, double r, double g, double b, double a = 1.) |
1999 | rxvt_img::brightness (double r, double g, double b, double a = 1.) |
1975 | CODE: |
|
|
1976 | self->brightness (r, g, b, a); |
|
|
1977 | |
2000 | |
|
|
2001 | void |
1978 | void contrast (urxvt::img self, double r, double g, double b, double a = 1.) |
2002 | rxvt_img::contrast (double r, double g, double b, double a = 1.) |
1979 | CODE: |
|
|
1980 | self->contrast (r, g, b, a); |
|
|
1981 | |
2003 | |
1982 | urxvt::img copy (urxvt::img self) |
2004 | rxvt_img * |
1983 | CODE: |
2005 | rxvt_img::copy () |
1984 | RETVAL = self->copy (); |
|
|
1985 | OUTPUT: |
|
|
1986 | RETVAL |
|
|
1987 | |
2006 | |
|
|
2007 | rxvt_img * |
1988 | urxvt::img scale (urxvt::img self, int new_width, int new_height) |
2008 | rxvt_img::scale (int new_width, int new_height) |
1989 | CODE: |
|
|
1990 | RETVAL = self->scale (new_width, new_height); |
|
|
1991 | OUTPUT: |
|
|
1992 | RETVAL |
|
|
1993 | |
2009 | |
|
|
2010 | # rxvt_img * |
1994 | # rxvt_img *transform (urxvt::img self, int new_width, int new_height, double matrix[16]); |
2011 | # rxvt_img::transform (int new_width, int new_height, double matrix[16]); |
1995 | |
2012 | |
1996 | #endif |
2013 | #endif |
1997 | |
2014 | |