> Thanks for the explanation. Another good reason not to use cout as a
> debugging tool (or at least an indication that I should understand its
> limitations beforehand)! 

Nothing wrong with using cout per se - I still use printf everywhere
myself! 
Only thing with the iostream stuff is it sometimes tries to "help" you
by doing what it thinks is appropriate for what you passed it... Not
always what you want. The printf just breaks, or won't even compile,
when you pass it rubbish, which is often easier to spot!

> The way that I'd interpreted FL_TOGGLE_TYPE
> was that the value would be inverted in the sense of sending 0 instead
> of 1 and vice versa.

No, it changes the behaviour of the button, so it toggles on/off on
subsequent presses, rather than a "normal" button which is on when you
hold it down and off when you release it.

Where did you get the incorrect interpretation? If there are weaknesses
in the docs, please post an STR outlining the clarification that is
required.
Thanks.

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