[openbeos] Re: windows & workspaces

  • From: Ben Hengst <hengst.1@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 05 Aug 2002 06:59:55 -0400

<snip>
just to chime in on this i use diffrent resolutions in diffrent workspaces for web deveopment reasons. it's super nice to just 'alt+2' so see the page in 800x600 ect... because of this though i do have net+ or mozilla maximised so it's not that much on an issue what's going on in the backround.


but if i do have something in the back (BeAIM comes to mind) i would love to have it scale or we should pick a schem that will allow it to be places logicly if that window were to appear in all workspaces. i think that you could just take the cord of the upper-left of the window, attempt to place that window there in all workspaces if that is an issue (like the window will not be seen as the resolution is so small) then just shift it over untill the entire winow fits. this should also scale the window to fit the screen if it's dementions are too large.

        Example:
        window_size(100px wide, 200px tall)
        window_location(@1600x1200, upper-left cord of window=1500,0 
[upper-right])
        window_location(@800x600, upper-left cord of window=700,0 [upper-right])

        window_size(100px wide, 200px tall)
        window_location(@1600x1200, upper-left cord of window=750,500 
[dead-center])
        window_location(@800x600, upper-left cord of window=700,400 
[lower-right])

window_size(1000px wide, 1200px tall)
window_location(@1600x1200, upper-left cord of window=0,0 [upper-left])
window_location(@800x600, upper-left cord of window=0,0 [upper-left], new dementions are now 800x600)



lastly is there a way that a window can 'alias' it;s self to another window. so that there is realy one window that is 'mirrored' that way you dont have to worry about keeping state (even though i realy like the idea that i can pick up right where i left off) because all changes are made in one place and then broadcast to each workspace that is in scope.


~ben


Other related posts: