… | |
… | |
45 | : cnt(1), w(w), h(h), ours(true) |
45 | : cnt(1), w(w), h(h), ours(true) |
46 | { |
46 | { |
47 | } |
47 | } |
48 | }; |
48 | }; |
49 | |
49 | |
50 | rxvt_screen *s; |
50 | rxvt_display *d; |
51 | Pixmap pm; |
51 | Pixmap pm; |
52 | pixref *ref; // shared refcnt |
52 | pixref *ref; // shared refcnt |
53 | int x, y, w, h, repeat; |
53 | int x, y, w, h, repeat; |
54 | XRenderPictFormat *format; |
54 | XRenderPictFormat *format; |
55 | |
55 | |
56 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal); |
56 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal); |
|
|
57 | rxvt_img (rxvt_display *display, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal); |
57 | rxvt_img (const rxvt_img &img); |
58 | rxvt_img (const rxvt_img &img); |
58 | void alloc (); |
59 | void alloc (); |
59 | |
60 | |
60 | # if HAVE_PIXBUF |
61 | # if HAVE_PIXBUF |
61 | static rxvt_img *new_from_pixbuf (rxvt_screen *s, GdkPixbuf *pb); // from pixbuf |
62 | static rxvt_img *new_from_pixbuf (rxvt_screen *s, GdkPixbuf *pb); // from pixbuf |