|
From: Jeroen v. d. Z. <jv...@cf...> - 2001-12-14 18:29:00
|
On Friday 14 December 2001 11:30, you wrote:
> Jeroen van der Zijp wrote:
> > > (Anyway for now.. I'm going to put 2 labels on top if each other and
> > > use raise() to bring to the top which ever I want to show... I only
> > > hope this doesn't have the same side effect)
> >
> > To verify things, you could enable tracing. FXWindow::position() prints
> > out the new size. If the size is the same as before and there are no
> > other reasons for layout then it should not call layout again.
>
> Okay... I'll try this and get back to you...
>
> > Does your layout() routine reset the dirty flag at the end, as below:
> >
> > void MyWidget::layout(){
> > ....
> > flags&=~FLAG_DIRTY;
> > }
> >
> > If it is not marked as "clean" then layout will be called again and
> > again.
> >
> > The flag is to force layout under certain conditions even when size
> > has not changed.
>
> Wouldn't the base class's layout method turn off the dirty flag, I am
> calling it...
That's OK.
- Jeroen
--
+-------------------------------+--------------------------------------------+
| E-Mail : jv...@cf... | The FOX Platform Independent GUI Toolkit: |
| USMail : 215 Wynn Drive, | |
| Huntsville, AL 35805 | Official Site: |
| Phone : (256) 726-4820 | http://www.fox-toolkit.org |
| Fax : (256) 726-4806 | ftp://ftp.fox-toolkit.org/pub |
| WWW : http://www.cfdrc.com | |
+-------------------------------+--------------------------------------------+
| Copyright (C) 15:10 10/10/2001 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
|