> > What I had envisaged (but have not tried) was deriving my own struct
> > from struct Fl_Menu_Item {...} and in that, over-riding the draw()
> > method to do what I wanted.
> >
> 
> There's no draw() method to over-ride.  Apparently something
> else does the drawing, unlike the usual fltk stuff.


Oh - I was looking at Fl_Menu_Item.H, at or near line 116, where there's
a method defined:

  void draw(int x, int y, int w, int h, const Fl_Menu_*, int t=0) const;

Although I confess I have no idea what that actually does...

That said, I see you have since cracked it, so that's moot anyway.

Sounds like a result.

Cheers,
-- 
Ian



SELEX Sensors and Airborne Systems Limited
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.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to