MacArthur, Ian (SELEX GALILEO, UK) wrote: > >> I did not have much time to analyse it or investigate what is the problem, >> but >> it seems like there is problem with Fl_Pixmap or the underlying driver >> (X11). > > Just tried it - his code is bollocks; rewritten properly it works fine. > > Whether fltk should allow him to write bollocks code in this fashion is > another questions, of course... > > Why is Fl_Pixmap's draw() method public rather than protected, again? > > > > > > > SELEX Galileo Ltd > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 > 3EL > A company registered in England & Wales. Company no. 02426132 > ******************************************************************** > This email and any attachments are confidential to the intended > recipient and may also be privileged. If you are not the intended > recipient please delete it from your system and notify the sender. > You should not copy it or use it for any purpose nor disclose or > distribute its contents to any other person. > ********************************************************************
He actually edited his code meanwhile, it was only two lines of C++ code there... Anyway, I agree that draw() should be protected. -- Dejan Lekic - http://dejan.lekic.org _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk