[haiku-development] Re: User interface project

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 11 Mar 2008 22:25:40 +0100 CET

Christof Lutteroth <lutteroth@xxxxxxxxxxxxxxxxx> wrote:
 ... 
> 1. Stacking:
 ... 
> 2. Snapping:
 ...

Depending on exactly how polished you want things, you could come very 
far without touching app_server code, using the regular BeOS API to 
track applications, windows and their properties, by scripting, (BTW, 
feature-request: BWindowRoster::StartWatching().. :-) using an 
input_server add-on to track mouse interaction and to enforce border 
gravity. 

One might need to add a means to ask the app_server for window tab 
sizes (but screenshots could hack it) and for setting tab location. But 
even without such app_server support, one could create fake window tabs 
and borders, implemented using borderless windows, and have these move 
their contained window (which have had their tabs hidden by scripting). 
That way you could implement stacking (dropping window tabs on each 
other and have the tabs autoarrange) without support from the 
app_server.

/Jonas.


Other related posts: