… | |
… | |
16 | int w, h; |
16 | int w, h; |
17 | XRenderPictFormat *format; |
17 | XRenderPictFormat *format; |
18 | |
18 | |
19 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height); |
19 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height); |
20 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); |
20 | rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); |
|
|
21 | rxvt_img (rxvt_screen *screen); // get root pixmap |
|
|
22 | rxvt_img (const char *filename); // from pixbuf |
|
|
23 | |
21 | ~rxvt_img (); |
24 | ~rxvt_img (); |
22 | |
25 | |
23 | Pixmap steal () |
26 | Pixmap steal () |
24 | { |
27 | { |
25 | Pixmap res = pm; |
28 | Pixmap res = pm; |