… | |
… | |
1879 | |
1879 | |
1880 | if (ix) |
1880 | if (ix) |
1881 | { |
1881 | { |
1882 | THIS->selection.screen = THIS->current_screen; |
1882 | THIS->selection.screen = THIS->current_screen; |
1883 | |
1883 | |
1884 | THIS->want_refresh = 1; |
1884 | THIS->selection_changed (); |
1885 | THIS->refresh_check (); |
1885 | THIS->refresh_check (); |
1886 | } |
1886 | } |
1887 | } |
1887 | } |
1888 | } |
1888 | } |
1889 | |
1889 | |
… | |
… | |
2203 | OUTPUT: |
2203 | OUTPUT: |
2204 | RETVAL |
2204 | RETVAL |
2205 | |
2205 | |
2206 | #endif |
2206 | #endif |
2207 | |
2207 | |
2208 | #if HAVE_BG_PIXMAP |
|
|
2209 | |
|
|
2210 | void |
2208 | void |
2211 | rxvt_term::set_background (rxvt_img *img, bool border = false) |
2209 | rxvt_term::set_background (rxvt_img *img, bool border = false) |
2212 | CODE: |
2210 | CODE: |
2213 | THIS->bg_destroy (); |
2211 | delete THIS->bg_img; |
2214 | THIS->bg_flags &= ~(rxvt_term::BG_NEEDS_REFRESH | rxvt_term::BG_INHIBIT_RENDER | rxvt_term::BG_IS_TRANSPARENT); |
2212 | THIS->bg_img = 0; |
|
|
2213 | THIS->bg_flags = 0; |
2215 | |
2214 | |
2216 | if (img) // TODO: cannot be false |
2215 | if (img) // TODO: cannot be false |
2217 | { |
2216 | { |
2218 | img = img->clone (); // own the img |
2217 | img = img->clone (); // own the img |
2219 | |
2218 | |
… | |
… | |
2234 | THIS->bg_flags |= rxvt_term::BG_NEEDS_REFRESH | rxvt_term::BG_INHIBIT_RENDER; |
2233 | THIS->bg_flags |= rxvt_term::BG_NEEDS_REFRESH | rxvt_term::BG_INHIBIT_RENDER; |
2235 | |
2234 | |
2236 | if (!border) |
2235 | if (!border) |
2237 | THIS->bg_flags |= rxvt_term::BG_IS_TRANSPARENT; |
2236 | THIS->bg_flags |= rxvt_term::BG_IS_TRANSPARENT; |
2238 | } |
2237 | } |
2239 | |
|
|
2240 | #endif |
|
|
2241 | |
2238 | |
2242 | #endif |
2239 | #endif |
2243 | |
2240 | |
2244 | ############################################################################# |
2241 | ############################################################################# |
2245 | # urxvt::overlay |
2242 | # urxvt::overlay |
… | |
… | |
2390 | INIT: |
2387 | INIT: |
2391 | rgba cc = parse_rgba (c, THIS->s); |
2388 | rgba cc = parse_rgba (c, THIS->s); |
2392 | C_ARGS: cc |
2389 | C_ARGS: cc |
2393 | |
2390 | |
2394 | rxvt_img * |
2391 | rxvt_img * |
|
|
2392 | rxvt_img::shade (rxvt_img::nv factor) |
|
|
2393 | |
|
|
2394 | rxvt_img * |
2395 | rxvt_img::filter (octet_string name, SV *params = &PL_sv_undef) |
2395 | rxvt_img::filter (octet_string name, SV *params = &PL_sv_undef) |
2396 | CODE: |
2396 | CODE: |
2397 | rxvt_img::nv *vparams = 0; |
2397 | rxvt_img::nv *vparams = 0; |
2398 | int nparams = 0; |
2398 | int nparams = 0; |
2399 | |
2399 | |