Hi, > Well but today I noticed that the methode fltk::SharedImages::update() > doesn`t exist anymore ... > I have to call fltk::SharedImage::measure(int &w, &h) like this:
Yes, the Image api was changed. The details you can digg up from devel newsgroup :) > this->Image_normal = fltk::pngImage::get(_normal); > // after this call this->Image_normal->width() and ...->height == 12 > // it doesn`t mater of which size the png-images are ... > int ___w = 0, ___h = 0; > this->Image_normal->measure(___w,___h); > // the size of the image is correct now Yes, as you can see from fltk/Image.h, the image is constructed with 12x12 size as default. Bill changed to this and is unknown to me why :) > Or did I sth wrong? You did everything fine :) To get a real sizes, you will have to call a measure(). Hoping this drastic api changes will not occur any more. -- Sanel _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

