Albrecht Schlosser wrote:
> Greg Ercolano wrote:
>> By default this returns the value of the global Fl::scrollbar_size()
>> unless this widget's scrollbar_size(int) has been changed.
>
> IMHO we shouldn't do this. The get method should return what the
> set method sets. Otherwise you can't know if the value is
> the global value or a modified local value. E.g. the get method
> would never return -1 (or 0, see below). And the get method
> can't be inlined.
Mmm, OK.
> Also, I feel that the "special value" that uses the global scrollbar size
> would better be 0 instead of -1.
Can do.
> To Mike's concerns: As long as we don't force the user to use different
> scrollbar sizes, and the default is to use the global value everywhere,
> I think that we _can_ leave the choice to the user (developer) and
> implement a per-widget scrollbar size. And we document that it
> should not be used for normal UI design.
Right.
Making above adjustments now..
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev