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
The Anarcat <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.libh |
|---|---|
| Message-ID | <[email protected]> |
On Sun Jun 02, 2002 at 02:15:31PM -0700, Max Okumoto wrote:
>
> 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.
These kind of informations are precious to the project, and should be
recorded in the CVS history.
> 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()); }
> };
But why does this *require* removing the whole minSize() functions?
Couldn't these functions be used at some point?
A.
> 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.
--
Imagination is more important than knowledge
- Albert Einstein
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+qZlttcWHAnWiGcRAvM8AJ4lpCFwcnguWUZljUjVjf5LvzFiLwCeKjwn naBcb3692tX74NyPdgt7qck= =gzp+ -----END PGP SIGNATURE-----