[bt-devel] AutoTile and Autocascade

Thomas J. Philpot bt-devel@crosswire.org
Fri, 25 Feb 2000 13:46:02 -0600


--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

On Thu, 24 Feb 2000, you wrote:
> I noticed a few things that I consider unintuative about BT's tile and cascade
> functionality.
> 
> 1)  When I click Auto Tile, the windows don't automatically tile
> 2) Same for Auto Cascade
> 3) If I have Auto-Whatever checked, resize events don't re tile or cascade the
> windows
> 
> I think all of these things should be implemented.  In fact, I played with it
> and got them working in about 5 minutes.  I've got the code to cmdiarea.cpp
> done, if you guys would like me to submit it.  I just need some CVS access.  Or
> you can just manually add the requiste 5-10 lines of code.

Well, I was thinking, I really don't need CVS access.  I'll just send you the
patch.  Check it out, see what you think.  I probably won't be contributing
much code in the next few months, so I don't need write access yet.  God
willing, one day I'll have time for it ;)

Here's the patch file for cmdiarea.cpp with the autotile and autocascade stuff
updated and the resizeEvent code set to update the windows if necessary.



> 
> Tom
--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/plain;
  name="cmdipatch"
Content-Transfer-Encoding: base64
Content-Description: Patch for auto window layout
Content-Disposition: attachment; filename="cmdipatch"

MTU1YzE1NQo8IAkJCSAgdGlsZSgpOwotLS0KPiAJCQkJdGlsZSgpOwoxNzhhMTc5LDE4MAo+IAkK
PiAJdGlsZSgpOwoxOTRhMTk3LDE5OAo+IAkKPiAJY2FzY2FkZSgpOwoxOThhMjAzLDIxMgo+IAkK
PiAJc3dpdGNoIChmaXhlZEdVSU9wdGlvbikgewo+IAkJY2FzZSBUaWxlOgo+IAkJCXRpbGUoKTsK
PiAJCQlicmVhazsKPiAJCWNhc2UgQ2FzY2FkZToKPiAJCQljYXNjYWRlKCk7Cj4gCQkJYnJlYWs7
Cj4gCX0KPiAJCg==

--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD--