Re: cvs commit: libh/include/hui HuiTVObjects.hh libh/lib/hui HuiTVision_ButtonsGroupWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_InputLineWidget.cc HuiTVision_LabelWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_ProgressIndicatorWidget.cc HuiTVision_RadioMenuWidget.cc

Max Okumoto <[email protected]>
Newsgroups gmane.os.freebsd.devel.libh
Message-ID <[email protected]>
I am trying to find bugs in the widget layout code.  The only
time these functions are called is from the constructors.
No other objects call minSize() or maxSize(), nor can you call
them from tcl.

In all cases the results are directly feed into resize() in the
constructor.  But in most cases, the widget constructor already
sizes the object to the correct size... so its redundent to
resize it again.  The constructors that require resize need to be
fixed.

FooWidget {
	/** Constructor. */
	FooWidget() { resize(minSize()); }
};




The Anarcat <[email protected]> writes:
> On Sat Jun 01, 2002 at 02:49:15AM -0500, Max Okumoto wrote:
> >
> >   Removed minSize() from all the HuiTVision objects.
> 
> Why is this necessary?
> 
> A.

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-libh" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.