haiku/headers
Ingo Weinhold a0747aad3b After the first call to BView::InvalidateLayout() further invocations don't
invoke the layout's InvalidateLayout() anymore. This could cause problems when
the layout caches layout related information and also updates those on calls
other than LayoutView(). A call to such a method after an InvalidateLayout()
would mark the cached info valid and the layout would use the cached info
until the first InvalidateLayout() after the next LayoutView(), even if
BView::InvalidateLayout() had been called again in the meantime.

* Introduced a new method BView::ResetLayoutInvalidation(), which must be
  called by layout implementations whenever they have updated their cached
  information and need further InvalidateLayout() notifications.
* Adjusted the existing layout implementations to use the method.

Fixes bug #4047.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-29 14:18:12 +00:00
..
build add spinlock initializer constant for BeOS 2009-02-09 19:06:44 +00:00
compatibility/bsd Added a strsep() to our BSD compatibility library. 2009-04-08 10:57:46 +00:00
cpp [the first commit of this fix was applied to the 32bit-wchar_t-branch instead 2009-06-26 21:54:46 +00:00
glibc Prevent redefinition of _IO_MTSAFE_IO. It is defined when building the 2008-03-22 15:26:55 +00:00
gnu adding gnu/termcap.h : is a copy of src/libs/termcap/termcap.h 2004-06-01 12:38:47 +00:00
legacy/network setsockopt and getsockopt use int as others functions 2006-06-23 14:19:11 +00:00
libs * Moved the mapm library from src/apps/deskcalc to src/libs and headers/libs. 2009-06-28 17:10:40 +00:00
os After the first call to BView::InvalidateLayout() further invocations don't 2009-06-29 14:18:12 +00:00
posix * Removed PI, and PI2 from math.h. 2009-06-26 11:58:43 +00:00
private * Moved the mapm library from src/apps/deskcalc to src/libs and headers/libs. 2009-06-28 17:10:40 +00:00
tools * fix gcc4 build of cppunit library by explicitly spelling out std:: in 2009-05-02 19:04:52 +00:00