… | … | ||
---|---|---|---|
10 | 10 | ||
11 | rxvt_img::rxvt_img (rxvt_screen *screen, GdkPixbuf *pixbuf, | 11 | rxvt_img::rxvt_img (rxvt_screen *screen, GdkPixbuf *pixbuf, |
12 | int x, int y, int width, int height) | 12 | int x, int y, int width, int height) |
13 | : s(screen), w(width), h(height) | 13 | : s(screen), w(width), h(height) |
14 | { | 14 | { |
15 | argb = gdk_pixbuf_get_has_alpha (pixbuf); | ||
16 | depth = gdk_pixbuf_get_bits_per_sample (pixbuf); | ||
17 | } | 15 | } |
18 | 16 | ||
19 | rxvt_img::~rxvt_img () | 17 | rxvt_img::~rxvt_img () |
20 | { | 18 | { |
21 | if (pm) | 19 | if (pm) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |