>
> On 30.03.2010, at 20:31, Andreas wrote:
>
> >=20
> > return new fltk::MultiImage(*(fltk::SharedImage::get(str0.c_str())),
> > fltk::HIGHLIGHT, *(fltk::SharedImage::get(str1.c_str())),
> > fltk::PUSHED, *(fltk::SharedImage::get(str2.c_str())),
> > fltk::INACTIVE_R, *(fltk::SharedImage::get(str3.c_str())));
> > }
>
> Yes, the bug is in fltk/MultiImage.h:
>
> MultiImage(const Symbol& img0, Flags f1, const Symbol& img1, Flags f2, =
> const Symbol& img2, Flags f3, const Symbol& img3) {
> set(4, &img0, f1, &img1, f2, &img2, f3);=20
> }
>
> .... does not set the fourth image. Just add ", &img3" after f3.=20
>
> - Matthias=
>
Thank you very much Matthias!
I should have thought of looking in the header file myself.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk