On 26.08.2011 17:09, Bernhard wrote: > One draws: > > fl_draw_box(FL_UP_FRAME, x, y, w, h, color); > > some time later I want to determine the width of the frame to draw into > the inner box, like so: > > fw = ???(); // this function, I can't find > image->draw(x+fw, y+fw, w-2*fw, h-2*fw);
Fl::box_dx(), Fl::box_dy(), Fl::box_dw(), Fl::box_dh(). <http://www.fltk.org/doc-1.3/classFl.html#a2971f20fe3595fd8f77fe73d4eb89594> Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

