> And to add a third option: Derive your own class with a 
> draw() method, and in 
> draw():
> 
>   - save FL_BACKGROUND2_COLOR
>   - set it to what you like (maybe dependent on active_r())
>   - call Fl_*_Button::draw()
>   - restore FL_BACKGROUND2_COLOR

Yes, that is what I really wanted to do, but FL_BACKGROUND2_COLOR is an
enum, so I didn't think we could set it to a different value?



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