> My proposal for such an inner_box() method is:
> 
> virtual Fl_Widget::inner_box(int X, int Y, int W, int H);
> 
> It should be virtual, so that a widget with a custom draw
> method can override the default method to provide its own
> correct inner_box() values. The default implementation would
> be as proposed above.
> 
> Maybe there could be an additional optional argument (flag)
> to return the inside area of the scrollbars instead:
> 
> virtual Fl_Widget::inner_box(int X, int Y, int W, int H, int 
> scroll=0);
> 
> Fl_Scroll would then implement this method to account for the
> scrollbars, if scroll=1.

Like the sound of that. +1



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-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to