| 312 | } |
| 313 | |
| 314 | void Fl_Widget::image(Fl_Image* img) { |
| 315 | if (image_bound()) { |
| 316 | if (label_.image && (label_.image != img)) { |
| 317 | label_.image->release(); |
| 318 | } |
| 319 | bind_image(0); |
| 320 | } |
| 321 | label_.image = img; |
| 322 | } |
| 323 | |
| 324 | void Fl_Widget::image(Fl_Image& img) { |
| 325 | image(&img); |
no test coverage detected