… | |
… | |
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 |
|
|
806 | const_iv (PictStandardARGB32), |
|
|
807 | const_iv (PictStandardRGB24), |
|
|
808 | const_iv (PictStandardA8), |
|
|
809 | const_iv (PictStandardA4), |
|
|
810 | const_iv (PictStandardA1), |
|
|
811 | #endif |
805 | # if 0 |
812 | # if 0 |
806 | const_iv (XIMForwardChar), |
813 | const_iv (XIMForwardChar), |
807 | const_iv (XIMBackwardChar), |
814 | const_iv (XIMBackwardChar), |
808 | const_iv (XIMForwardWord), |
815 | const_iv (XIMForwardWord), |
809 | const_iv (XIMBackwardWord), |
816 | const_iv (XIMBackwardWord), |
… | |
… | |
1918 | PUSHs (newSVuv (child)); |
1925 | PUSHs (newSVuv (child)); |
1919 | } |
1926 | } |
1920 | } |
1927 | } |
1921 | |
1928 | |
1922 | ############################################################################# |
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 | ############################################################################# |
1923 | # urxvt::overlay |
1948 | # urxvt::overlay |
1924 | ############################################################################# |
1949 | ############################################################################# |
1925 | |
1950 | |
1926 | MODULE = urxvt PACKAGE = urxvt::overlay |
1951 | MODULE = urxvt PACKAGE = urxvt::overlay |
1927 | |
1952 | |
… | |
… | |
1955 | |
1980 | |
1956 | MODULE = urxvt PACKAGE = urxvt::img |
1981 | MODULE = urxvt PACKAGE = urxvt::img |
1957 | |
1982 | |
1958 | #if HAVE_IMG |
1983 | #if HAVE_IMG |
1959 | |
1984 | |
1960 | # rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height); |
1985 | # rxvt_img *new (rxvt_screen *screen, XRenderPictFormat *format, int width, int height) |
1961 | # 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); |
1962 | |
1987 | |
1963 | void fill (urxvt::img self, SV *c) |
1988 | void |
1964 | CODE: |
1989 | rxvt_img::fill (SV *c) |
|
|
1990 | INIT: |
1965 | rxvt_color rc; |
1991 | rxvt_color rc; |
1966 | parse_color (self->s, rc, c); |
1992 | parse_color (THIS->s, rc, c); |
1967 | self->fill (rc); |
1993 | C_ARGS: rc |
1968 | |
1994 | |
1969 | void blur (urxvt::img self, int rh, int rv) |
1995 | void |
1970 | CODE: |
1996 | rxvt_img::blur (int rh, int rv) |
1971 | self->blur (rh, rv); |
|
|
1972 | |
1997 | |
|
|
1998 | void |
1973 | 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.) |
1974 | CODE: |
|
|
1975 | self->brightness (r, g, b, a); |
|
|
1976 | |
2000 | |
|
|
2001 | void |
1977 | 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.) |
1978 | CODE: |
|
|
1979 | self->contrast (r, g, b, a); |
|
|
1980 | |
2003 | |
1981 | urxvt::img copy (urxvt::img self) |
2004 | rxvt_img * |
1982 | CODE: |
2005 | rxvt_img::copy () |
1983 | RETVAL = self->copy (); |
|
|
1984 | OUTPUT: |
|
|
1985 | RETVAL |
|
|
1986 | |
2006 | |
|
|
2007 | rxvt_img * |
1987 | urxvt::img scale (urxvt::img self, int new_width, int new_height) |
2008 | rxvt_img::scale (int new_width, int new_height) |
1988 | CODE: |
|
|
1989 | RETVAL = self->scale (new_width, new_height); |
|
|
1990 | OUTPUT: |
|
|
1991 | RETVAL |
|
|
1992 | |
2009 | |
|
|
2010 | # rxvt_img * |
1993 | # 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]); |
1994 | |
2012 | |
1995 | #endif |
2013 | #endif |
1996 | |
2014 | |