… | |
… | |
35 | Pixmap pm; |
35 | Pixmap pm; |
36 | pixref *ref; // shared refcnt |
36 | pixref *ref; // shared refcnt |
37 | int x, y, w, h, repeat; |
37 | int x, y, w, h, repeat; |
38 | XRenderPictFormat *format; |
38 | XRenderPictFormat *format; |
39 | |
39 | |
40 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height); |
40 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal); |
41 | rxvt_img (const rxvt_img &img); |
41 | rxvt_img (const rxvt_img &img); |
42 | |
42 | |
43 | //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); |
43 | //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); |
44 | static rxvt_img *new_from_root (rxvt_screen *s); // get root pixmap |
44 | static rxvt_img *new_from_root (rxvt_screen *s); // get root pixmap |
45 | static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // from pixbuf |
45 | static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // from pixbuf |