Albrecht Schlosser wrote:
> matthiasm wrote:
>> Or in short: please do *not* make draw() public.
> 
> That's a good rationale, and I do fully understand your reasoning. But
> then we should IMHO be consistent and make *ALL* draw methods protected
> (excluding Fl_Widget::draw(), of course).

Yes - I thought it is that way.
Obviously exception are non-widget animals like images etc.

There are also some public members in some classes - especially in
images - which might be worth to consider to make them protected or
private if it does not break too many things and do not involve too much
messing with friends - when too many, they are not very friendly and
they tend to spread out the private matters anyway.

R.



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

Reply via email to