For what it is worth, when I tried something vaguely similar, I just
created one big widget, derived from Fl_Box, and drew the button
patterns on that...

Then, in the handle method I caught the mouse clicks and worked out "by
hand" which "virtual" button that mapped to.

Wasn't very clever, but it did work, and meant I could have very
arbitrary shaped "button" regions...



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