[haiku-appserver] Re: Refactoring

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Mon, 27 Jun 2005 15:13:03 +0200 CEST

"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
> What you have described is pretty close to what is currently in place 
> AFAICT. While it's been quite a long time since I played around with 

No, it's not, that's why I wrote all that stuff :-)
It might be close to what the classes were thought to do initially, but 
it's not what the code does. For example, RootLayer does almost 
everything right now.

> the window management code, unless I remember wrong, RootLayer is the 
> root layer for all layers and there is a 1-to-1 relationship of 
> RootLayers to users. Workspace is a lightweight class that just 
> manages 
> settings like color depth and resolution and boils down to a list of 
> windows that it displays. This makes it possible to implement 
> B_ALL_WORKSPACES, for example.

Sure, Workspace is already pretty close to what I had in mind (just 
some details are wrong).


Other related posts: