#7683: BWindow needs a LayoutChanged() hook method ----------------------------------+---------------------------- Reporter: yourpalal | Owner: yourpalal Type: enhancement | Status: new Priority: normal | Milestone: R1/beta1 Component: Kits/Interface Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: 5524 Has a Patch: 0 | Platform: All ----------------------------------+---------------------------- Comment (by yourpalal): Here's a link to the relevant thread on the ml: //www.freelists.org/post/haiku- commits/r42106-haikutrunksrcpreferencestime Looking at the source for BView, I think a good place to call this hook would be once the view, and all of its children have finished doing layout. This way, we are actually providing functionality beyond what you can get by overriding DoLayout(). I don't think this hook fits in BWindow, since it delegates drawing/layout to views and layouts; it doesn't do any of this work itself. We currently have 5 remaining BView virtual methods, so I see no problem with adding this method. If anyone disagrees, reply here, if nobody replies to the contrary soon, I'll implement this (should take about 2 seconds). -- Ticket URL: <http://dev.haiku-os.org/ticket/7683#comment:1> Haiku <http://dev.haiku-os.org> Haiku - the operating system.